Zum Inhalt
HALOWERK

Datenvertragswerk

graph burning optimal sequence inventory

For an original simple undirected labelled graph on0..6vertices, return its minimum number of burning rounds and ALLoptimal ordered sourcevertex sequences in numeric lexicographic order. Eachround chooses one vertex unburned at START of round, while vertices burned in preceding rounds spread to neighbors; the justselected source does not spread until next round. Originaledges require0<=u<v<n,no duplicates. Emptygraph convention number0 andoneemptysequence. Disconnectedgraphs accepted..

POST https://datenvertrag.halowerk.com/v1/graph-burning-optimal-sequence-inventory

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
graphSiehe SchemaJa
claimed_sequencesSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "graph",
    "claimed_sequences"
  ],
  "properties": {
    "graph": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "vertices",
            "edges"
          ],
          "properties": {
            "vertices": {
              "type": "integer",
              "minimum": 0,
              "maximum": 6
            },
            "edges": {
              "type": "array",
              "maxItems": 15,
              "items": {
                "type": "array",
                "minItems": 2,
                "maxItems": 2,
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 5
                }
              }
            }
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "claimed_sequences": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 720,
          "items": {
            "type": "array",
            "maxItems": 6,
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 5
            }
          }
        },
        {
          "type": "null"
        }
      ]
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

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