Overview
For an original labelled simple undirected graph n0..5, connected when nonempty, derive exact treedepth: minimum root-leaf NODEcount among rooted trees whose ancestor closure contains every inputedge. Return lexicographically least parentvector among ALL minimum-height valid rooted trees, pervertex depth and complete ancestor-closure edges. Parents use vertexlabels0..n-1 and root-1; parent edges need not be graph edges.
Protocol
x402 (POST)
Price
$0.0030
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
datenvertrag
Indexed
2026-11-24 12:33:09
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"claimed_parent": [
1,
-1,
3,
1,
3
],
"graph": {
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
4
]
],
"n": 5
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"data": {
"state": "observed",
"value": {
"claimed_matches": true,
"closure_edges": [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
1,
4
],
[
2,
3
],
[
3,
4
]
],
"complete": true,
"missing": [],
"n": 5,
"parent": [
1,
-1,
3,
1,
3
],
"treedepth": 3,
"vertex_depths": [
2,
1,
3,
2,
3
]
}
}
},
"type": "json"
}