Zum Inhalt
HALOWERK

Datenvertragswerk

minimum poset chain partition family

For one FULLY CAPTURED original labelled DAG n0..4 on0..n-1, reconstruct EVERY MINIMUM-CARDINALITY PARTITION of its vertices into disjoint CHAINS of the transitive precedence order. edge_mask bitk encodes orderedpair(u,v),u!=v,in increasingu thenincreasingv. Close precedence transitively; direct redundantedges do not change output. closure_rows[u] bitv means STRICT u<v reachability, no diagonal. Every vertex occurs in exactlyONE nonempty chain; any two vertices in a chain must be comparable.

POST https://datenvertrag.halowerk.com/v1/minimum-poset-chain-partition-family

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
nSiehe SchemaJa
edge_maskSiehe SchemaJa
claimSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "n": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 4
        },
        {
          "type": "null"
        }
      ]
    },
    "edge_mask": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 4095
        },
        {
          "type": "null"
        }
      ]
    },
    "claim": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "closure_rows": {
              "type": "array",
              "items": {
                "type": "integer",
                "minimum": 0,
                "maximum": 15
              },
              "minItems": 0,
              "maxItems": 4
            },
            "minimum_chain_count": {
              "type": "integer",
              "minimum": 0,
              "maximum": 4
            },
            "covers": {
              "type": "array",
              "items": {
                "type": "array",
                "items": {
                  "type": "array",
                  "items": {
                    "type": "integer",
                    "minimum": 0,
                    "maximum": 3
                  },
                  "minItems": 1,
                  "maxItems": 4
                },
                "minItems": 0,
                "maxItems": 4
              },
              "minItems": 0,
              "maxItems": 32
            },
            "count": {
              "type": "integer",
              "minimum": 0,
              "maximum": 32
            }
          },
          "required": [
            "closure_rows",
            "minimum_chain_count",
            "covers",
            "count"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "n",
    "edge_mask",
    "claim"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "n": 0,
  "edge_mask": 0,
  "claim": {
    "closure_rows": [],
    "minimum_chain_count": 0,
    "covers": [
      []
    ],
    "count": 1
  }
}

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 →