Skip to content
HALOWERK

Datenvertragswerk

ribbon bollobas riordan polynomial ledger

Computes the complete three-variable Bollobas-Riordan polynomial of one orientable ribbon embedding of a connected simple labelled graph (n 1..4): R(u,v,w)=sum over all spanning edge subsets F of u^(r(G)-r(F))*v^nullity(F)*w^(k(F)-bc(F)+nullity(F)), r(F)=n-k(F), nullity(F)=edges(F)-r(F). Inputs are edge_mask over lexicographic pairs and rotations, one complete cyclic neighbor order per vertex with the smallest neighbor first. Reversals remain distinct.

POST https://datenvertrag.halowerk.com/v1/ribbon-bollobas-riordan-polynomial-ledger

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
nSee schemaYes
edge_maskSee schemaYes
rotationsSee schemaYes
claimSee schemaYes
Show full input schema
{
  "type": "object",
  "properties": {
    "n": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1,
          "maximum": 4
        },
        {
          "type": "null"
        }
      ]
    },
    "edge_mask": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 63
        },
        {
          "type": "null"
        }
      ]
    },
    "rotations": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 3
            },
            "minItems": 0,
            "maxItems": 3
          },
          "minItems": 0,
          "maxItems": 4
        },
        {
          "type": "null"
        }
      ]
    },
    "claim": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "u": {
                "type": "integer",
                "minimum": 0,
                "maximum": 3
              },
              "v": {
                "type": "integer",
                "minimum": 0,
                "maximum": 3
              },
              "w": {
                "type": "integer",
                "minimum": 0,
                "maximum": 2
              },
              "coefficient": {
                "type": "integer",
                "minimum": 1,
                "maximum": 64
              }
            },
            "required": [
              "u",
              "v",
              "w",
              "coefficient"
            ],
            "additionalProperties": false
          },
          "minItems": 0,
          "maxItems": 32
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "n",
    "edge_mask",
    "rotations",
    "claim"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "n": 1,
  "edge_mask": 0,
  "rotations": [
    []
  ],
  "claim": [
    {
      "u": 0,
      "v": 0,
      "w": 0,
      "coefficient": 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 โ†’