Skip to content
Fourohtwo

datenvertrag.halowerk.com/v1/prescribed-outdegree-orientation-inventory

For a fully captured labelled simple undirected graph on0..n-1,n0..4, and supplied exact outgoing-degree demands b_i in0..n-1, reconstruct ALLedge orientations meeting every demand. Zero bit on canonical edge(u<v) directs u to v; one bit reverses it. Return ascending direction masks, full edge-bit order, first complete directed arc witness and original degree vector. Edge list order is irrelevant;

BaseAnswering
POSThttps://datenvertrag.halowerk.com/v1/prescribed-outdegree-orientation-inventory

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/prescribed-outdegree-orientation-inventory", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"claim":[2,5],"edges":[[0,1],[0,2],[1,2]],"outdegrees":[1,1,1],"size":3}),
});
console.log(await res.json());

Example input

{
  "claim": [
    2,
    5
  ],
  "edges": [
    [
      0,
      1
    ],
    [
      0,
      2
    ],
    [
      1,
      2
    ]
  ],
  "outdegrees": [
    1,
    1,
    1
  ],
  "size": 3
}