Public Member Functions | Protected Types | Protected Attributes

# GeneticAlgorithm< R, M > Class Template Reference

Inheritance diagram for GeneticAlgorithm< R, M >:

List of all members.

## Public Member Functions
| GeneticAlgorithm (Evaluator< R, M > &_evaluator, InitialPopulation< R > &_initPop, double crossoverRate, double mutationRate, double elitismRate, unsigned populationSize, unsigned numGenerations, Selection< R, M > &_selection, Crossover< R, M > &_cross, Mutation< R, M > &_mut, Elitism< R, M > &_elt)
virtual void | evaluateFitness (const Population< R > &p, FitnessValues &fv) const
virtual const unsigned | suffOffCreated (const Population< R > &p) const
virtual pair< const chromossome &, const chromossome & > & | selectParents (const Population< R > &p) const
void | exec (Population< R > &p, double timelimit, double target_f)
void | exec (Population< R > &p, FitnessValues &ev, double timelimit, double target_f)
## Protected Types
typedef Solution< R > | chromossome
typedef vector< Evaluation< M > * > | FitnessValues
## Protected Attributes
Evaluator< R, M > & | evaluator

### template<class R, class M>
class GeneticAlgorithm< R, M >

The documentation for this class was generated from the following file:

- OptFrame/Heuristic/EvolutionaryAlgorithms/GeneticAlgorithm.hpp

All Classes Functions