Class sdm::ast::state_transition_encoder
Class List > sdm > ast > state_transition_encoder
encodes state transition dynamics (i.e. TabularStateDynamics class)
#include <dynamics_encoders.hpp>
Inherits the following classes: boost::static_visitor<>
Public Functions
Type | Name |
---|---|
void | operator() (const transition_entry_1_t & t1) |
void | operator() (const transition_entry_2_t & t2) |
void | operator() (const transition_entry_3_t & t3) |
state_transition_encoder (const std::shared_ptr< DiscreteSpace > & st_space, const std::shared_ptr< DiscreteSpace > & ag_space, const std::shared_ptr< MultiDiscreteSpace > & act_space, const std::shared_ptr< TabularStateDynamics > & state_dynamics) |
Protected Attributes
Type | Name |
---|---|
std::shared_ptr< MultiDiscreteSpace > | action_space_ |
std::shared_ptr< DiscreteSpace > | agent_space_ |
std::shared_ptr< TabularStateDynamics > | state_dynamics_ |
std::shared_ptr< DiscreteSpace > | state_space_ |
Public Functions Documentation
function operator() [1/3]
void sdm::ast::state_transition_encoder::operator() (
const transition_entry_1_t & t1
)
function operator() [2/3]
void sdm::ast::state_transition_encoder::operator() (
const transition_entry_2_t & t2
)
function operator() [3/3]
void sdm::ast::state_transition_encoder::operator() (
const transition_entry_3_t & t3
)
function state_transition_encoder
sdm::ast::state_transition_encoder::state_transition_encoder (
const std::shared_ptr< DiscreteSpace > & st_space,
const std::shared_ptr< DiscreteSpace > & ag_space,
const std::shared_ptr< MultiDiscreteSpace > & act_space,
const std::shared_ptr< TabularStateDynamics > & state_dynamics
)
Protected Attributes Documentation
variable action_space_
std::shared_ptr<MultiDiscreteSpace> sdm::ast::state_transition_encoder::action_space_;
variable agent_space_
std::shared_ptr<DiscreteSpace> sdm::ast::state_transition_encoder::agent_space_;
variable state_dynamics_
std::shared_ptr<TabularStateDynamics> sdm::ast::state_transition_encoder::state_dynamics_;
variable state_space_
std::shared_ptr<DiscreteSpace> sdm::ast::state_transition_encoder::state_space_;
The documentation for this class was generated from the following file src/sdm/parser/encoders/dynamics_encoders.hpp