#include <Control.hpp>
Inheritance diagram for Control:
Public Member Functions | |
virtual | ~Control () |
virtual void | SetDelay (int d) |
Sets the delay in milliseconds between each iteration. | |
virtual unsigned int | GetIteration () |
Returns the current iteration count. | |
virtual bool | Iterate ()=0 |
The main iteration loop. | |
virtual void | Snapshot () |
A method provided as to allow saving states to disc and so forth. | |
Protected Member Functions | |
Control () | |
virtual bool | IsReadyToIterate () |
virtual bool | IsStopCriteriaMet ()=0 |
Protected Attributes | |
int | m_delay |
unsigned int | m_lastTime |
unsigned int | m_iteration |
The Iterate method should be called to perform an iteration. If iterate returns false, that means it is time to stop and no more iterations will be performed.
|
|
|
|
|
Sets the delay in milliseconds between each iteration. A call to iterate will sleep until it is time to perform that iteration.
|
|
Returns the current iteration count.
|
|
The main iteration loop.
Implemented in GNGControl, RBFClassificationControl, and RBFFunctionApproximationControl. |
|
A method provided as to allow saving states to disc and so forth.
Reimplemented in RBFFunctionApproximationControl. |
|
|
|
Implemented in GNGControl, RBFClassificationControl, and RBFFunctionApproximationControl. |
|
|
|
|
|
|