Random.hpp
Go to the documentation of this file.
1 
28 /*
29  * Random.hpp
30  *
31  * @date 14.07.2017
32  * @author Johan M. von Behren <johan@vonbehren.eu>
33  */
34 
35 #ifndef LVR2_UTIL_RANDOM_H_
36 #define LVR2_UTIL_RANDOM_H_
37 
38 #include <random>
39 #include <iterator>
40 
41 namespace lvr2
42 {
43 
56 template<typename Iter, typename RandomGenerator>
57 Iter select_randomly(Iter start, Iter end, RandomGenerator& g);
58 
69 template<typename Iter>
70 Iter select_randomly(Iter start, Iter end);
71 
72 } // namespace lvr2
73 
74 #include "lvr2/util/Random.tcc"
75 
76 #endif // LVR2_UTIL_RANDOM_H_
Iter select_randomly(Iter start, Iter end, RandomGenerator &g)


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Mon Feb 28 2022 22:46:09