t_rbt * adj
The set of arrays, where each arrays represents the adjacency of a given vertex.
A graph implemented using a set of arrays.
Doubly-linked list of generic items.
t_queue * array_to_queue(const t_array *array)
Returns a queue that contains copies of the element in this array.
void * rbt_get(const t_rbt *rbt, const void *key)
Returns the value associated with a specified key.
t_queue * graph_adjacency(const t_graph *graph, const void *v)
Returns the queue with all the vertices in this graph that are adjancent to the specified vertex.
void ds_exit_set(int err)
Set errno to the specified value, print the error message, and exit the process.