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< GraphsourceMap (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 Tue Oct 31 09:50:36 2006 for LEMON by  doxygen 1.5.1