Zum Inhalt
HALOWERK

Datenvertragswerk

partition hook multiset inverse family

Given an original multiset of0..20positive hooklengths each1..20, reconstruct EVERY integer partition of that cellcount whose English Ferrers diagram has exactly that hookmultiset. Hook counts self plus cells strictlyright and strictlybelow. Return all shapes in numeric lexicographic order, complete rowaligned hooktableau for each shape, exact familycount. Repeated hooks preserved; input hookorder ignored; supplied shapeclaim compares entire ordered inversefamily, not merely count or one.

POST https://datenvertrag.halowerk.com/v1/partition-hook-multiset-inverse-family

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
hooksSiehe SchemaJa
claimed_shapesSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "hooks",
    "claimed_shapes"
  ],
  "properties": {
    "hooks": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 20,
          "items": {
            "type": "integer",
            "minimum": 1,
            "maximum": 20
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "claimed_shapes": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 627,
          "items": {
            "type": "array",
            "maxItems": 20,
            "items": {
              "type": "integer",
              "minimum": 1,
              "maximum": 20
            }
          }
        },
        {
          "type": "null"
        }
      ]
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "hooks": [
    1,
    1,
    1,
    2,
    2,
    2,
    3,
    3,
    4,
    4,
    5,
    6,
    8,
    9
  ],
  "claimed_shapes": [
    [
      4,
      4,
      3,
      1,
      1,
      1
    ],
    [
      5,
      3,
      2,
      2,
      2
    ],
    [
      5,
      5,
      2,
      1,
      1
    ],
    [
      6,
      3,
      3,
      2
    ]
  ]
}

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 →