graph.h

This interface exports a parameterized Graph class used to represent graphs, which consist of a set of nodes and a set of arcs.
Class
Graph<NodeType,ArcType> This class represents a graph with the specified node and arc types.
Functions
nodeCompare Standard comparison function for nodes.
arcCompare Standard comparison function for arcs.

Function detail


int nodeCompare(NodeType *n1, NodeType *n2);
Standard comparison function for nodes.

int arcCompare(ArcType *a1, ArcType *a2);
Standard comparison function for arcs.