Template Struct ContinuousVectorStateDiscreteActionEnv

Struct Documentation

template<uint_t StateSpaceSize, uint_t action_end, uint_t action_start = 0, typename StateSpaceItemType = real_t>
struct ContinuousVectorStateDiscreteActionEnv

Public Types

typedef ContinuousVectorSpace<StateSpaceSize, StateSpaceItemType> state_space
typedef state_space::space_item_type state_type

the State type

typedef ScalarDiscreteSpace<action_start, action_end> action_space

item_t

typedef action_space::space_item_type action_type

the Action type

Public Static Functions

static inline action_type sample_action()

sample

Returns:

Public Static Attributes

static constexpr uint_t STATE_SPACE_SIZE = state_space::size

state space size

static constexpr uint_t ACTION_SPACE_SIZE = action_space::size

action space size