Graph Tools
In dlib, there are two types of graph representations. On the one
hand, there are graphs based on an object which encapsulates the whole
graph, such as the graph and
directed_graph objects. On the
other hand, there are graphs which are represented as simple vectors
of edges. In this case, we use vectors of sample_pair
or ordered_sample_pair objects for undirected
and directed graphs respectively.
|