- #ifndef __GRAPH__
- #define __GRAPH__
- #include <igraph.h>
- /* The igraph library doesn't have an innate way to test whether graphs have been initialised. */
- typedef struct graph_t {
- igraph_t* graph;
- igraph_bool_t initialised;
- } graph_t;
- graph_t* graph_init();
- void graph_destroy(graph_t *g);
- #endif
|