Edge Class Reference


Detailed Description

This class identifies an edge of the graph. It also serves as a base class of the edge iterators, thus they will convert to this type. #include <lemon/concepts/graph.h>

Inheritance diagram for Edge:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 Edge ()
 Default constructor.
 Edge (const Edge &)
 Edge (Invalid)
bool operator== (Edge) const
 Equality operator.
bool operator!= (Edge) const
 Inequality operator.
bool operator< (Edge) const
 Artificial ordering operator.


Constructor & Destructor Documentation

Edge (  )  [inline]

Warning:
The default constructor sets the iterator to an undefined value.

Edge ( const Edge  )  [inline]

Copy constructor.

Edge ( Invalid   )  [inline]

Initialize the iterator to be invalid.


Member Function Documentation

bool operator== ( Edge   )  const [inline]

Two iterators are equal if and only if they point to the same object or both are invalid.

bool operator!= ( Edge   )  const [inline]

See also:
operator==(Edge n)

bool operator< ( Edge   )  const [inline]

To allow the use of graph descriptors as key type in std::map or similar associative container we require this.

Note:
This operator only have to define some strict ordering of the items; this order has nothing to do with the iteration ordering of the items.


Generated on Thu Jun 4 04:06:44 2009 for LEMON by  doxygen 1.5.9