Zum Inhalt
HALOWERK

Datenvertragswerk

prefix function source word family

Given a whole prefix_table of length0..6 with integer0<=prefix_table[i]<=i, reconstruct EVERY word over the FIXED labelled alphabet0,1,2 whose prefix function equals that vector exactly. Entryi is the MAXIMUM length k<i+1 for which the firstk symbols equal the lastk symbols of prefix endingati. Empty match length0 allowed. Return every whole word as a digitstring in lexicographic order, count and realizable. No alphabet-renaming/reversal quotient: every original spelling retained..

POST https://datenvertrag.halowerk.com/v1/prefix-function-source-word-family

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
prefix_tableSiehe SchemaJa
claimSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "prefix_table": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 5
          },
          "minItems": 0,
          "maxItems": 6
        },
        {
          "type": "null"
        }
      ]
    },
    "claim": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "words": {
              "type": "array",
              "items": {
                "type": "string",
                "minLength": 0,
                "maxLength": 6,
                "pattern": "^[012]*$"
              },
              "minItems": 0,
              "maxItems": 96
            },
            "count": {
              "type": "integer",
              "minimum": 0,
              "maximum": 96
            },
            "realizable": {
              "type": "boolean"
            }
          },
          "required": [
            "words",
            "count",
            "realizable"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "prefix_table",
    "claim"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "prefix_table": [],
  "claim": {
    "words": [
      ""
    ],
    "count": 1,
    "realizable": true
  }
}

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 →