Zum Inhalt
HALOWERK

Technische Prüfungen & Formate

cms / cms largest unoccupied grid rectangle

An agent that reserves an unobstructed rectangular widget region in a supplied occupancy grid needs its claimed largest empty axis-aligned cell rectangle area checked across all row spans.

POST https://detect.halowerk.com/v1/cms/cms-largest-unoccupied-grid-rectangle

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
artifactobjectJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "artifact": {
      "type": "object",
      "properties": {
        "occupied": {
          "type": "array",
          "items": {
            "type": "array",
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 1
            },
            "minItems": 1,
            "maxItems": 128
          },
          "minItems": 1,
          "maxItems": 128
        },
        "claimed_area": {
          "type": "integer",
          "minimum": 0,
          "maximum": 16384
        }
      },
      "required": [
        "occupied",
        "claimed_area"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "artifact"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "artifact": {
    "occupied": [
      [
        1,
        0,
        0,
        1,
        1
      ],
      [
        1,
        0,
        0,
        0,
        1
      ]
    ],
    "claimed_area": 4
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-01, 15:19 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →