Zum Inhalt
HALOWERK

Datenvertragswerk

rooted triplet tree family

For1..4 taxonlabels0..n-1 and up to12positive rootedtriplets[a,b,c] witha<b andallthreedistinct, construct ALL fullbinaryrootedtrees displaying everyab|c: lca(a,b)strictlybelow lca(a,c)=lca(b,c). Tripletorder/duplicates irrelevant. Everytaxon occursonce; siblingorderidentified byplacingchildwithsmallerminimumtaxonfirst. Return wholelexicographicNewickfamily(no lengths,terminalsemicolon), eachtree internalclusterbitmasks sortednumerically includingrootforn>1 andexcludingallleafsingletons,.

POST https://datenvertrag.halowerk.com/v1/rooted-triplet-tree-family

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
taxaSiehe SchemaJa
tripletsSiehe SchemaJa
claimSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "taxa",
    "triplets",
    "claim"
  ],
  "properties": {
    "taxa": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1,
          "maximum": 4
        },
        {
          "type": "null"
        }
      ]
    },
    "triplets": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 12,
          "items": {
            "type": "array",
            "maxItems": 3,
            "items": {
              "type": "integer",
              "minimum": 0,
              "maximum": 3
            },
            "minItems": 3
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "claim": {
      "anyOf": [
        {
          "type": "array",
          "maxItems": 15,
          "items": {
            "type": "string",
            "minLength": 2,
            "maxLength": 20,
            "pattern": "^[0-3(),;]+$"
          }
        },
        {
          "type": "null"
        }
      ]
    }
  }
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "taxa": 3,
  "triplets": [
    [
      0,
      1,
      2
    ]
  ],
  "claim": [
    "((0,1),2);"
  ]
}

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 →