Struct vrp_core::utils::DefaultRandom [−][src]
pub struct DefaultRandom { /* fields omitted */ }Expand description
A default random implementation.
Implementations
Creates a new instance DefaultRandom with seed.
Trait Implementations
Produces integral random value, uniformly distributed on the closed interval [min, max]
Produces real random value, uniformly distributed on the closed interval [min, max)
Flips a coin and returns true if it is “heads”, false otherwise.
Auto Trait Implementations
impl RefUnwindSafe for DefaultRandomimpl Send for DefaultRandomimpl Sync for DefaultRandomimpl Unpin for DefaultRandomimpl UnwindSafe for DefaultRandom