summaryrefslogtreecommitdiff
path: root/lib/graph.h
blob: eda76309a3e92957d5a071fe522557e0d6e2f6c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#include <inttypes.h>
#include <math.h>
#include <stdlib.h>

#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);