Skip to content
HALOWERK

Datenvertragswerk

dyck negative sweep ledger

Constructs the entire negative-type sweep image sw^-_(1,-1) of one supplied Dyck word (0=N/north/up, 1=E/east/down; length 0..12), after Armstrong/Loehr/Warrington 1406.1196 Section 3.1. Levels are visited from the maximum height down to 0, and at each level the original steps are read right to left. Returns the entire ordered image word and the pair count, e.g. 0011 -> 0101. Not the positive-type sweep or a path reflection/reversal.

POST https://datenvertrag.halowerk.com/v1/dyck-negative-sweep-ledger

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
wordSee schemaYes
claimSee schemaYes
Show full input schema
{
  "type": "object",
  "properties": {
    "word": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1
          },
          "minItems": 0,
          "maxItems": 12
        },
        {
          "type": "null"
        }
      ]
    },
    "claim": {
      "anyOf": [
        {
          "type": "array",
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 1
          },
          "minItems": 0,
          "maxItems": 12
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "word",
    "claim"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "word": [],
  "claim": []
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.

More endpoints in this hub

All endpoints in this hub โ†’