and finally... still more grouping in documentation.
This commit is contained in:
parent
f478817c6e
commit
2104f5b7e9
76 changed files with 427 additions and 70 deletions
|
|
@ -33,8 +33,9 @@
|
|||
* to be inserted in EO. This struct or class can be of any
|
||||
* form, the only thing this class does is attach a fitness
|
||||
* value to it and makes it the appropriate type (derives it from EO).
|
||||
*
|
||||
* @ingroup Utilities
|
||||
*/
|
||||
|
||||
template <class Fit, class External>
|
||||
class eoExternalEO : public EO<Fit>, virtual public External
|
||||
{
|
||||
|
|
@ -74,7 +75,9 @@ public :
|
|||
|
||||
};
|
||||
|
||||
/// To remove ambiguities between EO<F> and External, streaming operators are defined yet again
|
||||
/** To remove ambiguities between EO<F> and External, streaming operators are defined yet again
|
||||
* @ingroup Utilities
|
||||
*/
|
||||
template <class F, class External>
|
||||
std::ostream& operator<<(std::ostream& os, const eoExternalEO<F, External>& eo)
|
||||
{
|
||||
|
|
@ -82,7 +85,9 @@ std::ostream& operator<<(std::ostream& os, const eoExternalEO<F, External>& eo)
|
|||
return os;
|
||||
}
|
||||
|
||||
/// To remove ambiguities between EO<F> and External, streaming operators are defined yet again
|
||||
/** To remove ambiguities between EO<F> and External, streaming operators are defined yet again
|
||||
* @ingroup Utilities
|
||||
*/
|
||||
template <class F, class External>
|
||||
std::istream& operator>>(std::istream& is, eoExternalEO<F, External>& eo)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -40,6 +40,8 @@
|
|||
External func();
|
||||
|
||||
Where External is the user defined struct or class
|
||||
|
||||
@ingroup Utilities
|
||||
*/
|
||||
template <class F, class External, class ExternalEO = eoExternalEO<F, External> >
|
||||
class eoExternalInit : public eoInit<ExternalEO>
|
||||
|
|
@ -68,6 +70,8 @@ private :
|
|||
Fit func(External&);
|
||||
|
||||
Where External is the user defined struct or class and Fit the fitness type
|
||||
|
||||
@ingroup Utilities
|
||||
*/
|
||||
template <class F, class External, class ExternalEO = eoExternalEO<F, External> >
|
||||
class eoExternalEvalFunc : public eoEvalFunc<ExternalEO>
|
||||
|
|
@ -96,6 +100,8 @@ class eoExternalEvalFunc : public eoEvalFunc<ExternalEO>
|
|||
|
||||
Where External is the user defined struct or class.
|
||||
The function should return true when it changed something, false otherwise
|
||||
|
||||
@ingroup Utilities
|
||||
*/
|
||||
|
||||
template <class F, class External, class ExternalEO = eoExternalEO<F, External> >
|
||||
|
|
@ -123,6 +129,8 @@ class eoExternalMonOp : public eoMonOp<ExternalEO>
|
|||
|
||||
Where External is the user defined struct or class
|
||||
The function should return true when it changed something, false otherwise
|
||||
|
||||
@ingroup Utilities
|
||||
*/
|
||||
template <class F, class External, class ExternalEO = eoExternalEO<F, External> >
|
||||
class eoExternalBinOp : public eoBinOp<ExternalEO>
|
||||
|
|
@ -149,6 +157,8 @@ class eoExternalBinOp : public eoBinOp<ExternalEO>
|
|||
|
||||
Where External is the user defined struct or class
|
||||
The function should return true when it changed something, false otherwise
|
||||
|
||||
@ingroup Utilities
|
||||
*/
|
||||
template <class F, class External, class ExternalEO = eoExternalEO<F, External> >
|
||||
class eoExternalQuadOp : public eoQuadOp<ExternalEO>
|
||||
|
|
|
|||
|
|
@ -37,7 +37,11 @@
|
|||
// eoString
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
/** Adaptor that turns an STL std::string into an EO */
|
||||
/** Adaptor that turns an STL std::string into an EO
|
||||
|
||||
@ingroup Representations
|
||||
@ingroup Utilities
|
||||
*/
|
||||
template <class fitnessT >
|
||||
class eoString: public EO<fitnessT>, public std::string
|
||||
{
|
||||
|
|
|
|||
Reference in a new issue