LEMON 1.0.7
Public Member Functions | Related Functions

SourceMap< Digraph > Class Template Reference


Detailed Description

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

The SourceMap gives back the source Node of the given arc.

See also:
TargetMap

#include <lemon/maps.h>

List of all members.

Public Member Functions

 SourceMap (const Digraph &digraph)
 Constructor.
Value operator[] (const Key &arc) const
 The subscript operator.

Related Functions

(Note that these are not member functions.)
template<typename Digraph >
SourceMap< Digraph > sourceMap (const Digraph &digraph)
 Returns a SourceMap class.

Constructor & Destructor Documentation

SourceMap ( const Digraph &  digraph) [inline, explicit]

Constructor

Parameters:
digraphThe digraph that the map belongs to.

Member Function Documentation

Value operator[] ( const Key &  arc) const [inline]

The subscript operator.

Parameters:
arcThe arc
Returns:
The source of the arc

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