Struct sdm::ast::joint_item_encode

Class List > sdm > ast > joint_item_encode

encodes the input into a joint element (vector of number)

  • #include <item_encoders.hpp>

Public Functions

Type Name
std::vector< std::shared_ptr< Item > > encode (const std::vector< identifier_t > & list_items) const
joint_item_encode (const std::shared_ptr< MultiDiscreteSpace > & joint_item_space, const std::shared_ptr< DiscreteSpace > & ag_space)

Protected Attributes

Type Name
std::shared_ptr< DiscreteSpace > ag_space_
std::shared_ptr< MultiDiscreteSpace > joint_item_space_

Public Functions Documentation

function encode

inline std::vector< std::shared_ptr< Item > > sdm::ast::joint_item_encode::encode (
    const std::vector< identifier_t > & list_items
) const

function joint_item_encode

inline sdm::ast::joint_item_encode::joint_item_encode (
    const std::shared_ptr< MultiDiscreteSpace > & joint_item_space,
    const std::shared_ptr< DiscreteSpace > & ag_space
) 

Protected Attributes Documentation

variable ag_space_

std::shared_ptr<DiscreteSpace> sdm::ast::joint_item_encode::ag_space_;

variable joint_item_space_

std::shared_ptr<MultiDiscreteSpace> sdm::ast::joint_item_encode::joint_item_space_;

The documentation for this class was generated from the following file src/sdm/parser/encoders/item_encoders.hpp