bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
with_dynamics_mixin.h
Go to the documentation of this file.
1#ifndef WITH_DYNAMICS_MIXIN_H
2#define WITH_DYNAMICS_MIXIN_H
3
5
6#include <tuple>
7#include <vector>
8
9namespace bitrl
10{
11namespace rl
12{
13namespace envs
14{
15
17{
18 static constexpr bool has_dynamics{true};
19
23 virtual ~with_dynamics_mixin() = default;
24
28 virtual std::vector<std::tuple<real_t, uint_t, real_t, bool>>
29 transition_dynamics(uint_t s, uint_t aidx) const = 0;
30
31 protected:
36};
37
38} // namespace envs
39} // namespace rl
40} // namespace bitrl
41
42#endif // WITH_DYNAMICS_MIXIN_H
Definition with_dynamics_mixin.h:14
Definition dummy_agent.h:9
Various utilities used when working with RL problems.
Definition bitrl_log.h:25
std::size_t uint_t
uint_t
Definition bitsim_types.h:40
virtual std::vector< std::tuple< real_t, uint_t, real_t, bool > > transition_dynamics(uint_t s, uint_t aidx) const =0
transition_dynamics
static constexpr bool has_dynamics
Definition with_dynamics_mixin.h:18