23 #ifndef SRC_APPLICATION_GRIDWORLDVALUEITERATION_HPP_
24 #define SRC_APPLICATION_GRIDWORLDVALUEITERATION_HPP_
29 #include <application/Application.hpp>
32 #include <types/MatrixTypes.hpp>
33 #include <types/Action2D.hpp>
34 #include <types/Position2D.hpp>
37 namespace application {
69 virtual void initialize(
int argc,
char* argv[]);
virtual ~GridworldValueIteration()
mic::environments::Gridworld grid_env
The gridworld object.
Class emulating the gridworld environment.
GridworldValueIteration(std::string node_name_="application")
mic::types::MatrixXf state_value_table
Matrix storing values for all states (gridworld w * h). ROW MAJOR(!).
mic::configuration::Property< float > discount_rate
mic::configuration::Property< float > move_noise
std::string streamStateActionTable()
virtual void initializePropertyDependentVariables()
float computeQValueFromValues(mic::types::Position2D pos_, mic::types::NESWAction ac_)
mic::configuration::Property< std::string > statistics_filename
Property: name of the file to which the statistics will be exported.
Class responsible for solving the gridworld problem by applying the reinforcement learning value iter...
virtual bool performSingleStep()
virtual void initialize(int argc, char *argv[])
float computeBestValue(mic::types::Position2D pos_)
mic::configuration::Property< float > step_reward