Standard graph map for the edges. It conforms to the ReferenceMap concept.
#include <lemon/concepts/graph_components.h>
Public Member Functions | |
EdgeMap (const MappableGraphComponent &graph) | |
Construct a new map. | |
EdgeMap (const MappableGraphComponent &graph, const V &value) | |
Construct a new map with default value. | |
![]() | |
GraphMap (const MappableGraphComponent &) | |
Construct a new map. | |
GraphMap (const MappableGraphComponent &, const Value &) | |
Construct a new map with default value. | |
![]() | |
Reference | operator[] (const Key &) |
Returns a reference to the value associated with the given key. | |
ConstReference | operator[] (const Key &) const |
Returns a const reference to the value associated with the given key. | |
void | set (const Key &k, const Value &t) |
Sets the value associated with the given key. | |
![]() | |
Value | operator[] (const Key &) const |
Returns the value associated with the given key. | |
void | set (const Key &, const Value &) |
Sets the value associated with the given key. | |
![]() | |
Value | operator[] (const Key &) const |
Returns the value associated with the given key. | |
![]() | |
void | set (const Key &, const Value &) |
Sets the value associated with the given key. | |
WriteMap () | |
Default constructor. | |
Private Member Functions | |
EdgeMap (const EdgeMap &nm) | |
Copy constructor. | |
template<typename CMap > | |
EdgeMap & | operator= (const CMap &) |
Additional Inherited Members | |
![]() | |
typedef Edge | Key |
The key type of the map. | |
typedef V | Value |
The value type of the map. | |
typedef Value & | Reference |
The reference type of the map. | |
typedef const Value & | ConstReference |
The const reference type of the map. | |
|
inlineexplicit |
Construct a new map for the graph.
|
inline |
Construct a new map for the graph and initalize the values.
|
inlineprivate |
Assignment operator.