mlpack 3.4.2
Public Member Functions | Static Public Attributes | List of all members
DiscreteActionEnv::State Class Reference

Implementation of state of the dummy environment. More...

#include <env_type.hpp>

Public Member Functions

 State ()
 Construct a state instance. More...
 
 State (const arma::colvec &data)
 Construct a state instance from given data. More...
 
arma::colvec & Data ()
 Modify the internal representation of the state. More...
 
const arma::colvec & Encode () const
 Encode the state to a column vector. More...
 

Static Public Attributes

static size_t dimension = 0
 Dimension of the encoded state. More...
 

Detailed Description

Implementation of state of the dummy environment.

Definition at line 38 of file env_type.hpp.

Constructor & Destructor Documentation

◆ State() [1/2]

State ( )
inline

Construct a state instance.

Definition at line 44 of file env_type.hpp.

◆ State() [2/2]

State ( const arma::colvec &  data)
inline

Construct a state instance from given data.

Parameters
dataData for the state.

Definition at line 52 of file env_type.hpp.

Member Function Documentation

◆ Data()

arma::colvec & Data ( )
inline

Modify the internal representation of the state.

Definition at line 56 of file env_type.hpp.

◆ Encode()

const arma::colvec & Encode ( ) const
inline

Encode the state to a column vector.

Definition at line 59 of file env_type.hpp.

Member Data Documentation

◆ dimension

size_t dimension = 0
static

Dimension of the encoded state.

Definition at line 62 of file env_type.hpp.


The documentation for this class was generated from the following file: