From b1b18ae49b0d22d3fbd5146eb6416c8b9e4dd62c Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Wed, 12 Dec 2018 23:46:58 -0500 Subject: added support for voronoi graph generation—existing example code does not use it yet MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/include/graph.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/include') 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 #include #include +#include +#include class graph { public: @@ -27,5 +29,6 @@ class graph { std::vector dual_edges; graph(unsigned int Nx, unsigned int Ny); + graph(unsigned int Nx, unsigned int Ny, std::mt19937& rng, double = 0.25); }; -- cgit v1.2.3-70-g09d2