#include <BALL/DOCKING/GENETICDOCK/geneticAlgorithm.h>
|
| | GeneticAlgorithm () |
| |
| | GeneticAlgorithm (const GeneticAlgorithm &ga) |
| |
| | GeneticAlgorithm (DockingAlgorithm *docker, DockProblem *, int pop_number, int iter, int init, int pop, int surv, double mrate, int save, int citer, double cvalue, int cstart) |
| |
| virtual | ~GeneticAlgorithm () |
| |
| virtual GeneticAlgorithm & | operator= (const GeneticAlgorithm &ga) |
| |
| void | setup (DockProblem *, int pop_number, int iter, int init, int pop, int surv, double mrate, int save, int citer, double cvalue, int cstart) |
| |
| virtual void | start () |
| |
| virtual double | getValue () |
| |
| GeneticIndividual * | getIndividual (Index i) |
| |
| bool | registerParameter (GenericParameter *) |
| |
Definition at line 21 of file geneticAlgorithm.h.
| BALL::GeneticAlgorithm::GeneticAlgorithm |
( |
| ) |
|
| BALL::GeneticAlgorithm::GeneticAlgorithm |
( |
DockingAlgorithm * |
docker, |
|
|
DockProblem * |
, |
|
|
int |
pop_number, |
|
|
int |
iter, |
|
|
int |
init, |
|
|
int |
pop, |
|
|
int |
surv, |
|
|
double |
mrate, |
|
|
int |
save, |
|
|
int |
citer, |
|
|
double |
cvalue, |
|
|
int |
cstart |
|
) |
| |
| virtual BALL::GeneticAlgorithm::~GeneticAlgorithm |
( |
| ) |
|
|
virtual |
sorts the given pool according to the fitness values of its members and keeps only the best survivors_>ones (#best ones = survivors_)
| void BALL::GeneticAlgorithm::cleanUp |
( |
| ) |
|
|
protected |
| virtual double BALL::GeneticAlgorithm::getValue |
( |
| ) |
|
|
inlinevirtual |
| void BALL::GeneticAlgorithm::mate |
( |
| ) |
|
|
protected |
| bool BALL::GeneticAlgorithm::multiDemeCheck |
( |
| ) |
|
|
protected |
check for migration between populations
| void BALL::GeneticAlgorithm::mutate |
( |
| ) |
|
|
protected |
register a parameter for optimization
| void BALL::GeneticAlgorithm::select |
( |
Size |
| ) |
|
|
protected |
select individuals for mating
| void BALL::GeneticAlgorithm::setup |
( |
DockProblem * |
, |
|
|
int |
pop_number, |
|
|
int |
iter, |
|
|
int |
init, |
|
|
int |
pop, |
|
|
int |
surv, |
|
|
double |
mrate, |
|
|
int |
save, |
|
|
int |
citer, |
|
|
double |
cvalue, |
|
|
int |
cstart |
|
) |
| |
| virtual void BALL::GeneticAlgorithm::start |
( |
| ) |
|
|
virtual |
| void BALL::GeneticAlgorithm::updatePool |
( |
| ) |
|
|
protected |
| int BALL::GeneticAlgorithm::conv_start_ |
|
protected |
| bool BALL::GeneticAlgorithm::finished_ |
|
protected |
| Size BALL::GeneticAlgorithm::immune_ |
|
protected |
| Size BALL::GeneticAlgorithm::iteration_ |
|
protected |
| Size BALL::GeneticAlgorithm::max_iterations_ |
|
protected |
| double BALL::GeneticAlgorithm::mutation_rate_ |
|
protected |
| Size BALL::GeneticAlgorithm::population_size_ |
|
protected |
| std::vector<double> BALL::GeneticAlgorithm::probabilities_ |
|
protected |
| Size BALL::GeneticAlgorithm::survivors_ |
|
protected |