Zum Inhalt
HALOWERK

Datenvertragswerk

strong orientation family

For a fully captured simple undirected graph on1..4 original labels0..n-1, construct ALL orientations in which every vertex can reach every other by directed paths. Return lexicographically sorted edge_order(u<v), ascending orientation_masks, count and aligned complete outdegree vectors. Bit i0 orients edge_order[i] from u to v; bit1 reverses it. Input edge order is irrelevant, duplicatepairs/reversed endpoints invalid. A singleton has one empty orientation mask0/outdegrees[0]; disconnected.

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

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
nSiehe SchemaJa
edgesSiehe SchemaJa
claimSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "n": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1,
          "maximum": 4
        },
        {
          "type": "null"
        }
      ]
    },
    "edges": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 3
            },
            "minItems": 2,
            "maxItems": 2
          },
          "minItems": 0,
          "maxItems": 6
        },
        {
          "type": "null"
        }
      ]
    },
    "claim": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "edge_order": {
              "type": "array",
              "items": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 3
                },
                "minItems": 2,
                "maxItems": 2
              },
              "minItems": 0,
              "maxItems": 6
            },
            "orientation_masks": {
              "type": "array",
              "items": {
                "type": "integer",
                "minimum": 0,
                "maximum": 63
              },
              "minItems": 0,
              "maxItems": 64
            },
            "count": {
              "type": "integer",
              "minimum": 0,
              "maximum": 64
            },
            "outdegrees": {
              "type": "array",
              "items": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 3
                },
                "minItems": 1,
                "maxItems": 4
              },
              "minItems": 0,
              "maxItems": 64
            }
          },
          "required": [
            "edge_order",
            "orientation_masks",
            "count",
            "outdegrees"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "n",
    "edges",
    "claim"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "n": 1,
  "edges": [],
  "claim": {
    "edge_order": [],
    "orientation_masks": [
      0
    ],
    "count": 1,
    "outdegrees": [
      [
        0
      ]
    ]
  }
}

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 →