Skip to content

PhysicalToState

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

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:53

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


states: Uint32Array

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

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