datenvertrag.halowerk.com/v1/partial-cube-cut-coordinate-embedding
For a fully captured simple undirected graph on original vertex labels0..n-1, n1..5, edge_mask bits name lexicographic pairs(0,1),(0,2),...,(n-2,n-1). Return full shortest-path distances, using null for disconnected pairs. is_partial_cube is true exactly when this graph metric embeds isometrically into a binary hypercube: EVERY pair distance equals popcount(codes[u] XOR codes[v]). Disconnected gra
POST
https://datenvertrag.halowerk.com/v1/partial-cube-cut-coordinate-embeddingUptime100% 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/partial-cube-cut-coordinate-embedding", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"claim":{"codes":[0],"cuts":[],"dimension":0,"distances":[[0]],"is_partial_cube":true},"edge_mask":0,"n":1}),
});
console.log(await res.json());Example input
{
"claim": {
"codes": [
0
],
"cuts": [],
"dimension": 0,
"distances": [
[
0
]
],
"is_partial_cube": true
},
"edge_mask": 0,
"n": 1
}