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

Vertex Operators

Since a Vertex is manipulated through its pointer, built-in pointer comparison is available to conduct tests such as:

       if (v1 == v2) ... ;

Note that this compares the Vertex pointers, not the Vertex contents.

Operators that in some sense ``copy'' the Vertex are not defined in this package, since it is debatable whether the semantics of such a copy should include a copy of the attached Edges.


Next topic: Vertex Information Retrieval
Previous topic: Vertex Constructors and Destructors

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