From 2af9351db3aa97da9b0d3f23d53a593bc96c8a8e Mon Sep 17 00:00:00 2001 From: Jaron Kent-Dobias Date: Fri, 2 Feb 2018 18:33:22 -0500 Subject: does potts now, no external libraries --- lib/graph.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 lib/graph.h (limited to 'lib/graph.h') diff --git a/lib/graph.h b/lib/graph.h new file mode 100644 index 0000000..eda7630 --- /dev/null +++ b/lib/graph.h @@ -0,0 +1,18 @@ + +#include +#include +#include + +#include "types.h" + +typedef struct { + v_t ne; + v_t nv; + v_t *v_i; + v_t *v_adj; +} graph_t; + +graph_t *graph_create_square(D_t D, L_t L); + +graph_t *graph_add_ext(const graph_t *G); + -- cgit v1.2.3-70-g09d2