Skip to content
Fourohtwo

Own bounded Prufer bijection decoder on labels0..n-1,n2..32

datenvertrag.halowerk.com/v1/prufer-tree-reconstruction-audit

Own bounded Prufer bijection decoder on labels0..n-1,n2..32. Return all canonical undirected edges, original degrees and smallest-leaf elimination trace, then compare whole claimed edge multiset ignoring endpoint orientation/list order. Duplicate claimed edges remain mismatches. Missing symbol prevents whole reconstruction; absent claim leaves decoded tree with unknown. No graphlibrary or program

BaseAnswering
POSThttps://datenvertrag.halowerk.com/v1/prufer-tree-reconstruction-audit

Uptime100% 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/prufer-tree-reconstruction-audit", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"claimed_edges":[{"u":0,"v":4},{"u":1,"v":4},{"u":2,"v":4},{"u":3,"v":4}],"n":5,"sequence":[4,4,4]}),
});
console.log(await res.json());

Example input

{
  "claimed_edges": [
    {
      "u": 0,
      "v": 4
    },
    {
      "u": 1,
      "v": 4
    },
    {
      "u": 2,
      "v": 4
    },
    {
      "u": 3,
      "v": 4
    }
  ],
  "n": 5,
  "sequence": [
    4,
    4,
    4
  ]
}