MachineIntelligenceCore:ReinforcementLearning
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
MazeMatrixImporter.hpp
Go to the documentation of this file.
1 
23 #ifndef SRC_importers_MAZEMATRIXIMPORTER_HPP_
24 #define SRC_importers_MAZEMATRIXIMPORTER_HPP_
25 
26 #include <importers/Importer.hpp>
27 
28 #include <types/MatrixTypes.hpp>
29 
30 namespace mic {
31 namespace importers {
32 
33 class MazeMatrixImporter : public mic::importers::Importer< mic::types::MatrixXi , size_t> {
34 public:
39  MazeMatrixImporter(std::string node_name_ = "maze_importer");
40 
44  virtual ~MazeMatrixImporter() { };
45 
50  bool importData();
51 
56 
58  size_t maze_width;
59 
61  size_t maze_height;
62 
63 protected:
67  mic::configuration::Property<std::string> data_filename;
68 
69 };
70 
71 } /* namespace importers */
72 } /* namespace mic */
73 
74 namespace mic {
75 namespace types {
76 
81 typedef mic::types::Sample<mic::types::MatrixXi, size_t> MazeSample;
82 
87 typedef mic::types::Batch<mic::types::MatrixXi, size_t> MazeBatch;
88 
89 }//: namespace types
90 }//: namespace mic
91 
92 
93 #endif /* SRC_importers_MAZEMATRIXIMPORTER_HPP_ */
mic::configuration::Property< std::string > data_filename
mic::types::Batch< mic::types::MatrixXi, size_t > MazeBatch
The <MatrixXi-size_t> batch type used by Maze Importer.
size_t maze_height
Height of a maze.
MazeMatrixImporter(std::string node_name_="maze_importer")
mic::types::Sample< mic::types::MatrixXi, size_t > MazeSample
The <MatrixXi-size_t> sample type used by Maze Importer.