datenvertrag.halowerk.com/v1/graph-graceful-labeling-family
For a supplied labeled simple undirected graph on vertices0..n-1,n1..4 and m originaledges, synthesize ALL injective vertexmaps into integerlabels0..m whose absolute edge differences are exactly1..m. Edges must be unique lexicographically sorted pairs u<v<n. Return the full numeric-lex ordered vertexlabel family and aligned absolute-difference rows in originaledgeorder, edgecount,totalcount and fe
POST
https://datenvertrag.halowerk.com/v1/graph-graceful-labeling-familyUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://datenvertrag.halowerk.com/v1/graph-graceful-labeling-family", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"claimed_labelings":[[0,3,1,2],[1,2,0,3],[2,1,3,0],[3,0,2,1]],"edges":[[0,1],[1,2],[2,3]],"n":4}),
});
console.log(await res.json());Example input
{
"claimed_labelings": [
[
0,
3,
1,
2
],
[
1,
2,
0,
3
],
[
2,
1,
3,
0
],
[
3,
0,
2,
1
]
],
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
]
],
"n": 4
}