User:CalebKennedy/Couple

   C++ Couple      



C++ Couple&lt;VertexType, EdgeType&gt; Couple is a C++ template class for programming with LabeledGraphs. Public methods: couple constructors and destructor  couple(void) couple(VertexType* const, VertexType* const, const EdgeType* const) couple(const couple&) ~couple(void) The default couple constructor creates a NULL</A> labeled couple consisting of a std::pair of vertex pointers initialized to <A href="http://en.wikipedia.org/wiki/Null_%28computer%29">NULL</A>. <A name="oper">couple operators</A> <font face="Courier New"> bool operator<(const couple&) const bool operator==(const couple&) const bool operator!=(const couple&) const couple& operator=(const couple&) Couple comparison is unordered. <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. Vertex equality is unordered, i.e., couple(a, b) is equal to couple(b, a).

<A name="adjacent">adjacent</A> <font face="Courier New"> bool adjacent(const couple&) const