Zum Inhalt
HALOWERK

Datenvertragswerk

labelled graph square root inventory

For a fully captured simple undirected graph G on labelledvertices0..n-1,n0..5, synthesize ALLsimple H onexactlysamelabels suchthat G joins distinctu,v iff their Hshortestpathdistance is1or2. Return ascending fullrootedgemasks,count,canonicalbitindexedgeorder andallfirstrootedges. No isomorphism quotient; isolatedlabelsretained. Edgepairsu<vunique,listorderirrelevant. Validnonsquare G givesknownemptyfamily/nullfirstroot; emptygraph hasoneemptyrootmask0. Compare wholeorderedmaskclaim;.

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

Eingaben

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

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

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

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 →