Skip to content
Fourohtwo

datenvertrag.halowerk.com/v1/graph-relabeling-orbit-stabilizer

For an original labelled simple undirected graph n1..5 with vertices0..n-1, construct EVERY distinct graph obtained by permuting vertex labels, every automorphism as a full old-to-new vertex map, and the whole vertex-orbit partition. Return sorted orbit codes, minimumcode representative, orbit size, sorted automorphism maps/order and n! relabelinggroup order. Encode uppertriangle pairs (0,1),(0,2)

BaseAnswering
POSThttps://datenvertrag.halowerk.com/v1/graph-relabeling-orbit-stabilizer

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/graph-relabeling-orbit-stabilizer", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"claimed_artifact":{"automorphism_order":10,"automorphisms":[[0,1,2,3,4],[0,4,3,2,1],[1,0,4,3,2],[1,2,3,4,0],[2,1,0,4,3],[2,3,4,0,1],[3,2,1,0,4],[3,4,0,1,2],[4,0,1,2,3],[4,3,2,1,0]],"canonical_code":220,"group_order":120,"orbit_codes":[220,234,316,358,425,453,570,598,665,707,789,803],"orbit_size":12,"vertex_orbits":[[0,1,2,3,4]]},"edges":[[0,1],[0,4],[1,2],[2,3],[3,4]],"n":5}),
});
console.log(await res.json());

Example input

{
  "claimed_artifact": {
    "automorphism_order": 10,
    "automorphisms": [
      [
        0,
        1,
        2,
        3,
        4
      ],
      [
        0,
        4,
        3,
        2,
        1
      ],
      [
        1,
        0,
        4,
        3,
        2
      ],
      [
        1,
        2,
        3,
        4,
        0
      ],
      [
        2,
        1,
        0,
        4,
        3
      ],
      [
        2,
        3,
        4,
        0,
        1
      ],
      [
        3,
        2,
        1,
        0,
        4
      ],
      [
        3,
        4,
        0,
        1,
        2
      ],
      [
        4,
        0,
        1,
        2,
        3
      ],
      [
        4,
        3,
        2,
        1,
        0
      ]
    ],
    "canonical_code": 220,
    "group_order": 120,
    "orbit_codes": [
      220,
      234,
      316,
      358,
      425,
      453,
      570,
      598,
      665,
      707,
      789,
      803
    ],
    "orbit_size": 12,
    "vertex_orbits": [
      [
        0,
        1,
        2,
        3,
        4
      ]
    ]
  },
  "edges": [
    [
      0,
      1
    ],
    [
      0,
      4
    ],
    [
      1,
      2
    ],
    [
      2,
      3
    ],
    [
      3,
      4
    ]
  ],
  "n": 5
}