pubmodpseudo;pubmodsobol;/// Trait for generating random or quasi-random numbers.
pubtraitBaseRng{fnsample(&mutself, time_idx:usize, increment_idx:usize)->f64;}/// Caches the generated random numbers for the current time step.
structStepCache{time_idx:Option<usize>,
values:Vec<f64>,
}