Skip to content
Fourohtwo

datenvertrag.halowerk.com/v1/integral-maximum-flow-family

For FIXED directed vertices0,1,2,3 with source0/sink3, originalcapacity_mask encodes all12nonlooparcs (u,v) in increasingu thenincreasingv, bit0=(0,1),bit1=(0,2),bit2=(0,3),bit3=(1,0),...,bit11=(3,2). Presentarc has capacity1, absentarc capacity0. Generate EVERY feasible integer GROSS arcflow maximizing NETsourceoutflow out(0)-in(0). Internalvertices1,2 conserve flow; source/sink balance oppositel

BaseAnswering
POSThttps://datenvertrag.halowerk.com/v1/integral-maximum-flow-family

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/integral-maximum-flow-family", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"capacity_mask":0,"claim":{"count":1,"flow_masks":[0],"maximum_value":0}}),
});
console.log(await res.json());

Example input

{
  "capacity_mask": 0,
  "claim": {
    "count": 1,
    "flow_masks": [
      0
    ],
    "maximum_value": 0
  }
}