Skip to content
HALOWERK

Datenvertragswerk

circuit double cover family

For a simple undirected graph on n in 1..4 labels 0..n-1 (edge_mask bits name all lexicographic unordered pairs (u,v), u<v), reconstructs every circuit double cover: a multiset of connected 2-regular simple cycle subgraphs in which each edge occurs exactly twice. Returns all circuit_masks ascending, every cover as an ascending list of circuit masks keeping repeats, count and size_histogram indexed 0..floor(2*edgecount/3). A bridge graph has a known empty family.

POST https://datenvertrag.halowerk.com/v1/circuit-double-cover-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": 1,
          "maximum": 4
        },
        {
          "type": "null"
        }
      ]
    },
    "edge_mask": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 63
        },
        {
          "type": "null"
        }
      ]
    },
    "claim": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "circuit_masks": {
              "type": "array",
              "items": {
                "type": "integer",
                "minimum": 1,
                "maximum": 63
              },
              "minItems": 0,
              "maxItems": 7
            },
            "covers": {
              "type": "array",
              "items": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 1,
                  "maximum": 63
                },
                "minItems": 0,
                "maxItems": 4
              },
              "minItems": 0,
              "maxItems": 32
            },
            "size_histogram": {
              "type": "array",
              "items": {
                "type": "integer",
                "minimum": 0,
                "maximum": 32
              },
              "minItems": 1,
              "maxItems": 5
            },
            "count": {
              "type": "integer",
              "minimum": 0,
              "maximum": 33
            }
          },
          "required": [
            "circuit_masks",
            "covers",
            "size_histogram",
            "count"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "n",
    "edge_mask",
    "claim"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "n": 1,
  "edge_mask": 0,
  "claim": {
    "circuit_masks": [],
    "covers": [
      []
    ],
    "size_histogram": [
      1
    ],
    "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 โ†’