Put eoTerm into the eo hierarchy - it was in the air!
Added the className method
This commit is contained in:
parent
83ca890c10
commit
b111bf01aa
1 changed files with 5 additions and 2 deletions
|
|
@ -32,7 +32,7 @@
|
||||||
* false for termination
|
* false for termination
|
||||||
*/
|
*/
|
||||||
template< class EOT>
|
template< class EOT>
|
||||||
class eoTerm {
|
class eoTerm : public eoObject {
|
||||||
public:
|
public:
|
||||||
|
|
||||||
/// Ctors/dtors
|
/// Ctors/dtors
|
||||||
|
|
@ -41,10 +41,13 @@ public:
|
||||||
/** Returns false if the training has to stop, true if it
|
/** Returns false if the training has to stop, true if it
|
||||||
continues \\
|
continues \\
|
||||||
It is non-const since it might change the internal state
|
It is non-const since it might change the internal state
|
||||||
of the object, for instance, updating a counter
|
of the object, for instance, updating local data.
|
||||||
*/
|
*/
|
||||||
virtual bool operator() ( const eoPop< EOT >& _pop ) = 0 ;
|
virtual bool operator() ( const eoPop< EOT >& _pop ) = 0 ;
|
||||||
|
|
||||||
|
/// Class name.
|
||||||
|
virtual string className() const { return "eoTerm"; }
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Reference in a new issue