User:CalebKennedy/Vertex

   C++ Vertex      



C++ Vertex&lt;VertexType, EdgeType&gt; Vertex is a C++ template class for programming with labeled vertices, edges, and LabeledGraphs Public methods: Vertex constructors and destructor  Vertex(void) Vertex(const unsigned long&) Vertex(const Vertex&) ~Vertex(void) The default Vertex constructor creates an unvisited NULL</A>-labeled vertex of <A href="http://mathworld.wolfram.com/VertexDegree.html">degree</A> zero (no outgoing edges). <A name="oper">Vertex operators</A> <font face="Courier New"> bool operator<(const Vertex&) const bool operator==(const Vertex&) const bool operator!=(const Vertex&) const Vertex& operator=(const Vertex&) Vertex comparison is based on the Vertex's label value. <A href="http://en.wikipedia.org/wiki/Null_%28computer%29">NULL</A> is considered less than all (non-<A href="http://en.wikipedia.org/wiki/Null_%28computer%29">NULL</A>) values. Two vertices are equal if their degrees and labels are equivalent.