GLParametersGeneticAlgorithm Struct Reference

#include <GLParametersGeneticAlgorithm.h>

Inheritance diagram for GLParametersGeneticAlgorithm:

GLBaseParameters

List of all members.

Public Member Functions

 GLParametersGeneticAlgorithm ()
 GLParametersGeneticAlgorithm (const GLParametersGeneticAlgorithm *source)
virtual ~GLParametersGeneticAlgorithm ()
virtual GLBaseParameterscopy () const
void setDefaultValues ()

Public Attributes

GLBaseParametersm_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
GLBaseParametersm_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.
GLBaseParametersm_mutator_params
 additional parameters for mutator.
int m_mutator_type
 type of the mutator operator.
GLBaseParametersm_other_params
 other (non-standard) parameters for GA
GLBaseParametersm_population_params
 additional params for population
int m_population_type
 type of population.
GLBaseParametersm_ranker_params
 additional parameters for ranker.
int m_ranker_type
 type of the ranker operator.
GLBaseParametersm_selectionist_params
 additional parameters for selectionist
int m_selectionist_type
 type of the selectionist operator.
GLBaseParametersm_variator_params
 additional parameters for variator.
int m_variator_type
 type of the variator operator.


Detailed Description

Structure with parameters common for all the genetic algorithms. As in other children of GLBaseParameters all its members are public.

Definition at line 10 of file GLParametersGeneticAlgorithm.h.


Constructor & Destructor Documentation

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.

Parameters:
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.


Member Function Documentation

virtual GLBaseParameters* GLParametersGeneticAlgorithm::copy (  )  const [inline, virtual]

Copying operator -- makes copy of the parameters data.

Returns:
pointer to GLParameters.

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.


Member Data Documentation

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.


The documentation for this struct was generated from the following files:

Generated on Sat Jun 13 13:58:11 2009 for GenLib by  doxygen 1.5.9