SourceMap provides access for the source node of each arc in a digraph, which is returned by the source()
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 | |
SourceMap (const GR &digraph) | |
Constructor. | |
Value | operator[] (const Key &arc) const |
Related Functions | |
(Note that these are not member functions.) | |
template<typename GR > | |
SourceMap< GR > | sourceMap (const GR &graph) |
Returns a SourceMap class. | |
|
inlineexplicit |
Constructor.
digraph | The digraph that the map belongs to. |