Implementation of action of Pendulum. More...

Public Member Functions

 Action ()
 Construct an action instance. More...

 

Public Attributes

std::vector< double > action
 

Static Public Attributes

static const size_t size = 1
 

Detailed Description

Implementation of action of Pendulum.

In Pendulum, the action represents the torque to be applied. This value is bounded in range -2.0 to 2.0 by default.

Definition at line 95 of file pendulum.hpp.

Constructor & Destructor Documentation

◆ Action()

Action ( )
inline

Construct an action instance.

Definition at line 101 of file pendulum.hpp.

Member Data Documentation

◆ action

std::vector<double> action

Definition at line 103 of file pendulum.hpp.

Referenced by Pendulum::Sample().

◆ size

const size_t size = 1
static

Definition at line 105 of file pendulum.hpp.


The documentation for this class was generated from the following file:
  • /home/ryan/src/mlpack.org/_src/mlpack-git/src/mlpack/methods/reinforcement_learning/environment/pendulum.hpp