bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitrl::envs Namespace Reference

Namespaces

namespace  classic_control
namespace  connect2
namespace  gdrl
namespace  grid_world
namespace  gymnasium
namespace  multi_agent
namespace  bandits

Classes

class  EnvBase
 Base class interface for Reinforcement Learning environments. More...
struct  ScalarDiscreteEnv
struct  ContinuousVectorStateDiscreteActionEnv
struct  ContinuousVectorStateContinuousVectorActionEnv
struct  ContinuousVectorStateContinuousScalarBoundedActionEnv
struct  DiscreteVectorStateDiscreteActionEnv
class  ParallelEnvs
 Several copies of an environment, stepped at the same time on the threads of a bitsim::utils::concurrency::ThreadPool. More...
struct  ScalarDiscreteSpace
 A scalar discrete space can be used to denote a space that only has a single value at each time. For example consider the FrozenLake environment then both the state and the action spaces are ScalarDiscreteSpace. More...
struct  ContinuousScalareSpace
struct  ContinuousVectorSpace
struct  DiscreteVectorSpace

Functions

template<typename EnvType, typename ActionSelector>
std::vector< typename EnvType::time_step_type > create_trajectory (EnvType &env, ActionSelector &action_selector, uint_t max_steps)

Function Documentation

◆ create_trajectory()

template<typename EnvType, typename ActionSelector>
std::vector< typename EnvType::time_step_type > bitrl::envs::create_trajectory ( EnvType & env,
ActionSelector & action_selector,
uint_t max_steps )
Todo
write docs