LEMON 1.0.7
Public Member Functions | Related Functions

TargetMap< Digraph > Class Template Reference


Detailed Description

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

The TargetMap gives back the target Node of the given arc.

See also:
SourceMap

#include <lemon/maps.h>

List of all members.

Public Member Functions

 TargetMap (const Digraph &digraph)
 Constructor.
Value operator[] (const Key &e) const
 The subscript operator.

Related Functions

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

Constructor & Destructor Documentation

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

Constructor

Parameters:
digraphThe digraph that the map belongs to.

Member Function Documentation

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

The subscript operator.

Parameters:
eThe arc
Returns:
The target of the arc

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