datenvertrag.halowerk.com/v1/pathwidth-optimal-layout-inventory
For an original labelled simple undirected graph n0..5 including disconnected and empty graphs, derive minimum outside-prefix vertex frontier size over ALL permutations. Return exact pathwidth, ALL minimizing orders in numeric lexicographic order, and full frontiers/bags for first order. Frontier after prefix S is N(S) outside S; first bag at position i is current vertex plus that after-prefix fro
POST
https://datenvertrag.halowerk.com/v1/pathwidth-optimal-layout-inventoryUptime100% 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/pathwidth-optimal-layout-inventory", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"claimed_orders":[[0,1,2,3,4],[0,1,2,4,3],[4,3,2,0,1],[4,3,2,1,0]],"graph":{"edges":[[0,1],[1,2],[2,3],[3,4]],"n":5}}),
});
console.log(await res.json());Example input
{
"claimed_orders": [
[
0,
1,
2,
3,
4
],
[
0,
1,
2,
4,
3
],
[
4,
3,
2,
0,
1
],
[
4,
3,
2,
1,
0
]
],
"graph": {
"edges": [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
3,
4
]
],
"n": 5
}
}