Zum Inhalt
HALOWERK

Datenvertragswerk

quadtree face balance refinement ledger

From an original FULL partition of the logical unit square into prefixfree quadtree leafcodes, derive the unique coarsest refinement with face-neighbor leveldifference at most1 (side ratio at most2). Only positive-length shared faces count; corner-only contacts ignored. Rootcode is emptystring; eachdigit selects0SW,1SE,2NW,3NE, y increasesnorth. Input maxdepth3/atmost10leaves=atmost3splitnodes, covering28originalpartitions; duplicates,gaps,overlaps,partialcaptures rejected. Output all final.

POST https://datenvertrag.halowerk.com/v1/quadtree-face-balance-refinement-ledger

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
leavesSiehe SchemaJa
claimed_balanceSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "leaves",
    "claimed_balance"
  ],
  "properties": {
    "leaves": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 10,
          "items": {
            "type": "string",
            "maxLength": 3,
            "pattern": "^[0-3]{0,3}$"
          },
          "minItems": 1
        },
        {
          "type": "null"
        }
      ]
    },
    "claimed_balance": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "balanced_leaves",
            "added_splits",
            "source_leaves"
          ],
          "properties": {
            "balanced_leaves": {
              "type": "array",
              "maxItems": 64,
              "items": {
                "type": "string",
                "maxLength": 3,
                "pattern": "^[0-3]{0,3}$"
              }
            },
            "added_splits": {
              "type": "array",
              "maxItems": 21,
              "items": {
                "type": "string",
                "maxLength": 3,
                "pattern": "^[0-3]{0,3}$"
              }
            },
            "source_leaves": {
              "type": "array",
              "maxItems": 64,
              "items": {
                "type": "string",
                "maxLength": 3,
                "pattern": "^[0-3]{0,3}$"
              }
            }
          }
        },
        {
          "type": "null"
        }
      ]
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "leaves": [
    "00",
    "01",
    "02",
    "030",
    "031",
    "032",
    "033",
    "1",
    "2",
    "3"
  ],
  "claimed_balance": {
    "balanced_leaves": [
      "00",
      "01",
      "02",
      "030",
      "031",
      "032",
      "033",
      "10",
      "11",
      "12",
      "13",
      "20",
      "21",
      "22",
      "23",
      "3"
    ],
    "added_splits": [
      "1",
      "2"
    ],
    "source_leaves": [
      "00",
      "01",
      "02",
      "030",
      "031",
      "032",
      "033",
      "1",
      "1",
      "1",
      "1",
      "2",
      "2",
      "2",
      "2",
      "3"
    ]
  }
}

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 →