In file apps/master/GenMM.cpp:

class CoincidenceTerm : public EOTerm< EOString<float> >

Termination object for Genetic MasterMind
Terminates when the number of rules met coincides with the number of rules so far, or if _maxCounter steps have happened without change

Inheritance:


Public Methods

CoincidenceTerm( const rules& _rules, unsigned _maxCounter )
Ctors/dtors
virtual bool operator) ( const EOPop< EOString<float> >& _vEO )
Returns false if the training has to stop, true if it continues

Inherited from EOTerm:


Documentation

Termination object for Genetic MasterMind
Terminates when the number of rules met coincides with the number of rules so far, or if _maxCounter steps have happened without change
CoincidenceTerm( const rules& _rules, unsigned _maxCounter )
Ctors/dtors

virtual bool operator) ( const EOPop< EOString<float> >& _vEO )
Returns false if the training has to stop, true if it continues


This class has no child classes.
Parameters:
_rules - number of rules that have to be met
_maxCounter - maximum number of generations without finding a solutions

alphabetic index hierarchy of classes


BinOp