![]() |
abLEMON 1.9.0-101-gccb8629
A maintained fork of LEMON
|
Node map combined from two original node maps. More...
#include <lemon/adaptors.h>
Public Types | |
| typedef Node | Key |
| The key type of the map. | |
| typedef In::Value | Value |
| The value type of the map. | |
Public Member Functions | |
| CombinedNodeMap (In &in_map, Out &out_map) | |
| Constructor. | |
| Value | operator[] (const Key &key) const |
| Returns the value associated with the given key. | |
| Value & | operator[] (const Key &key) |
| Returns a reference to the value associated with the given key. | |
| void | set (const Key &key, const Value &value) |
| Sets the value associated with the given key. | |
This map adaptor class adapts two node maps of the original digraph to get a node map of the split digraph. Its value type is inherited from the first node map type (In).
| In | The type of the node map for the in-nodes. |
| Out | The type of the node map for the out-nodes. |