Struct revonet::result::EAResultMultiple
[−]
[src]
pub struct EAResultMultiple<T: Individual> { pub min_fitness: Vec<f32>, pub max_fitness: Vec<f32>, pub avg_fitness_mean: Vec<f32>, pub avg_fitness_sd: Vec<f32>, pub best: T, pub best_fe_count_mean: f32, pub best_fe_count_sd: f32, pub first_hit_fe_count_mean: f32, pub first_hit_fe_count_sd: f32, pub success_count: u32, pub run_count: u32, }
Structure to hold results for multipole runs of evolutionary algorithm.
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_mean: Vec<f32>
Array of average absolute values of fitness for each generation.
avg_fitness_sd: Vec<f32>
Array of SD for average absolute values of fitness for each generation.
best: T
Best individual ever found during the single run.
best_fe_count_mean: f32
Mean number of function evaluations required to find the best
individual.
best_fe_count_sd: f32
SD for number of function evaluations required to find the best
individual.
first_hit_fe_count_mean: f32
Mean number of function evaluations required to find the solution according to the OptProblem::is_solution
function.
first_hit_fe_count_sd: f32
SD for number of function evaluations required to find the solution according to the OptProblem::is_solution
function.
success_count: u32
Number of runs when solution was found.
run_count: u32
Total number of runs which were performed in order to compute the statistics.
Methods
impl<T: Individual + Clone> EAResultMultiple<T>
[src]
fn new(rs: &[EAResult<T>]) -> EAResultMultiple<T>
Trait Implementations
impl<T: Clone + Individual> Clone for EAResultMultiple<T>
[src]
fn clone(&self) -> EAResultMultiple<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