23 #ifndef SRC_APPLICATION_HISTOGRAMFILTERMAZELOCALIZATION_HPP_
24 #define SRC_APPLICATION_HISTOGRAMFILTERMAZELOCALIZATION_HPP_
26 #include <types/MatrixTypes.hpp>
32 #include <opengl/application/OpenGLApplication.hpp>
33 #include <opengl/visualization/WindowCollectorChart.hpp>
35 #include <types/Action2D.hpp>
36 using namespace mic::opengl::visualization;
41 namespace application {
64 virtual void initializePropertyDependentVariables();
71 virtual void initialize(
int argc,
char* argv[]);
76 virtual bool performSingleStep();
81 void createDataContainers();
87 void storeCurrentStateInDataContainers(
bool synchronize_);
127 mic::configuration::Property<short>
action;
Class implementing a histogram filter based solution of the maze-of-digits localization problem...
mic::configuration::Property< double > hit_factor
Property: variable denoting the hit factor (the gain when the observation coincides with current posi...
mic::configuration::Property< short > hidden_maze_number
Property: variable denoting in which maze are we right now (unknown, to be determined).
mic::configuration::Property< std::string > statistics_filename
Property: name of the file to which the statistics will be exported.
mic::utils::DataCollectorPtr< std::string, float > coordinate_y_collector_ptr
WindowCollectorChart< float > * w_current_maze_chart
Window for displaying chart with statistics on current maze number.
mic::configuration::Property< short > hidden_y
Property: variable denoting the y position are we right now (unknown, to be determined).
mic::utils::DataCollectorPtr< std::string, float > coordinate_x_collector_ptr
mic::importers::MazeMatrixImporter importer
Importer responsible for loading mazes from file.
WindowCollectorChart< float > * w_current_coordinate_x
Window for displaying chart with statistics on current x coordinate.
mic::configuration::Property< double > miss_factor
Property: variable denoting the miss factor (the gain when the observation does not coincide with cur...
Class implementing a histogram filter based solution of the maze-of-digits problem.
WindowCollectorChart< float > * w_current_coordinate_y
Window for displaying chart with statistics on current y coordinate.
mic::configuration::Property< double > exact_move_probability
Property: variable storing the probability that we made the exact move (x+dx).
mic::configuration::Property< double > undershoot_move_probability
Property: variable storing the probability that we made the "undershoot" move (d+dx-1).
mic::utils::DataCollectorPtr< std::string, float > maze_collector_ptr
mic::configuration::Property< short > hidden_x
Property: variable denoting the x position are we right now (unknown, to be determined).
mic::utils::DataCollectorPtr< std::string, float > max_probabilities_collector_ptr
Data collector with maximal maze/x/y/ probabilities.
mic::configuration::Property< double > overshoot_move_probability
Property: variable storing the probability that we made the "overshoot" move (d+dx+1).
mic::configuration::Property< double > epsilon
Property: variable denoting epsilon in aciton selection (the probability "below" which a random actio...
mic::algorithms::MazeHistogramFilter hf
Histogram filter.
WindowCollectorChart< float > * w_max_probabilities_chart
Window for displaying chart with maximal maze/x/y/ probabilities.
mic::configuration::Property< short > action
Property: performed action (0-3: NESW, -3: random, -2: sumOfMostUniquePatchesActionSelection, -1: mostUniquePatchActionSelection).