|
| State () |
| Construct a state instance.
|
|
| State (const arma::colvec &data) |
| Construct a state instance from given data. More...
|
|
arma::colvec & | Data () |
| Modify the state representation.
|
|
double | Theta1 () const |
| Get value of theta (one).
|
|
double & | Theta1 () |
| Modify value of theta (one).
|
|
double | Theta2 () const |
| Get value of theta (two).
|
|
double & | Theta2 () |
| Modify value of theta (two).
|
|
double | AngularVelocity1 () const |
| Get value of Angular velocity (one).
|
|
double & | AngularVelocity1 () |
| Modify the angular velocity (one).
|
|
double | AngularVelocity2 () const |
| Get value of Angular velocity (two).
|
|
double & | AngularVelocity2 () |
| Modify the angular velocity (two).
|
|
const arma::colvec & | Encode () const |
| Encode the state to a column vector.
|
|
|
static constexpr size_t | dimension = 4 |
| Dimension of the encoded state.
|
|
◆ State()
mlpack::rl::Acrobot::State::State |
( |
const arma::colvec & |
data | ) |
|
|
inline |
Construct a state instance from given data.
- Parameters
-
data | Data for the theta and angular velocity of two links. |
The documentation for this class was generated from the following file:
- src/mlpack/methods/reinforcement_learning/environment/acrobot.hpp