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_
lvr2::select_randomly
Iter select_randomly(Iter start, Iter end, RandomGenerator &g)
lvr2
Definition: BaseBufferManipulators.hpp:39


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 Wed Mar 2 2022 00:37:24