MachineIntelligenceCore:Visualization
|
#include <OpenGLTrainThenTestApplication.hpp>
Public Member Functions | |
OpenGLTrainThenTestApplication (std::string node_name_) | |
virtual | ~OpenGLTrainThenTestApplication () |
Public Member Functions inherited from mic::opengl::application::OpenGLApplication | |
OpenGLApplication (std::string node_name_) | |
virtual | ~OpenGLApplication () |
virtual void | initialize (int argc, char *argv[])=0 |
virtual void | run () |
Protected Member Functions | |
virtual bool | performSingleStep () |
virtual bool | performLearningStep ()=0 |
virtual bool | performTestingStep ()=0 |
Protected Member Functions inherited from mic::opengl::application::OpenGLApplication | |
virtual void | processingThread (void) |
Function realizing the processing thread. Implements basic quit/pause/single step functionality. In each step it calls the performSingleStep() method. Can be overridden by derived classes. More... | |
virtual void | performInitialStep (void) |
The initial step - empty, to be overridden. More... | |
virtual void | performFinalStep (void) |
The initial step - empty, to be overridden. More... | |
Definition at line 32 of file OpenGLTrainThenTestApplication.hpp.
mic::opengl::application::OpenGLTrainThenTestApplication::OpenGLTrainThenTestApplication | ( | std::string | node_name_ | ) |
Default constructor. Sets the application/node name and registers properties.
node_name_ | Name of the application/node (in configuration file). |
Definition at line 30 of file OpenGLTrainThenTestApplication.cpp.
|
inlinevirtual |
Default destructor - empty.
Definition at line 43 of file OpenGLTrainThenTestApplication.hpp.
|
protectedpure virtual |
Perform learning step - abstract, to be overridden.
Referenced by performSingleStep().
|
protectedvirtual |
Performs single step of computations. Depending on the state, calls learning or testing step - switches from learning to testing then learning return false.
Definition at line 36 of file OpenGLTrainThenTestApplication.cpp.
References performLearningStep(), and performTestingStep().
|
protectedpure virtual |
Perform testing step - abstract, to be overridden.
Referenced by performSingleStep().