Skip to main content

Module simulator

Module simulator 

Source
Expand description

Provides simulation engines and algorithms for running stochastic models.

This module contains the core simulation logic that powers the random walk implementations, including time-stepping algorithms and state management.

Structs§

Simulator
Represents a generic simulator for managing and simulating random walks.

Constants§

PARALLEL_MIN_WALKS
Number of walks from which Simulator::new builds them on the rayon pool rather than serially (#860). Measured on an Apple M5 Max (18 cores) with 30-step geometric Brownian walks: one or two walks build no faster on the pool than serially, three already build faster. Longer walks only move the crossover lower.