pub struct TrainingStats {
pub population_stats: PopulationStats,
pub child_count: usize,
}Expand description
A collection of statistics about the population as a whole.
Relatively more expensive to compute than training metrics, so should be computed infrequently.
Fields§
§population_stats: PopulationStatsA collection of standard population stats: see PopulationStats
for more information
child_count: usizeTotal number of children that have been reproduced and introduced into the population, including the initial seed population count.
Same as TrainingCriteriaMetrics::child_count.
Trait Implementations§
Source§impl Clone for TrainingStats
impl Clone for TrainingStats
Source§fn clone(&self) -> TrainingStats
fn clone(&self) -> TrainingStats
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 TrainingStats
impl Debug for TrainingStats
Source§impl Display for TrainingStats
impl Display for TrainingStats
impl Copy for TrainingStats
Auto Trait Implementations§
impl Freeze for TrainingStats
impl RefUnwindSafe for TrainingStats
impl Send for TrainingStats
impl Sync for TrainingStats
impl Unpin for TrainingStats
impl UnwindSafe for TrainingStats
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