aboutsummaryrefslogtreecommitdiff
path: root/include/HyperNeat/Utils/Random.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/HyperNeat/Utils/Random.hpp')
-rw-r--r--include/HyperNeat/Utils/Random.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/HyperNeat/Utils/Random.hpp b/include/HyperNeat/Utils/Random.hpp
new file mode 100644
index 0000000..4a4d979
--- /dev/null
+++ b/include/HyperNeat/Utils/Random.hpp
@@ -0,0 +1,14 @@
+#ifndef __HYPERNEAT_RANDOM_HPP__
+#define __HYPERNEAT_RANDOM_HPP__
+
+#include <random>
+
+namespace hyperneat
+{
+ using RandGen = std::mt19937_64;
+ using IntDist = std::uniform_int_distribution<size_t>;
+ using RealDist = std::uniform_real_distribution<double>;
+ using BellDist = std::normal_distribution<double>;
+}
+
+#endif