summaryrefslogtreecommitdiff
path: root/lib/include/wolff/graph.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/include/wolff/graph.hpp')
-rw-r--r--lib/include/wolff/graph.hpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/include/wolff/graph.hpp b/lib/include/wolff/graph.hpp
new file mode 100644
index 0000000..165544a
--- /dev/null
+++ b/lib/include/wolff/graph.hpp
@@ -0,0 +1,21 @@
+
+#pragma once
+
+#include <inttypes.h>
+#include <cmath>
+#include <stdlib.h>
+#include <vector>
+
+#include "types.h"
+
+class graph_t {
+ public:
+ v_t ne;
+ v_t nv;
+ std::vector<std::vector<v_t>> v_adj;
+ std::vector<std::vector<double>> coordinate;
+
+ graph_t(D_t D, L_t L);
+ void add_ext();
+};
+