MachineIntelligenceCore:Visualization
OpenGLTrainThenTestApplication.hpp
Go to the documentation of this file.
1 
23 #ifndef SRC_OPENGL_APPLICATION_OPENGLTRAINTHENTESTAPPLICATION_HPP_
24 #define SRC_OPENGL_APPLICATION_OPENGLTRAINTHENTESTAPPLICATION_HPP_
25 
27 
28 namespace mic {
29 namespace opengl {
30 namespace application {
31 
33 public:
38  OpenGLTrainThenTestApplication(std::string node_name_);
39 
44 
45 protected:
49  virtual bool performSingleStep();
50 
55  virtual bool performLearningStep() = 0;
56 
61  virtual bool performTestingStep() = 0;
62 
63 };
64 
65 } /* namespace application */
66 } /* namespace opengl */
67 } /* namespace mic */
68 
69 #endif /* SRC_OPENGL_APPLICATION_OPENGLTRAINTHENTESTAPPLICATION_HPP_ */
An abstract class implementing basic functions for two-threaded, OpenGL-based applications. Introduces the execution phases that are typical for all learning/classification applications, imposes fine code granulation.