Zum Inhalt
HALOWERK

Datenvertragswerk

finite metric tight span complex

For an original1..4point metricmatrix withzerodiagonal,symmetricpositive offdiagonalintegers1..3 andtriangleinequalities(equalityallowed), construct the WHOLEtightspan: every nonemptyboundedface of P={f_i>=0,f_i+f_j>=d_ij}. Diagonalconditionsareincluded. Verticesarehalfintegral: return lexicographicsortedvertices_twice=2f(exactintegerhalf-unitcoordinates), everyface asascendingvertexindices inshortlex(lengththenlex), correspondingdimensions, indicesofALLinclusionmaximalfaces.

POST https://datenvertrag.halowerk.com/v1/finite-metric-tight-span-complex

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
metricSiehe SchemaJa
claimSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "metric",
    "claim"
  ],
  "properties": {
    "metric": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 4,
          "items": {
            "type": "array",
            "maxItems": 4,
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 3
            },
            "minItems": 1
          },
          "minItems": 1
        },
        {
          "type": "null"
        }
      ]
    },
    "claim": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "vertices_twice",
            "faces",
            "dimensions",
            "maximal_faces",
            "embedding_vertices"
          ],
          "properties": {
            "vertices_twice": {
              "type": "array",
              "maxItems": 16,
              "items": {
                "type": "array",
                "maxItems": 4,
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 6
                },
                "minItems": 1
              }
            },
            "faces": {
              "type": "array",
              "maxItems": 128,
              "items": {
                "type": "array",
                "maxItems": 16,
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 15
                },
                "minItems": 1
              }
            },
            "dimensions": {
              "type": "array",
              "maxItems": 128,
              "items": {
                "type": "integer",
                "minimum": 0,
                "maximum": 4
              }
            },
            "maximal_faces": {
              "type": "array",
              "maxItems": 128,
              "items": {
                "type": "integer",
                "minimum": 0,
                "maximum": 127
              }
            },
            "embedding_vertices": {
              "type": "array",
              "maxItems": 4,
              "items": {
                "type": "integer",
                "minimum": 0,
                "maximum": 15
              }
            }
          }
        },
        {
          "type": "null"
        }
      ]
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "metric": [
    [
      0,
      1,
      1
    ],
    [
      1,
      0,
      1
    ],
    [
      1,
      1,
      0
    ]
  ],
  "claim": {
    "vertices_twice": [
      [
        0,
        2,
        2
      ],
      [
        1,
        1,
        1
      ],
      [
        2,
        0,
        2
      ],
      [
        2,
        2,
        0
      ]
    ],
    "faces": [
      [
        0
      ],
      [
        1
      ],
      [
        2
      ],
      [
        3
      ],
      [
        0,
        1
      ],
      [
        1,
        2
      ],
      [
        1,
        3
      ]
    ],
    "dimensions": [
      0,
      0,
      0,
      0,
      1,
      1,
      1
    ],
    "maximal_faces": [
      4,
      5,
      6
    ],
    "embedding_vertices": [
      0,
      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 →