Struct genetic_algorithm::meta::MetaStats
source · [−]pub struct MetaStats {
pub durations: Vec<Duration>,
pub best_generations: Vec<usize>,
pub best_fitness_scores: Vec<Option<FitnessValue>>,
}Fields
durations: Vec<Duration>best_generations: Vec<usize>best_fitness_scores: Vec<Option<FitnessValue>>Implementations
sourceimpl Stats
impl Stats
pub fn new() -> Self
pub fn duration_count(&self) -> usize
pub fn duration_stddev_subsec_millis(&self) -> f64
pub fn duration_mean_subsec_millis(&self) -> f64
pub fn duration_stddev_subsec_micros(&self) -> f64
pub fn duration_mean_subsec_micros(&self) -> f64
pub fn best_generation_count(&self) -> usize
pub fn best_generation_stddev(&self) -> f64
pub fn best_generation_mean(&self) -> f64
pub fn best_fitness_score_count(&self) -> usize
pub fn best_fitness_score_stddev(&self) -> f64
pub fn best_fitness_score_mean(&self) -> f64
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Stats
impl Send for Stats
impl Sync for Stats
impl Unpin for Stats
impl UnwindSafe for Stats
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more