TargetMap provides access for the target node of each arc in a digraph, which is returned by the target()
function of the digraph.
GR | The digraph type. |
#include <lemon/maps.h>
Public Types | |
typedef GR::Arc | Key |
| |
typedef GR::Node | Value |
| |
Public Member Functions | |
TargetMap (const GR &digraph) | |
Constructor. | |
Value | operator[] (const Key &e) const |
Related Functions | |
(Note that these are not member functions.) | |
template<typename GR > | |
TargetMap< GR > | targetMap (const GR &graph) |
Returns a TargetMap class. |
TargetMap | ( | const GR & | digraph | ) | [inline, explicit] |
Constructor.
digraph | The digraph that the map belongs to. |