Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Direct SSA

History (note of 12 November 2026). This card describes the network engine’s Direct method of releases 0.1.0 to 0.6.0, which release 0.7.0 removed with its codes CRN-E042, CRN-E061 and CRN-E062. The one engine’s Static Direct, its selectors and its numerical failures (CRN-R030, CRN-R031) are described in exact methods.

Status: implemented in M2 (0.1.0-dev.4).

Gillespie’s Direct method for a time-homogeneous, well-mixed count process. Existing mass-action/Hill/MM propensities and availability gates are reused; count changes are checked and atomic. The solver recomputes ordered rates, uses a positive exponential wait and a separate categorical draw, and treats zero total propensity as absorption. It includes events exactly on save times.

Random streams: pinned rand_chacha 0.3.1 / rand_core 0.6.4, root-seed key and replicate-index stream; owned 53-bit mappings and libm 0.2.15 inversion. No clipped rates, lost positive channels or last-channel selection fallback. CRN-E042 underflow and CRN-E061/E062 resolution/time errors remain explicit.

Completed fixed-work outputs use ordered reduction and are checked at 1/2/8 threads. Incomplete ensembles have accounting and partial retained paths, but no unconditional mean/variance. Limits and cancellation do not prove non-explosion. Exact-method sampling still has Monte Carlo and floating-point limitations. Cross-platform numerical identity and comparative throughput are not established by this iteration.

See Direct SSA details, archive contracts and M2 acceptance targets. Reference: Gillespie (1977).