Zum Inhalt
HALOWERK

Datenvertragswerk

rook board placement polynomial

For a complete binary board with0to4rows and0to4columns, enumerate all placements using only allowed1cells, with at most one rook per row and per column. Return the complete coefficient vector r0..rmin(rows,columns), counting each cardinality with zero bins; all placement masks and all ordered(row,column)pairs, total and maximum rook count. Bit(row*columns+column) names a cell; placements sort numerically by mask. The empty placement always exists, including empty dimensions or blocked.

POST https://datenvertrag.halowerk.com/v1/rook-board-placement-polynomial

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
rowsintegerJa
columnsintegerJa
boardSiehe SchemaJa
claimed_coefficientsSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "rows",
    "columns",
    "board",
    "claimed_coefficients"
  ],
  "properties": {
    "rows": {
      "type": "integer",
      "minimum": 0,
      "maximum": 4
    },
    "columns": {
      "type": "integer",
      "minimum": 0,
      "maximum": 4
    },
    "board": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 4,
          "items": {
            "type": "array",
            "maxItems": 4,
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1
            }
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "claimed_coefficients": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 5,
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 209
          }
        },
        {
          "type": "null"
        }
      ]
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "rows": 3,
  "columns": 3,
  "board": [
    [
      0,
      1,
      1
    ],
    [
      1,
      0,
      1
    ],
    [
      1,
      1,
      0
    ]
  ],
  "claimed_coefficients": [
    1,
    6,
    9,
    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 →