#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.
§ GeneticAlgorithm() [1/3]
BALL::GeneticAlgorithm::GeneticAlgorithm |
( |
| ) |
|
§ GeneticAlgorithm() [2/3]
§ GeneticAlgorithm() [3/3]
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 |
|
) |
| |
§ ~GeneticAlgorithm()
virtual BALL::GeneticAlgorithm::~GeneticAlgorithm |
( |
| ) |
|
|
virtual |
§ calculate()
§ cleanPool()
sorts the given pool according to the fitness values of its members and keeps only the best survivors_>ones (#best ones = survivors_)
§ cleanUp()
void BALL::GeneticAlgorithm::cleanUp |
( |
| ) |
|
|
protected |
§ getIndividual()
§ getValue()
virtual double BALL::GeneticAlgorithm::getValue |
( |
| ) |
|
|
inlinevirtual |
§ mate()
void BALL::GeneticAlgorithm::mate |
( |
| ) |
|
|
protected |
§ multiDemeCheck()
bool BALL::GeneticAlgorithm::multiDemeCheck |
( |
| ) |
|
|
protected |
check for migration between populations
§ mutate()
void BALL::GeneticAlgorithm::mutate |
( |
| ) |
|
|
protected |
§ operator=()
§ registerParameter()
register a parameter for optimization
§ select()
void BALL::GeneticAlgorithm::select |
( |
Size |
| ) |
|
|
protected |
select individuals for mating
§ setup()
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 |
|
) |
| |
§ start()
virtual void BALL::GeneticAlgorithm::start |
( |
| ) |
|
|
virtual |
§ updatePool()
void BALL::GeneticAlgorithm::updatePool |
( |
| ) |
|
|
protected |
§ EvolutionaryDocking
§ conv_start_
int BALL::GeneticAlgorithm::conv_start_ |
|
protected |
§ docking_algorithm_
§ finished_
bool BALL::GeneticAlgorithm::finished_ |
|
protected |
§ gp_
§ immune_
Size BALL::GeneticAlgorithm::immune_ |
|
protected |
§ iteration_
Size BALL::GeneticAlgorithm::iteration_ |
|
protected |
§ max_iterations_
Size BALL::GeneticAlgorithm::max_iterations_ |
|
protected |
§ mutation_rate_
double BALL::GeneticAlgorithm::mutation_rate_ |
|
protected |
§ parameters_
§ pools_
§ population_size_
Size BALL::GeneticAlgorithm::population_size_ |
|
protected |
§ probabilities_
std::vector<double> BALL::GeneticAlgorithm::probabilities_ |
|
protected |
§ rng_
§ selected_
§ survivors_
Size BALL::GeneticAlgorithm::survivors_ |
|
protected |
§ template_individual_