22template<ProgramType T>
holds variable type data.
Class for evaluating the fitness of individuals in a population.
void update_fitness(Population< T > &pop, int island, const Dataset &data, const Parameters ¶ms, bool fit=true, bool validation=true)
Update the fitness of individuals in a population.
void set_scorer(string scorer)
Set the scorer for evaluation.
Evaluation()
Constructor for Evaluation class.
string get_scorer()
Get the current scorer.
void assign_fit(Individual< T > &ind, const Dataset &data, const Parameters ¶ms, bool val=false)
Assign fitness to an individual.
void set_scorer(string scorer)
< nsga2 selection operator for getting the front