summaryrefslogtreecommitdiff
path: root/lib/include
diff options
context:
space:
mode:
Diffstat (limited to 'lib/include')
-rw-r--r--lib/include/graph.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/include/graph.hpp b/lib/include/graph.hpp
index 9a630ff..75d54f4 100644
--- a/lib/include/graph.hpp
+++ b/lib/include/graph.hpp
@@ -4,6 +4,8 @@
#include <cmath>
#include <vector>
#include <array>
+#include <map>
+#include <random>
class graph {
public:
@@ -27,5 +29,6 @@ class graph {
std::vector<edge> dual_edges;
graph(unsigned int Nx, unsigned int Ny);
+ graph(unsigned int Nx, unsigned int Ny, std::mt19937& rng, double = 0.25);
};