compute_zigzag_h1
Computes zigzag H1 persistence over GF(2) for evolving graphs from ordered edge snapshots, returning Betti-1 values per snapshot and an interval barcode.
Instructions
Exact zigzag H1 persistence over GF(2) for an evolving graph.
snapshots: ordered edge-ID sets K_0..K_T; edges: [u, v] endpoints per edge ID; n_vertices: vertex count. Uses the diagram K_0 -> K_0 U K_1 <- K_1 -> ... and returns Betti-1 per node and the interval barcode.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"snapshots": "<snapshots>",
"edges": "<edges>",
"n_vertices": "<n_vertices>"
},
"name": "compute_zigzag_h1"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | Yes | ||
| snapshots | Yes | ||
| n_vertices | Yes |