Datenvertragswerk
rooted acyclic orientation family
Given one original simple undirected graph on1..5fixedlabels0..n-1 and a specified root, derive ALL acyclic orientations whose ONLY sink is that root. A sink has outdegree0; no extra unique-source requirement and no every-face hypercube USO condition. Return canonical undirectededges sorted(min,max), ascending directionmasks, every whole directededgefamily in canonicaledge order, and lexicographically smallest topologicalvertexorder for each orientation. Bitk0 means lower-to-higher on.
POST https://datenvertrag.halowerk.com/v1/rooted-acyclic-orientation-familyEingaben
| Feld | Typ | Pflicht | Beschreibung |
|---|---|---|---|
| graph | Siehe Schema | Ja | |
| root | Siehe Schema | Ja | |
| claimed_masks | Siehe Schema | Ja |
Vollständiges Eingabeschema anzeigen
{
"type": "object",
"additionalProperties": false,
"required": [
"graph",
"root",
"claimed_masks"
],
"properties": {
"graph": {
"anyOf": [
{
"type": "object",
"additionalProperties": false,
"required": [
"n",
"edges"
],
"properties": {
"n": {
"type": "integer",
"minimum": 1,
"maximum": 5
},
"edges": {
"type": "array",
"maxItems": 10,
"items": {
"type": "array",
"maxItems": 2,
"items": {
"type": "integer",
"minimum": 0,
"maximum": 4
},
"minItems": 2
}
}
}
},
{
"type": "null"
}
]
},
"root": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 4
},
{
"type": "null"
}
]
},
"claimed_masks": {
"anyOf": [
{
"type": "array",
"maxItems": 24,
"items": {
"type": "integer",
"minimum": 0,
"maximum": 1023
}
},
{
"type": "null"
}
]
}
}
}Veröffentlichtes Eingabebeispiel
{
"graph": {
"n": 3,
"edges": [
[
0,
1
],
[
0,
2
],
[
1,
2
]
]
},
"root": 2,
"claimed_masks": [
0,
1
]
}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
- Datenvertragswerk0,003 USDC
adjacency cospectral graph family
POSThttps://datenvertrag.halowerk.com/v1/adjacency-cospectral-graph-familyGiven n1..5 and a monic degree-n integer polynomial det(xI-A), return EVERY labelled simple undirected graph on vertices0..n-1 having exactly that adjacency characteristic polynomial over integers. Coefficients are descending degree order,
- Datenvertragswerk0,003 USDC
adjacent swap permutation tour
POSThttps://datenvertrag.halowerk.com/v1/adjacent-swap-permutation-tourFor 0 to 5 labels starting at zero, construct the whole Steinhaus-Johnson-Trotter permutation tour from identity. Each transition swaps the largest mobile value with its adjacent smaller neighbor, then reverses directions of greater values.
- Datenvertragswerk0,003 USDC
aligned record cut audit
POSThttps://datenvertrag.halowerk.com/v1/aligned-record-cut-auditA stream-runtime fixture maintainer checks which record IDs belong to a supplied aligned checkpoint cut and which same-channel post-barrier records must stay buffered until all input barriers arrive. One aligned local checkpoint;record iden