#include <Population.h>
Public Member Functions | |
Population () | |
~Population () | |
void | init (vector< double > ¶meter_ranges) |
void | add_indiv (Indiv *indiv_p) |
int | get_size () |
void | select_parents () |
void | shuffle () |
void | recombine () |
void | make_children (Indiv *parent1, Indiv *parent2) |
void | mutate () |
void | select_survivors () |
int | get_best_index () |
void | set_best_index (int new_index) |
Indiv * | operator[] (int index) const |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|