Zum Inhalt
HALOWERK

Datenvertragswerk

prescribed outdegree orientation inventory

For a fully captured labelled simple undirected graph on0..n-1,n0..4, and supplied exact outgoing-degree demands b_i in0..n-1, reconstruct ALLedge orientations meeting every demand. Zero bit on canonical edge(u<v) directs u to v; one bit reverses it. Return ascending direction masks, full edge-bit order, first complete directed arc witness and original degree vector. Edge list order is irrelevant; labels retained. Valid impossible demand, including incorrect sum or demand>degree, gives.

POST https://datenvertrag.halowerk.com/v1/prescribed-outdegree-orientation-inventory

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
sizeSiehe SchemaJa
edgesSiehe SchemaJa
outdegreesSiehe SchemaJa
claimSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "size",
    "edges",
    "outdegrees",
    "claim"
  ],
  "properties": {
    "size": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 4
        },
        {
          "type": "null"
        }
      ]
    },
    "edges": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 6,
          "items": {
            "type": "array",
            "maxItems": 2,
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 3
            },
            "minItems": 2
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "outdegrees": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 4,
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 3
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "claim": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 64,
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 63
          }
        },
        {
          "type": "null"
        }
      ]
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "size": 3,
  "edges": [
    [
      0,
      1
    ],
    [
      0,
      2
    ],
    [
      1,
      2
    ]
  ],
  "outdegrees": [
    1,
    1,
    1
  ],
  "claim": [
    2,
    5
  ]
}

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 →