aboutsummaryrefslogtreecommitdiff
path: root/include/HyperNeat/Utils/Random.hpp
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2024-02-29 19:04:34 +0100
committerPaul Oliver <contact@pauloliver.dev>2024-02-29 19:16:14 +0100
commite6ab4a8ed100d5d5b7611c74cf3ccd556f1f1d71 (patch)
tree129cf13c2f9b3eae54402300db4570815789a02a /include/HyperNeat/Utils/Random.hpp
Initial commitHEADmaster
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