TargetMap

Declared in lemon/maps.h, in the group Graph Maps; the same class on the Doxygen site.

template< typename GR >
class TargetMap

Map of the target nodes of arcs in a digraph.

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

See also

SourceMap

Template Parameters:

GR – The digraph type.

Public Types

typedef GR::Arc Key

The key type (the Arc type of the digraph).

typedef GR::Node Value

The value type (the Node type of the digraph).

Public Functions

inline explicit TargetMap( const GR & digraph )

Constructor.

Parameters:

digraph – The digraph that the map belongs to.

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

Returns the target node of the given arc.