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.
GR | The graph type. |
#include <lemon/maps.h>
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. |
ForwardMap | ( | const GR & | graph | ) | [inline, explicit] |
Constructor.
graph | The graph that the map belongs to. |
Value operator[] | ( | const Key & | key | ) | const [inline] |
Returns the "forward" directed arc view of the given edge.