BackwardMap provides access for the "backward" directed arc view of each edge in a graph, which is returned by the direct()
function of the graph with false
parameter.
GR | The graph type. |
#include <lemon/maps.h>
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 Member Functions | |
BackwardMap (const GR &graph) | |
Constructor. | |
Value | operator[] (const Key &key) const |
Related Functions | |
(Note that these are not member functions.) | |
template<typename GR > | |
BackwardMap< GR > | backwardMap (const GR &graph) |
Returns a BackwardMap class. |
BackwardMap | ( | const GR & | graph | ) | [inline, explicit] |
Constructor.
graph | The graph that the map belongs to. |