67 :
pop(population),
m(index) {};
71 size_t tournament(vector<Individual>&
pop,
size_t i,
size_t j)
const;
data holding X, y, and Z data
individual programs in the population
float crowd_dist
crowding distance on the Pareto front
unsigned int rank
pareto front rank
holds the hyperparameters for Feat.
Defines a population of programs and functions for constructing them.
vector< Individual > individuals
individual programs
sort based on objective m
comparator_obj(const Population &population, int index)
const Population & pop
population address
bool operator()(int i, int j)
sort based on rank, breaking ties with crowding distance
sort_n(const Population &population)
bool operator()(int i, int j)
const Population & pop
population address
void fast_nds(vector< Individual > &)
vector< size_t > survive(Population &pop, const Parameters &p, const Data &d)
survival according to the survival scheme of NSGA-II
vector< size_t > select(Population &pop, const Parameters &p, const Data &d)
selection according to the survival scheme of NSGA-II
size_t tournament(vector< Individual > &pop, size_t i, size_t j) const
vector< vector< int > > front
void crowding_distance(Population &, int)
base class for selection operators.