pub struct EvolutionResult {
pub generations_run: usize,
pub best_fitness: f64,
pub best_strategy: Vec<u8>,
pub fitness_history: Vec<f64>,
pub converged: bool,
pub convergence_reason: Option<String>,
pub final_species: (usize, usize, usize, usize),
}Expand description
Summary of a completed evolution run.
Fields§
§generations_run: usize§best_fitness: f64§best_strategy: Vec<u8>§fitness_history: Vec<f64>§converged: bool§convergence_reason: Option<String>§final_species: (usize, usize, usize, usize)Trait Implementations§
Source§impl Clone for EvolutionResult
impl Clone for EvolutionResult
Auto Trait Implementations§
impl Freeze for EvolutionResult
impl RefUnwindSafe for EvolutionResult
impl Send for EvolutionResult
impl Sync for EvolutionResult
impl Unpin for EvolutionResult
impl UnsafeUnpin for EvolutionResult
impl UnwindSafe for EvolutionResult
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