A generic stochastic search template for algorithms that need a distribution parameter but replace it rather than update it. More...
#include <edoAlgoStateless.h>
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. | |
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.
| 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.
| evaluator | Evaluate a population |
| selector | Selection of the best candidate solutions in the population |
| estimator | Estimation of the distribution parameters |
| sampler | Generate feasible solutions using the distribution |
| replacor | Replace old solutions by new ones |
| pop_continuator | Stopping criterion based on the population features |
| distribution_continuator | Stopping criterion based on the distribution features |
Definition at line 65 of file edoAlgoStateless.h.
| 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.
| evaluator | Evaluate a population |
| selector | Selection of the best candidate solutions in the population |
| estimator | Estimation of the distribution parameters |
| sampler | Generate feasible solutions using the distribution |
| replacor | Replace old solutions by new ones |
| pop_continuator | Stopping criterion based on the population features |
Definition at line 86 of file edoAlgoStateless.h.