Zum Inhalt
HALOWERK

Datenvertragswerk

edge labelled line graph root inventory

Input1..5linevertices label the edges of unknownsimpleundirected rootgraph. Return ALLinverse roots modulo rootvertexrenaming, noisolatedinvisiblerootvertices; canonicalrootnodes are lexsorted incidenceblocks. Rootlist nestedlexsorted; wholeedge-labelled roots retained, includingtriangle/claw-rootambiguity and nonexistentroots. Claimcomparesrootcountonly. Nulladjacencies/claim unknown. Fixed.003USDC alsovalidunknown; no externalgraphclaim.

POST https://datenvertrag.halowerk.com/v1/edge-labelled-line-graph-root-inventory

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
line_verticesintegerJa
adjacenciesSiehe SchemaJa
claimed_root_countSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "line_vertices",
    "adjacencies",
    "claimed_root_count"
  ],
  "properties": {
    "line_vertices": {
      "type": "integer",
      "minimum": 1,
      "maximum": 5
    },
    "adjacencies": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 10,
          "items": {
            "type": "array",
            "minItems": 2,
            "maxItems": 2,
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4
            }
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "claimed_root_count": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 16
        },
        {
          "type": "null"
        }
      ]
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "line_vertices": 3,
  "adjacencies": [
    [
      0,
      1
    ],
    [
      0,
      2
    ],
    [
      1,
      2
    ]
  ],
  "claimed_root_count": 2
}

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 →