pub struct PopulationStats {
pub max_fitness: f32,
pub min_fitness: f32,
pub mean_fitness: f32,
pub median_fitness: f32,
}Expand description
A collection of standard population statistics that can be used for progress reporting.
Fields§
§max_fitness: f32Maximum fitness of the population.
min_fitness: f32Minimum fitness of the population.
mean_fitness: f32Mean fitness of the population.
median_fitness: f32Median fitness of the population.
Trait Implementations§
Source§impl Clone for PopulationStats
impl Clone for PopulationStats
Source§fn clone(&self) -> PopulationStats
fn clone(&self) -> PopulationStats
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PopulationStats
impl Debug for PopulationStats
Source§impl Display for PopulationStats
impl Display for PopulationStats
Source§impl FromIterator<f32> for PopulationStats
impl FromIterator<f32> for PopulationStats
impl Copy for PopulationStats
Auto Trait Implementations§
impl Freeze for PopulationStats
impl RefUnwindSafe for PopulationStats
impl Send for PopulationStats
impl Sync for PopulationStats
impl Unpin for PopulationStats
impl UnwindSafe for PopulationStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more