bitrl & cuberl Documentation
Simulation engine for reinforcement learning agents
Loading...
Searching...
No Matches
lambda_utils.h
Go to the documentation of this file.
1#ifndef LAMBDA_UTILS_H
2#define LAMBDA_UTILS_H
3
4#include "cuberl/base/cubeai_types.h"
5#include <iostream>
6
7namespace cuberl {
8namespace utils {
9
10
15template<typename T>
16auto cubeai_print = [](const T& val) { std::cout << val<<std::endl; };
17
18
19
20
21
22}
23
24}
25
26#endif // ITERATION_COUNTER_H
auto cubeai_print
Utility lambda to print the given item. Requires C++14.
Definition lambda_utils.h:16
Various utilities used when working with RL problems.
Definition cuberl_types.h:16