dded the className method for eoMon, eoBin and eoQuad classes
This commit is contained in:
parent
5682f296cd
commit
683bc2e44f
1 changed files with 3 additions and 0 deletions
|
|
@ -85,6 +85,7 @@ public:
|
||||||
/// Ctor
|
/// Ctor
|
||||||
eoMonOp()
|
eoMonOp()
|
||||||
: eoOp<EOType>( eoOp<EOType>::unary ) {};
|
: eoOp<EOType>( eoOp<EOType>::unary ) {};
|
||||||
|
virtual string className() const {return "eoMonOp";};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -98,6 +99,7 @@ public:
|
||||||
/// Ctor
|
/// Ctor
|
||||||
eoBinOp()
|
eoBinOp()
|
||||||
:eoOp<EOType>( eoOp<EOType>::binary ) {};
|
:eoOp<EOType>( eoOp<EOType>::binary ) {};
|
||||||
|
virtual string className() const {return "eoBinOp";};
|
||||||
};
|
};
|
||||||
|
|
||||||
/** Quadratic genetic operator: subclasses eoOp, and defines basically the
|
/** Quadratic genetic operator: subclasses eoOp, and defines basically the
|
||||||
|
|
@ -110,6 +112,7 @@ public:
|
||||||
/// Ctor
|
/// Ctor
|
||||||
eoQuadraticOp()
|
eoQuadraticOp()
|
||||||
:eoOp<EOType>( eoOp<EOType>::quadratic ) {};
|
:eoOp<EOType>( eoOp<EOType>::quadratic ) {};
|
||||||
|
virtual string className() const {return "eoQuadOp";};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Reference in a new issue