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

@ -86,6 +86,8 @@ class eoSSGAWorseReplacement : public eoReduceMerge<EOT>
private :
eoLinearTruncate<EOT> truncate;
eoPlus<EOT> plus;
public:
virtual std::string className() const {return "eoSSGAWorseReplacement";}
};
/**
@ -101,6 +103,8 @@ class eoSSGADetTournamentReplacement : public eoReduceMerge<EOT>
private :
eoDetTournamentTruncate<EOT> truncate;
eoPlus<EOT> plus;
public:
virtual std::string className() const {return "eoSSGADetTournamentReplacement";}
};
/** SSGA stochastic tournament replacement. Is an eoReduceMerge.
@ -118,6 +122,8 @@ class eoSSGAStochTournamentReplacement : public eoReduceMerge<EOT>
private :
eoStochTournamentTruncate<EOT> truncate;
eoPlus<EOT> plus;
public:
virtual std::string className() const {return "eoSSGAStochTournamentReplacement";}
};
/** @} */