Trait vrp_core::utils::DistributionSampler
source · pub trait DistributionSampler {
// Required methods
fn gamma(&self, shape: f64, scale: f64) -> f64;
fn normal(&self, mean: f64, std_dev: f64) -> f64;
}
Expand description
Provides the way to sample from different distributions.