Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

workflow / workflow directed arborescence optimum

An agent that wires a rooted artifact replication plan needs its claimed minimum directed arborescence cost checked while every worker receives one incoming handover and remains reachable from the root.

POST https://detect.halowerk.com/v1/workflow/workflow-directed-arborescence-optimum

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "nodes": {
          "type": "integer",
          "minimum": 1,
          "maximum": 32
        },
        "root": {
          "type": "integer",
          "minimum": 0,
          "maximum": 31
        },
        "edges": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "from": {
                "type": "integer",
                "minimum": 0,
                "maximum": 63
              },
              "to": {
                "type": "integer",
                "minimum": 0,
                "maximum": 63
              },
              "cost": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1000000
              }
            },
            "required": [
              "from",
              "to",
              "cost"
            ],
            "additionalProperties": false
          },
          "minItems": 0,
          "maxItems": 256
        },
        "claimed_cost": {
          "type": "integer",
          "minimum": -1,
          "maximum": 32000000
        }
      },
      "required": [
        "nodes",
        "root",
        "edges",
        "claimed_cost"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "nodes": 3,
    "root": 0,
    "edges": [
      {
        "from": 0,
        "to": 1,
        "cost": 5
      },
      {
        "from": 0,
        "to": 2,
        "cost": 8
      },
      {
        "from": 1,
        "to": 2,
        "cost": 6
      },
      {
        "from": 2,
        "to": 0,
        "cost": 4
      },
      {
        "from": 2,
        "to": 1,
        "cost": 1
      }
    ],
    "claimed_cost": 9
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →