Zum Inhalt
HALOWERK

Datenvertragswerk

rooted acyclic orientation family

Given one original simple undirected graph on1..5fixedlabels0..n-1 and a specified root, derive ALL acyclic orientations whose ONLY sink is that root. A sink has outdegree0; no extra unique-source requirement and no every-face hypercube USO condition. Return canonical undirectededges sorted(min,max), ascending directionmasks, every whole directededgefamily in canonicaledge order, and lexicographically smallest topologicalvertexorder for each orientation. Bitk0 means lower-to-higher on.

POST https://datenvertrag.halowerk.com/v1/rooted-acyclic-orientation-family

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
graphSiehe SchemaJa
rootSiehe SchemaJa
claimed_masksSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "graph",
    "root",
    "claimed_masks"
  ],
  "properties": {
    "graph": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "n",
            "edges"
          ],
          "properties": {
            "n": {
              "type": "integer",
              "minimum": 1,
              "maximum": 5
            },
            "edges": {
              "type": "array",
              "maxItems": 10,
              "items": {
                "type": "array",
                "maxItems": 2,
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 4
                },
                "minItems": 2
              }
            }
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "root": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 4
        },
        {
          "type": "null"
        }
      ]
    },
    "claimed_masks": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 24,
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1023
          }
        },
        {
          "type": "null"
        }
      ]
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "graph": {
    "n": 3,
    "edges": [
      [
        0,
        1
      ],
      [
        0,
        2
      ],
      [
        1,
        2
      ]
    ]
  },
  "root": 2,
  "claimed_masks": [
    0,
    1
  ]
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-07, 02:42 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →