LEMON 1.0.7
Public Member Functions

BaseGraphComponent::Edge Class Reference


Detailed Description

This class represents the edges of the graph. The undirected graphs can be used as a directed graph which for each arc contains the opposite arc too so the graph is bidirected. The edge represents two opposite directed arcs.

#include <lemon/concepts/graph_components.h>

Inheritance diagram for BaseGraphComponent::Edge:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Edge ()
 Default constructor.
 Edge (const Edge &)
 Edge (Invalid)
 Invalid constructor & conversion.
 Edge (const Arc &)
 Converter from arc to edge.
Edgeoperator= (const Arc &)
 Assign arc to edge.

Constructor & Destructor Documentation

Edge ( ) [inline]
Warning:
The default constructor is not required to set the item to some well-defined value. So you should consider it as uninitialized.
Edge ( const Edge ) [inline]

Copy constructor.

Edge ( Invalid  ) [inline]

This constructor initializes the item to be invalid.

See also:
Invalid for more details.
Edge ( const Arc ) [inline]

Besides the core graph item functionality each arc should be convertible to the represented edge.


Member Function Documentation

Edge& operator= ( const Arc ) [inline]

Besides the core graph item functionality each arc should be convertible to the represented edge.

Reimplemented from GraphItem<'u'>.


The documentation for this class was generated from the following file: