Skip to content
HALOWERK

Datenvertragswerk

contingency fiber markov components

For 2..3 rows and 2..3 columns with nonnegative integer margins of equal total 0..4, enumerates every integer table in lexicographic row-major order and joins tables i<j iff their difference equals one of 0..6 supplied moves (entries -2..2) or its negative. Returns all sorted edges, all components, and exact row/column move sums with preservation flags. Connectivity concerns only the supplied fiber, not whether the moves are a Markov basis for every margin.

POST https://datenvertrag.halowerk.com/v1/contingency-fiber-markov-components

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
marginsSee schemaYes
movesSee schemaYes
claimSee schemaYes
Show full input schema
{
  "type": "object",
  "properties": {
    "margins": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "rows": {
              "type": "array",
              "items": {
                "type": "integer",
                "minimum": 0,
                "maximum": 4
              },
              "minItems": 2,
              "maxItems": 3
            },
            "cols": {
              "type": "array",
              "items": {
                "type": "integer",
                "minimum": 0,
                "maximum": 4
              },
              "minItems": 2,
              "maxItems": 3
            }
          },
          "required": [
            "rows",
            "cols"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "moves": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": -2,
              "maximum": 2
            },
            "minItems": 4,
            "maxItems": 9
          },
          "minItems": 0,
          "maxItems": 6
        },
        {
          "type": "null"
        }
      ]
    },
    "claim": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 6
            },
            "minItems": 1,
            "maxItems": 7
          },
          "minItems": 1,
          "maxItems": 7
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "margins",
    "moves",
    "claim"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "margins": {
    "rows": [
      1,
      1
    ],
    "cols": [
      1,
      1
    ]
  },
  "moves": [],
  "claim": [
    [
      0
    ],
    [
      1
    ]
  ]
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’