Zum Inhalt
HALOWERK

Datenvertragswerk

minimal chordal completion inventory

From a supplied simple undirected graph on 1..5 labelled vertices synthesize every inclusion-minimal set of missing edges that removes all induced cycles of length at least four. Return the complete sorted numeric fill-mask inventory over lexicographic missing-edge order, its count, the distinct minimum-cardinality subinventory, and all added edges plus lexicographically least perfect elimination order for the first mask. Minimal means no proper subset is a chordal completion, not merely a.

POST https://datenvertrag.halowerk.com/v1/minimal-chordal-completion-inventory

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
verticesintegerJa
edgesSiehe SchemaJa
claimed_minimal_countSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "vertices",
    "edges",
    "claimed_minimal_count"
  ],
  "properties": {
    "vertices": {
      "type": "integer",
      "minimum": 1,
      "maximum": 5
    },
    "edges": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 10,
          "items": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "u",
              "v"
            ],
            "properties": {
              "u": {
                "type": "integer",
                "minimum": 0,
                "maximum": 4
              },
              "v": {
                "type": "integer",
                "minimum": 0,
                "maximum": 4
              }
            }
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "claimed_minimal_count": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 1024
        },
        {
          "type": "null"
        }
      ]
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "vertices": 4,
  "edges": [
    {
      "u": 0,
      "v": 1
    },
    {
      "u": 1,
      "v": 2
    },
    {
      "u": 2,
      "v": 3
    },
    {
      "u": 0,
      "v": 3
    }
  ],
  "claimed_minimal_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 →