Documentation

CslibFrontier.Algorithms.WordRAM.OddCycleTransversal.NetworkProg

Split-network capacity, residual BFS, and minimum-separator programs #

This module defines the Memory.Prog subroutines for the (2n + 2)-vertex unit-capacity split network (readSplitCap, readResCap, bfsProg, pushUnitStep, augRoundStep, extractSepStep, minSepProg) and certifies exact-basis realization (minSepProg_realizes).

Main definitions #

Main results #

Split-network capacity, residual capacity, BFS, and unit augmentation #

@[reducible, inline]

Graph dimension n in a (((n, m), x), y) split-network query tuple.

@[reducible, inline]

Subgraph prefix size m in a (((n, m), x), y) split-network query tuple.

@[reducible, inline]

First query node or BFS layer in a (((n, m), u), v) tuple.

@[reducible, inline]

Graph dimension n in a ((((n, m), layer), u), v) BFS inner-loop tuple.

@[reducible, inline]

Subgraph prefix size m in a ((((n, m), layer), u), v) BFS inner-loop tuple.

@[reducible, inline]

Current BFS distance layer in a ((((n, m), layer), u), v) tuple.

@[reducible, inline]

Source vertex u in a ((((n, m), layer), u), v) BFS inner-loop tuple.

Query the split-network capacity c(x, y) for d = (((n, m), x), y).

Query the residual capacity of arc (x, y) in the split network.

Inner BFS neighbor-relaxation step scanning target node v.

Middle BFS frontier scan checking node u at distance layer.

Layered residual-graph BFS computing shortest distances and parents from source 0.

Walk one parent edge back from cur and push one unit of flow.

One Edmonds-Karp unit-augmentation round on the vertex-split network.

Extract one vertex into sepOutBase when its split edge crosses the BFS cut.

Minimum vertex-separator solver on the (2n + 2)-vertex split network.