|
ADS
Algorithms and Data Structures
|
a ReferenceMap of LEMON by the ids of the items of a graph, on an array of its own, not attached to the notifier of the graph More...
#include <ADS/interop/lemon/Maps.h>
Public types | |
| using | Key = Item |
| the items | |
| using | Value = T |
| the values | |
| using | Reference = T & |
| a reference to a value | |
| using | ConstReference = const T & |
| a reference to a value read | |
| using | ReferenceMapTag = ::lemon::True |
| a ReferenceMap | |
Public member functions | |
| DenseMap (const GR &g, const T &t=T()) | |
| the map of the items of \( g \), all \( t \); \( g \) must stay alive and keep its items | |
| Reference | operator[] (const Key &k) |
| the value of \( k \) | |
| ConstReference | operator[] (const Key &k) const |
| the value of \( k \), read | |
| void | set (const Key &k, const T &t) |
| the value of \( k \) set to \( t \) | |
| std::size_t | size (void) const |
| the number of values, maxId( Item() ) + 1 at the construction | |
a ReferenceMap of LEMON by the ids of the items of a graph, on an array of its own, not attached to the notifier of the graph
| using ADS::lemon_interop::DenseMap< GR, T, Item >::ConstReference = const T & |
a reference to a value read
| using ADS::lemon_interop::DenseMap< GR, T, Item >::Key = Item |
the items
| using ADS::lemon_interop::DenseMap< GR, T, Item >::Reference = T & |
a reference to a value
| using ADS::lemon_interop::DenseMap< GR, T, Item >::ReferenceMapTag = ::lemon::True |
a ReferenceMap
| using ADS::lemon_interop::DenseMap< GR, T, Item >::Value = T |
the values
|
inlineexplicit |
the map of the items of \( g \), all \( t \); \( g \) must stay alive and keep its items
|
inlinenodiscard |
the value of \( k \)
|
inlinenodiscard |
the value of \( k \), read
|
inline |
the value of \( k \) set to \( t \)
|
inlinenodiscard |
the number of values, maxId( Item() ) + 1 at the construction