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

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

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