← Back to directory

For a supplied simple connected undirected tree on1..32vertices labelled0..n-1, ...

https://datenvertrag.halowerk.com/v1/tree-centroid-branch-ledger

Overview

For a supplied simple connected undirected tree on1..32vertices labelled0..n-1, return a complete per-vertex deletion ledger:each adjacent neighbor in ascending order and the remaining component size reached through it,largest component,minimum largest component over all vertices,and all ascending centroid IDs. A centroid leaves no branch larger than floor(n/2);full source labels retained. Own singleton extension explicitly returnsvertex0 withzero branches/zero balance.

Protocol x402 (POST)
Price $0.0030
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider datenvertrag
Source bazaar
Indexed 2026-11-24 12:32:20

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "claimed_value": { "centroids": [ 1, 2 ], "half_limit": 2, "ledger": [ { "branches": [ { "size": 3, "via_neighbor": 1 } ], "largest_component": 3, "vertex": 0 }, { "branches": [ { "size": 1, "via_neighbor": 0 }, { "size": 2, "via_neighbor": 2 } ], "largest_component": 2, "vertex": 1 }, { "branches": [ { "size": 2, "via_neighbor": 1 }, { "size": 1, "via_neighbor": 3 } ], "largest_component": 2, "vertex": 2 }, { "branches": [ { "size": 3, "via_neighbor": 2 } ], "largest_component": 3, "vertex": 3 } ], "min_largest_component": 2, "vertices": 4 }, "edges": [ [ 0, 1 ], [ 1, 2 ], [ 2, 3 ] ], "vertices": 4 }, "bodyType": "json", "method": "POST", "type": "http" }