TargetMap< GR > Class Template Reference
[Graph Maps]


Detailed Description

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

TargetMap provides access for the target node of each arc in a digraph, which is returned by the target() function of the digraph.

Template Parameters:
GR The digraph type.
See also:
SourceMap

#include <lemon/maps.h>

List of all members.

Public Types

typedef GR::Arc Key
 
typedef GR::Node Value
 

Public Member Functions

 TargetMap (const GR &digraph)
 Constructor.
Value operator[] (const Key &e) const

Related Functions

(Note that these are not member functions.)



template<typename GR >
TargetMap< GR > targetMap (const GR &graph)
 Returns a TargetMap class.

Constructor & Destructor Documentation

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

Constructor.

Parameters:
digraph The digraph that the map belongs to.

Member Function Documentation

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

Returns the target node of the given arc.


Generated on Sat Oct 3 07:24:24 2009 for LEMON by  doxygen 1.6.1