Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'base/random.hpp')
-rw-r--r--base/random.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/base/random.hpp b/base/random.hpp
new file mode 100644
index 0000000000..b17189e36c
--- /dev/null
+++ b/base/random.hpp
@@ -0,0 +1,9 @@
+#pragma once
+
+#include <random>
+#include <vector>
+
+namespace my
+{
+std::vector<size_t> RandomSample(size_t n, size_t k, std::minstd_rand & rng);
+} // my