This repository contains a library to implement a bidirected graph.
E.g.
It supports several operations such as getting the number of nodes, getting number of edges, add new nodes and edges, checking if two nodes are connected, amongst others.
- C
- graph.c: Graph implementation.
- graph.h: Header file for graph.
- node.c: Implementation for node elements in the graph.
- node.h: Header file for node.
- types.h: Generic header.
- main.c: Program which performs a series of tests and outputs results.
- makefile: Rule for 'make' to compile and execute main.
To execute main program, in '/src' run:
$ make
$ ./main