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

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(C++). 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?

© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005