Skip to content
Fourohtwo

datenvertrag.halowerk.com/v1/mycielski-construction-edge-lineage

From a supplied simple undirected graph with1..8vertices labelled0..n-1,construct one whole Mycielski lift with original vertices0..n-1,clone n+v for each vertexv and apex2n. Retain every originaledge{a,b},add both crossedges{a,n+b}and{b,n+a},then join everyclone toapex. Return all2n+1vertices and3m+nedges as canonical sortedpairs in lexicographic order,plus complete peredge role(original/cross/ap

BaseAnswering
POSThttps://datenvertrag.halowerk.com/v1/mycielski-construction-edge-lineage

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/mycielski-construction-edge-lineage", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"claimed_value":{"apex":4,"edge_count":5,"edges":[[0,1],[0,3],[1,2],[2,4],[3,4]],"lineage":[{"edge":[0,1],"role":"original","source_edge":[0,1],"source_vertex":null},{"edge":[0,3],"role":"cross","source_edge":[0,1],"source_vertex":null},{"edge":[1,2],"role":"cross","source_edge":[0,1],"source_vertex":null},{"edge":[2,4],"role":"apex","source_edge":null,"source_vertex":0},{"edge":[3,4],"role":"ape),
});
console.log(await res.json());

Example input

{"claimed_value":{"apex":4,"edge_count":5,"edges":[[0,1],[0,3],[1,2],[2,4],[3,4]],"lineage":[{"edge":[0,1],"role":"original","source_edge":[0,1],"source_vertex":null},{"edge":[0,3],"role":"cross","source_edge":[0,1],"source_vertex":null},{"edge":[1,2],"role":"cross","source_edge":[0,1],"source_vertex":null},{"edge":[2,4],"role":"apex","source_edge":null,"source_vertex":0},{"edge":[3,4],"role":"ape