An S4 class to represent a genetic algorithm (extends alg-class class).

Slots

pop_size

size of the solutions populations (default to 10)

nb_max_gen

maximal number of generation to produce (default to 4)

prob_mutation

probability of mutation (default to 0.25)

sel_frac

fraction of best solutions selected for crossing (default to 0.75)