ForwardMap

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

template< typename GR >
class ForwardMap

Map of the “forward” directed arc view of edges in a graph.

ForwardMap provides access for the “forward” directed arc view of each edge in a graph, which is returned by the direct() function of the graph with true parameter.

See also

BackwardMap

Template Parameters:

GR – The graph type.

Public Types

typedef GR::Edge Key

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

typedef GR::Arc Value

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

Public Functions

inline explicit ForwardMap( const GR & graph )

Constructor.

Parameters:

graph – The graph that the map belongs to.

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

Returns the “forward” directed arc view of the given edge.