ForwardMap< GR > Class Template Reference
[Graph Maps]


Detailed Description

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

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.
Template Parameters:
GR The graph type.
See also:
BackwardMap
#include <lemon/maps.h>

List of all members.

Public Member Functions

 ForwardMap (const GR &graph)
 Constructor.
Value operator[] (const Key &key) const

Related Functions

(Note that these are not member functions.)

template<typename GR >
ForwardMap< GR > forwardMap (const GR &graph)
 Returns a ForwardMap class.


Constructor & Destructor Documentation

ForwardMap ( const GR &  graph  )  [inline, explicit]

Constructor.

Parameters:
graph The graph that the map belongs to.


Member Function Documentation

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

Returns the "forward" directed arc view of the given edge.


Generated on Wed May 13 09:53:08 2009 for LEMON by  doxygen 1.5.9