first example of automatic algorithm assembling

- add "Forges" tools, to wrap several operator with deferred
instanciation.
- add t-forge-algo to show how to enumerate several algorithms instances
from a common grammar and several alternative operators.
- add several missing className().
This commit is contained in:
Johann Dreo 2020-03-27 15:59:49 +01:00
commit 30c99f290f
14 changed files with 407 additions and 3 deletions

View file

@ -42,7 +42,8 @@
@ingroup Selectors
*/
template <class EOT> class eoProportionalSelect: public eoSelectOne<EOT>
template <class EOT>
class eoProportionalSelect: public eoSelectOne<EOT>
{
public:
/// Sanity check
@ -80,6 +81,8 @@ private :
typedef std::vector<typename EOT::Fitness> FitVec;
FitVec cumulative;
public:
virtual std::string className() const {return "eoProportionalSelect";}
};
/** @example t-eoRoulette.cpp
*/