Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

api / api grammar cyk cardinality

An agent that imports a grammar-generated artifact needs zero, one or multiple derivations measured for one supplied terminal sequence.

POST https://detect.halowerk.com/v1/api/api-grammar-cyk-cardinality

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "nonterminals": {
          "type": "integer",
          "minimum": 1,
          "maximum": 32
        },
        "start": {
          "type": "integer",
          "minimum": 0,
          "maximum": 31
        },
        "unary": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "head": {
                "type": "integer",
                "minimum": 0,
                "maximum": 31
              },
              "terminal": {
                "type": "integer",
                "minimum": 0,
                "maximum": 63
              }
            },
            "required": [
              "head",
              "terminal"
            ],
            "additionalProperties": false
          },
          "maxItems": 128,
          "minItems": 0
        },
        "binary": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "head": {
                "type": "integer",
                "minimum": 0,
                "maximum": 31
              },
              "left": {
                "type": "integer",
                "minimum": 0,
                "maximum": 31
              },
              "right": {
                "type": "integer",
                "minimum": 0,
                "maximum": 31
              }
            },
            "required": [
              "head",
              "left",
              "right"
            ],
            "additionalProperties": false
          },
          "maxItems": 128,
          "minItems": 0
        },
        "word": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 63
          },
          "maxItems": 48,
          "minItems": 1
        },
        "claimed_unique": {
          "type": "boolean"
        }
      },
      "required": [
        "nonterminals",
        "start",
        "unary",
        "binary",
        "word",
        "claimed_unique"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "nonterminals": 1,
    "start": 0,
    "unary": [
      {
        "head": 0,
        "terminal": 0
      }
    ],
    "binary": [],
    "word": [
      0
    ],
    "claimed_unique": true
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →