pub struct EvolutionResult<G: Genome> {
pub population: Population<G>,
pub best: Individual<G>,
pub generations: usize,
}Expand description
Results from evolution.
Fields§
§population: Population<G>Final population.
best: Individual<G>Best individual found.
generations: usizeNumber of generations run.
Trait Implementations§
Auto Trait Implementations§
impl<G> Freeze for EvolutionResult<G>where
G: Freeze,
impl<G> RefUnwindSafe for EvolutionResult<G>where
G: RefUnwindSafe,
impl<G> Send for EvolutionResult<G>
impl<G> Sync for EvolutionResult<G>
impl<G> Unpin for EvolutionResult<G>where
G: Unpin,
impl<G> UnsafeUnpin for EvolutionResult<G>where
G: UnsafeUnpin,
impl<G> UnwindSafe for EvolutionResult<G>where
G: UnwindSafe,
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