Class sdm::InteractiveWorld
Class List > sdm > InteractiveWorld
#include <interactive_world_base.hpp>
Inherits the following classes: sdm::GymInterface
Public Functions
| Type | Name |
|---|---|
| InteractiveWorld (const std::shared_ptr< MDPInterface > & world) |
Public Functions inherited from sdm::GymInterface
| Type | Name |
|---|---|
| virtual std::shared_ptr< Space > | getActionSpaceAt (const std::shared_ptr< Observation > & observation, number t) = 0 Get the action space. |
| virtual std::shared_ptr< Action > | getRandomAction (const std::shared_ptr< Observation > & observation, number t) = 0 Get random action. |
| virtual std::shared_ptr< Observation > | reset () = 0 Reset the environment and return initial observation. |
| virtual std::tuple< std::shared_ptr< Observation >, std::vector< double >, bool > | step (std::shared_ptr< Action > action) = 0 Do a step on the environment. |
Protected Attributes
| Type | Name |
|---|---|
| std::shared_ptr< MDPInterface > | world |
Public Functions Documentation
function InteractiveWorld
sdm::InteractiveWorld::InteractiveWorld (
const std::shared_ptr< MDPInterface > & world
)
Protected Attributes Documentation
variable world
std::shared_ptr<MDPInterface> sdm::InteractiveWorld::world;
The documentation for this class was generated from the following file src/sdm/world/base/interactive_world_base.hpp