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
|
||||
*/
|
||||
template< class EOT>
|
||||
class eoTerm {
|
||||
class eoTerm : public eoObject {
|
||||
public:
|
||||
|
||||
/// Ctors/dtors
|
||||
|
|
@ -41,10 +41,13 @@ public:
|
|||
/** Returns false if the training has to stop, true if it
|
||||
continues \\
|
||||
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 ;
|
||||
|
||||
/// Class name.
|
||||
virtual string className() const { return "eoTerm"; }
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Reference in a new issue