GClasses
|
Calls its sub-reporter on start, the first iteration of a block of "interval" iterations, and finally on stop.
#include <GSelfOrganizingMap.h>
Public Member Functions | |
IterationIntervalReporter (std::shared_ptr< Reporter > &subReporter, unsigned interval) | |
Sets up this reporter to call the subReporter the first out of every interval status updates. More... | |
virtual | ~IterationIntervalReporter () |
Destruct this reporter object. More... | |
virtual void | newStatus (unsigned iteration, unsigned subIteration, const GSelfOrganizingMap &map) |
Call the newStatus of the subreporter the first time this is called, then wait interval-1 calls before calling it again. More... | |
virtual void | start (const GMatrix *trainingData, int maxIterations=-1, int maxSubIterations=-1) |
Call the sub-reporter's start. More... | |
virtual void | stop (unsigned iteration, unsigned subIteration, const GSelfOrganizingMap &map) |
Call the sub-reporter's stop. More... | |
Public Member Functions inherited from GClasses::SOM::Reporter | |
virtual | ~Reporter () |
Destruct this reporter object. More... | |
|
inline |
Sets up this reporter to call the subReporter the first out of every interval status updates.
|
inlinevirtual |
Destruct this reporter object.
|
inlinevirtual |
Call the newStatus of the subreporter the first time this is called, then wait interval-1 calls before calling it again.
Implements GClasses::SOM::Reporter.
|
inlinevirtual |
Call the sub-reporter's start.
Reimplemented from GClasses::SOM::Reporter.
|
inlinevirtual |
Call the sub-reporter's stop.
Reimplemented from GClasses::SOM::Reporter.