faif
Public Types | Public Member Functions | List of all members
faif::search::EvolutionaryAlgorithm< Space, Mutation, Crossover, Selection, StopCondition > Class Template Reference

the evolutionary algorithm More...

#include <EvolutionaryAlgorithm.hpp>

Collaboration diagram for faif::search::EvolutionaryAlgorithm< Space, Mutation, Crossover, Selection, StopCondition >:
Collaboration graph

Public Types

typedef Space::Individual Individual
 
typedef Space::Population Population
 
typedef Space::Fitness Fitness
 

Public Member Functions

 BOOST_CONCEPT_ASSERT ((EvolutionaryAlgorithmSpaceConcept< Space >))
 
Individual & solve (Population &init_population, StopCondition stop=StopCondition())
 the evolutionary algorithm - until stop repeat mutation, cross-over, selection, succession. Modifies the initial population. More...
 

Detailed Description

template<typename Space, template< typename > class Mutation = MutationNone, template< typename > class Crossover = CrossoverNone, template< typename > class Selection = SelectionRanking, typename StopCondition = StopAfterNSteps<100>>
class faif::search::EvolutionaryAlgorithm< Space, Mutation, Crossover, Selection, StopCondition >

the evolutionary algorithm

Parameters
Mutation- MutationNone, MutationCustom
Selection- SelectionRanking
StopCondition- StopAfterNSteps

Member Function Documentation

template<typename Space , template< typename > class Mutation = MutationNone, template< typename > class Crossover = CrossoverNone, template< typename > class Selection = SelectionRanking, typename StopCondition = StopAfterNSteps<100>>
Individual& faif::search::EvolutionaryAlgorithm< Space, Mutation, Crossover, Selection, StopCondition >::solve ( Population &  init_population,
StopCondition  stop = StopCondition() 
)
inline

the evolutionary algorithm - until stop repeat mutation, cross-over, selection, succession. Modifies the initial population.


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