SourceMap Class Template Reference
[Graph Maps]

#include <lemon/graph_utils.h>

List of all members.


Detailed Description

template<typename Graph>
class lemon::SourceMap< Graph >

The SourceMap gives back the source Node of the given edge.
Author:
Balazs Dezso


Public Member Functions

 SourceMap (const Graph &_graph)
 Constructor.
Value operator[] (const Key &edge) const
 The subscript operator.

Related Functions

(Note that these are not member functions.)

SourceMap< Graph > sourceMap (const Graph &graph)
 Returns a SourceMap class.


Constructor & Destructor Documentation

SourceMap const Graph &  _graph  )  [inline]
 

Constructor

Parameters:
_graph The graph that the map belongs to.


Member Function Documentation

Value operator[] const Key &  edge  )  const [inline]
 

The subscript operator.

Parameters:
edge The edge
Returns:
The source of the edge


The documentation for this class was generated from the following file:
Generated on Fri Feb 3 18:41:36 2006 for LEMON by  doxygen 1.4.6