Struct revonet::result::EAResult
[−]
[src]
pub struct EAResult<T: Individual> { pub min_fitness: Vec<f32>, pub max_fitness: Vec<f32>, pub avg_fitness: Vec<f32>, pub best: T, pub best_fe_count: u32, pub first_hit_fe_count: u32, pub fe_count: u32, }
Structure to hold results for the genetic algorithm run.
Fields
min_fitness: Vec<f32>
Array of minimal absolute values of fitness for each generation.
max_fitness: Vec<f32>
Array of maximal absolute values of fitness for each generation.
avg_fitness: Vec<f32>
Array of average absolute values of fitness for each generation.
best: T
Best individual ever found during the single run.
best_fe_count: u32
Number of function evaluations required to find the best
individual.
first_hit_fe_count: u32
Number of function evaluations required to find the solution according to the OptProblem::is_solution
function.
fe_count: u32
Total number of function evaluations used in the current run.
Methods
impl<T: Individual> EAResult<T>
[src]
Trait Implementations
impl<T: Clone + Individual> Clone for EAResult<T>
[src]
fn clone(&self) -> EAResult<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more