/
operator is defined between Value
and C
and the given multiplier is not zero. Its Key
and Value
are inherited from M
.
#include <lemon/maps.h>
Public Member Functions | |
ScaleWriteMap (M &_m, const C &_v) | |
Constructor. | |
Value | operator[] (Key k) const |
| |
void | set (Key k, const Value &c) |
| |
Related Functions | |
(Note that these are not member functions.) | |
template<typename M , typename C > | |
ScaleWriteMap< M, C > | scaleMap (M &m, const C &v) |
Returns a ScaleWriteMap class. |
ScaleWriteMap | ( | M & | _m, | |
const C & | _v | |||
) | [inline] |
Constructor
_m | is the undelying map | |
_v | is the scaling value |