edoAlgoStateless< D > Class Template Reference

A generic stochastic search template for algorithms that need a distribution parameter but replace it rather than update it. More...

#include <edoAlgoStateless.h>

Inheritance diagram for edoAlgoStateless< D >:
edoAlgoAdaptive< D > edoAlgo< D >

List of all members.

Public Types

typedef D::EOType EOType
 Alias for the type EOT.
typedef EOType::AtomType AtomType
 Alias for the atom type.
typedef EOType::Fitness Fitness
 Alias for the fitness.

Public Member Functions

 edoAlgoStateless (eoPopEvalFunc< EOType > &evaluator, eoSelect< EOType > &selector, edoEstimator< D > &estimator, edoSampler< D > &sampler, eoReplacement< EOType > &replacor, eoContinue< EOType > &pop_continuator, edoContinue< D > &distribution_continuator)
 Full constructor.
 edoAlgoStateless (eoPopEvalFunc< EOType > &evaluator, eoSelect< EOType > &selector, edoEstimator< D > &estimator, edoSampler< D > &sampler, eoReplacement< EOType > &replacor, eoContinue< EOType > &pop_continuator)
 Constructor without an edoContinue.

Detailed Description

template<typename D>
class edoAlgoStateless< D >

A generic stochastic search template for algorithms that need a distribution parameter but replace it rather than update it.

This use a default dummy distribution, for algorithms willing to replace it instead of updating Thus we can instanciate _distrib on this and replace it at the first iteration with an estimator. This is why an edoDistrib must have an empty constructor.

Definition at line 42 of file edoAlgoStateless.h.


Constructor & Destructor Documentation

template<typename D>
edoAlgoStateless< D >::edoAlgoStateless ( eoPopEvalFunc< EOType > &  evaluator,
eoSelect< EOType > &  selector,
edoEstimator< D > &  estimator,
edoSampler< D > &  sampler,
eoReplacement< EOType > &  replacor,
eoContinue< EOType > &  pop_continuator,
edoContinue< D > &  distribution_continuator 
) [inline]

Full constructor.

Parameters:
evaluatorEvaluate a population
selectorSelection of the best candidate solutions in the population
estimatorEstimation of the distribution parameters
samplerGenerate feasible solutions using the distribution
replacorReplace old solutions by new ones
pop_continuatorStopping criterion based on the population features
distribution_continuatorStopping criterion based on the distribution features

Definition at line 65 of file edoAlgoStateless.h.

template<typename D>
edoAlgoStateless< D >::edoAlgoStateless ( eoPopEvalFunc< EOType > &  evaluator,
eoSelect< EOType > &  selector,
edoEstimator< D > &  estimator,
edoSampler< D > &  sampler,
eoReplacement< EOType > &  replacor,
eoContinue< EOType > &  pop_continuator 
) [inline]

Constructor without an edoContinue.

Parameters:
evaluatorEvaluate a population
selectorSelection of the best candidate solutions in the population
estimatorEstimation of the distribution parameters
samplerGenerate feasible solutions using the distribution
replacorReplace old solutions by new ones
pop_continuatorStopping criterion based on the population features

Definition at line 86 of file edoAlgoStateless.h.


The documentation for this class was generated from the following file:
 All Classes Functions Variables Typedefs