DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
The C++ Graph Classes: A Tutorial - Graph(3C++) and Graph_alg(3C++)

Graphs and Sets

We briefly mentioned that a graph contains sets of vertices and edges: there is no implicit ordering among the edges associated with a vertex, or among the vertices in a graph. The Graph classes use the Set(3C++). library extensively to represent the sets of information associated with a Graph. Specifically, since the Graph manipulates pointers to Vertices and Edges, Set_of_p (which is a set of pointers) is used.

We'll use Sets to help answer the second question from the section, ``Example: Manufacturing Process of a Widget''.


Next topic: Answering the Second Question: Which Modules are Immediately Needed to Compose Module K?
Previous topic: Where is a Given Module Needed?

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004