Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

workflow / workflow regular trace edit distance

An agent that repairs a finite event trace against a regular contract needs its claimed minimum insertion deletion and substitution cost checked over every accepted trace.

POST https://detect.halowerk.com/v1/workflow/workflow-regular-trace-edit-distance

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "states": {
          "type": "integer",
          "minimum": 1,
          "maximum": 32
        },
        "alphabet": {
          "type": "integer",
          "minimum": 1,
          "maximum": 8
        },
        "initial": {
          "type": "integer",
          "minimum": 0,
          "maximum": 31
        },
        "finals": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 31
          },
          "minItems": 0,
          "maxItems": 32
        },
        "transitions": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "from": {
                "type": "integer",
                "minimum": 0,
                "maximum": 31
              },
              "to": {
                "type": "integer",
                "minimum": 0,
                "maximum": 31
              },
              "symbol": {
                "type": "integer",
                "minimum": 0,
                "maximum": 7
              }
            },
            "required": [
              "from",
              "to",
              "symbol"
            ],
            "additionalProperties": false
          },
          "minItems": 0,
          "maxItems": 256
        },
        "trace": {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 7
          },
          "minItems": 0,
          "maxItems": 128
        },
        "claimed_cost": {
          "type": "integer",
          "minimum": -1,
          "maximum": 160
        }
      },
      "required": [
        "states",
        "alphabet",
        "initial",
        "finals",
        "transitions",
        "trace",
        "claimed_cost"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "states": 2,
    "alphabet": 2,
    "initial": 1,
    "finals": [
      0,
      1
    ],
    "transitions": [
      {
        "from": 0,
        "to": 1,
        "symbol": 0
      },
      {
        "from": 0,
        "to": 1,
        "symbol": 1
      }
    ],
    "trace": [
      0,
      1,
      1
    ],
    "claimed_cost": 3
  }
}

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 →