-
Notifications
You must be signed in to change notification settings - Fork 0
population
Craig Nicol edited this page Sep 16, 2015
·
1 revision
- population size
- mutation rate
- number of populations
- population crossover
- selection method - stochastic sampling, rank, map, ...
- crossover rate
- chromosome type
- generation type - replace current, add to current, ...
ctor(set_all_parameters...)
run(int ngenerations)
run the GA for next
n
generations, or until the population is stable, whichever comes first.
vector list_best(int nbest [, int pop])
returns a
vector
containing then
fittest chromosomes in the population numberedpop
, or the fittestn
overall if undefined (orpop
is negative)
run_once()
run the GA for one generation