SourceMap< Graph > Class Template Reference
[Graph Maps]


Detailed Description

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

The SourceMap gives back the source Node of the given edge.
See also:
TargetMap
Author:
Balazs Dezso
#include <lemon/graph_utils.h>

List of all members.

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.)

template<typename Graph >
SourceMap< GraphsourceMap (const Graph &graph)
 Returns a SourceMap class.


Constructor & Destructor Documentation

SourceMap ( const Graph _graph  )  [inline, explicit]

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


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