#include <GLParametersGeneticAlgorithm.h>
Public Member Functions | |
GLParametersGeneticAlgorithm () | |
GLParametersGeneticAlgorithm (const GLParametersGeneticAlgorithm *source) | |
virtual | ~GLParametersGeneticAlgorithm () |
virtual GLBaseParameters * | copy () const |
void | setDefaultValues () |
Public Attributes | |
GLBaseParameters * | m_breeder_params |
additional parameters for breeder. | |
int | m_breeder_type |
type of the breeding operator. | |
int | m_children_per_generation |
number of children per generation | |
GLBaseParameters * | m_crossover_params |
additional params for crossover. | |
int | m_crossover_type |
type of the crossover operator. | |
int | m_initial_population_size |
initial population size. | |
bool | m_keep_last_generation |
int | m_maximum_population_size |
maximum population size. | |
int | m_minimum_population_size |
minimum population size. | |
int | m_mutants_per_generation |
number of mutants per generation | |
int | m_mutation_policy |
determins to which organisms mutation will be applied. | |
double | m_mutation_rate |
mutation rate for mutator operator. | |
GLBaseParameters * | m_mutator_params |
additional parameters for mutator. | |
int | m_mutator_type |
type of the mutator operator. | |
GLBaseParameters * | m_other_params |
other (non-standard) parameters for GA | |
GLBaseParameters * | m_population_params |
additional params for population | |
int | m_population_type |
type of population. | |
GLBaseParameters * | m_ranker_params |
additional parameters for ranker. | |
int | m_ranker_type |
type of the ranker operator. | |
GLBaseParameters * | m_selectionist_params |
additional parameters for selectionist | |
int | m_selectionist_type |
type of the selectionist operator. | |
GLBaseParameters * | m_variator_params |
additional parameters for variator. | |
int | m_variator_type |
type of the variator operator. |
Definition at line 10 of file GLParametersGeneticAlgorithm.h.
GLParametersGeneticAlgorithm::GLParametersGeneticAlgorithm | ( | ) | [inline] |
Constructor, sets default values for all parameters.
Definition at line 16 of file GLParametersGeneticAlgorithm.h.
GLParametersGeneticAlgorithm::GLParametersGeneticAlgorithm | ( | const GLParametersGeneticAlgorithm * | source | ) |
Copying constructor.
source | where the data are copied from. |
Definition at line 13 of file GLParametersGeneticAlgorithm.cpp.
GLParametersGeneticAlgorithm::~GLParametersGeneticAlgorithm | ( | ) | [virtual] |
Destructor -- destroys everything worth destroying.
Definition at line 61 of file GLParametersGeneticAlgorithm.cpp.
virtual GLBaseParameters* GLParametersGeneticAlgorithm::copy | ( | ) | const [inline, virtual] |
Copying operator -- makes copy of the parameters data.
Implements GLBaseParameters.
Definition at line 34 of file GLParametersGeneticAlgorithm.h.
void GLParametersGeneticAlgorithm::setDefaultValues | ( | ) |
Sets default values of the parameters.
Definition at line 76 of file GLParametersGeneticAlgorithm.cpp.
if true the last generation is stored in GA -- the one which was active just after GA finished work.
Definition at line 56 of file GLParametersGeneticAlgorithm.h.