pub struct GenerationSummary {
pub generation: u64,
pub best: f64,
pub median: f64,
pub worst: f64,
}Expand description
Objectives of the members of one generation of a genetic algorithm.
Fields§
§generation: u64Index of the generation, counting from 0.
best: f64Best fitness among the members.
median: f64Median fitness of the members.
worst: f64Worst fitness among the members.
Trait Implementations§
Source§impl Clone for GenerationSummary
impl Clone for GenerationSummary
Source§impl Debug for GenerationSummary
impl Debug for GenerationSummary
Source§impl PartialEq for GenerationSummary
impl PartialEq for GenerationSummary
impl StructuralPartialEq for GenerationSummary
Auto Trait Implementations§
impl Freeze for GenerationSummary
impl RefUnwindSafe for GenerationSummary
impl Send for GenerationSummary
impl Sync for GenerationSummary
impl Unpin for GenerationSummary
impl UnsafeUnpin for GenerationSummary
impl UnwindSafe for GenerationSummary
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