bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
Loading...
Searching...
No Matches
optimizer_type.h
Go to the documentation of this file.
1#ifndef OPTIMIZER_TYPE_H
2#define OPTIMIZER_TYPE_H
3
5#include <string>
6
7namespace cuberl {
8namespace maths{
9namespace optim{
10
14//BETTER_ENUM(OptimzerType, char, INVALID_TYPE=-1, GD=0, SGD, ADAM, RSPROP);
15
17{
18 INVALID_TYPE=-1,
19 GD=0,
20 SGD,
21 ADAM,
22 RSPROP
23};
24
29
30//inline
31//std::string to_string(OptimizerType type){return type._to_string();}
32
33inline
34constexpr bool compare(OptimizerType tp1, OptimizerType tp2){
35 return tp1 == tp2;
36}
37
38}
39
40}
41}
42#endif // OPTIMIZER_TYPE_H
int int_t
integer type
Definition bitrl_types.h:33
OptimizerType
The RenderModeType enum.
Definition optimizer_type.h:17
constexpr bool compare(OptimizerType tp1, OptimizerType tp2)
to_string. Returns the RenderModeType to its stringrepresentation
Definition optimizer_type.h:34
Various utilities used when working with RL problems.
Definition cuberl_types.h:16