OpenANN  1.1.0
An open source library for artificial neural networks.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
StateSpace.h
Go to the documentation of this file.
1 #ifndef OPENANN_RL_STATE_SPACE_H_
2 #define OPENANN_RL_STATE_SPACE_H_
3 
4 #include <Eigen/Core>
5 #include <vector>
6 
7 namespace OpenANN
8 {
9 
19 {
20 public:
21  typedef Eigen::VectorXd State;
22  typedef std::vector<State> S;
23  virtual ~StateSpace() {}
24  virtual int stateSpaceDimension() const = 0;
25  virtual bool stateSpaceContinuous() const = 0;
26  virtual int stateSpaceElements() const = 0;
27  virtual const State& stateSpaceLowerBound() const = 0;
28  virtual const State& stateSpaceUpperBound() const = 0;
29  virtual const S& getDiscreteStateSpace() const = 0;
30 };
31 
32 } // namespace OpenANN
33 
34 #endif // OPENANN_RL_STATE_SPACE_H_