Skip to content
HALOWERK

Datenvertragswerk

pfaffian orientation family

For one labelled simple undirected graph on vertices 0..n-1 (n 0..5), given as edge_mask over lexicographic pairs (u,v), u<v, generates every Pfaffian edge orientation: all perfect-matching terms of the skew adjacency Pfaffian have the same sign. Returns the ascending orientation_masks (one bit per present edge in lex order, 0 = lower to higher, 1 = reversed) and their count. No quotient by global reversal, vertex switching or isomorphism.

POST https://datenvertrag.halowerk.com/v1/pfaffian-orientation-family

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
nSee schemaYes
edge_maskSee schemaYes
claimSee schemaYes
Show full input schema
{
  "type": "object",
  "properties": {
    "n": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 5
        },
        {
          "type": "null"
        }
      ]
    },
    "edge_mask": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 1023
        },
        {
          "type": "null"
        }
      ]
    },
    "claim": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "orientation_masks": {
              "type": "array",
              "items": {
                "type": "integer",
                "minimum": 0,
                "maximum": 1023
              },
              "minItems": 0,
              "maxItems": 1024
            },
            "count": {
              "type": "integer",
              "minimum": 0,
              "maximum": 2048
            }
          },
          "required": [
            "orientation_masks",
            "count"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "n",
    "edge_mask",
    "claim"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "n": 0,
  "edge_mask": 0,
  "claim": {
    "orientation_masks": [
      0
    ],
    "count": 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 โ†’