Skip to content

PhysicalToState

Defined in: network/state-graph.ts:50

Physical node → its state nodes, as CSR. Physical p’s state nodes are states[offsets[p] .. offsets[p + 1]]. The inverse of StateNetworkGraph.stateToPhysical.

offsets: Uint32Array

Defined in: network/state-graph.ts:52

Per-physical start offset into states; length physicalCount + 1.


states: Uint32Array

Defined in: network/state-graph.ts:54

Flattened state-node ids grouped by physical node; length stateCount.