bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
Loading...
Searching...
No Matches
time_step_type.h
Go to the documentation of this file.
1#ifndef TIME_STEP_TYPE_H
2#define TIME_STEP_TYPE_H
3
4#include "bitrl/bitrl_types.h"
5#include <string>
6#include <vector>
7
8namespace bitrl
9{
10
11
15enum class TimeStepTp : uint_t
16{
17 FIRST = 0,
18 MID = 1,
19 LAST = 2,
20 INVALID_TYPE = 3
21};
22
27{
28 static TimeStepTp time_step_type_from_int(int aidx);
30 static std::string to_string(TimeStepTp type);
31 static std::vector<TimeStepTp> time_step_type_from_int(const std::vector<uint_t> &types);
32};
33
34} // namespace bitrl
35
36#endif // TIME_STEP_TYPE_H
Definition bitrl_consts.h:14
std::size_t uint_t
uint_t
Definition bitrl_types.h:43
TimeStepTp
The TimeStepTp enum.
Definition time_step_type.h:16
Utilities for TimeStepTp.
Definition time_step_type.h:27
static std::string to_string(TimeStepTp type)
Definition time_step_type.cpp:37
static TimeStepTp time_step_type_from_int(int aidx)
Definition time_step_type.cpp:31