Class sdm::ast::state_dynamics_encoder
Class List > sdm > ast > state_dynamics_encoder
encodes state transition dynamics (i.e. TabularStateDynamics class)
#include <dynamics_encoders.hpp>
Public Functions
Type | Name |
---|---|
std::shared_ptr< TabularStateDynamics > | encode (const transition_t & transits) |
state_dynamics_encoder (const std::shared_ptr< DiscreteSpace > & state_space, const std::shared_ptr< DiscreteSpace > & agent_space, const std::shared_ptr< MultiDiscreteSpace > & action_space) |
Protected Attributes
Type | Name |
---|---|
std::shared_ptr< MultiDiscreteSpace > | action_space_ |
std::shared_ptr< DiscreteSpace > | agent_space_ |
std::shared_ptr< DiscreteSpace > | state_space_ |
Public Functions Documentation
function encode
std::shared_ptr< TabularStateDynamics > sdm::ast::state_dynamics_encoder::encode (
const transition_t & transits
)
function state_dynamics_encoder
sdm::ast::state_dynamics_encoder::state_dynamics_encoder (
const std::shared_ptr< DiscreteSpace > & state_space,
const std::shared_ptr< DiscreteSpace > & agent_space,
const std::shared_ptr< MultiDiscreteSpace > & action_space
)
Protected Attributes Documentation
variable action_space_
std::shared_ptr<MultiDiscreteSpace> sdm::ast::state_dynamics_encoder::action_space_;
variable agent_space_
std::shared_ptr<DiscreteSpace> sdm::ast::state_dynamics_encoder::agent_space_;
variable state_space_
std::shared_ptr<DiscreteSpace> sdm::ast::state_dynamics_encoder::state_space_;
The documentation for this class was generated from the following file src/sdm/parser/encoders/dynamics_encoders.hpp