Zum Inhalt
HALOWERK

Datenvertragswerk

partial latin completion family

For one FULLY CAPTURED indexed squareCLUEGRID of order1..3, with AT MOST4filledcells, reconstruct EVERY complete LATIN SQUARE agreeingwithALLgivenclues. cells is a flatROWMAJORarray ofexactlyorder*order entries; -1 is a KNOWN unfilledposition, not an unknownmeasurement. Otherentries are originalsymbolnames0..order-1. A completed square has eachsymbol exactlyonce inEACHrow andEACHcolumn. Conflicting repeatedclues withinarow/column are WELL-FORMED unsatisfiableassignments andreturn.

POST https://datenvertrag.halowerk.com/v1/partial-latin-completion-family

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
orderSiehe SchemaJa
cellsSiehe SchemaJa
claimSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "order": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1,
          "maximum": 3
        },
        {
          "type": "null"
        }
      ]
    },
    "cells": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": -1,
            "maximum": 2
          },
          "minItems": 1,
          "maxItems": 9
        },
        {
          "type": "null"
        }
      ]
    },
    "claim": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "solutions": {
              "type": "array",
              "items": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 2
                },
                "minItems": 1,
                "maxItems": 9
              },
              "minItems": 0,
              "maxItems": 16
            },
            "count": {
              "type": "integer",
              "minimum": 0,
              "maximum": 16
            },
            "feasible": {
              "type": "boolean"
            }
          },
          "required": [
            "solutions",
            "count",
            "feasible"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "order",
    "cells",
    "claim"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "order": 1,
  "cells": [
    -1
  ],
  "claim": {
    "solutions": [
      [
        0
      ]
    ],
    "count": 1,
    "feasible": true
  }
}

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 →