AbsMap
Declared in lemon/maps.h, in the group Map Adaptors; the same class on the Doxygen site.
-
template< typename M >
class AbsMap : public MapBase< M::Key , M::Value > Absolute value of a map.
This read-only map returns the absolute value of the values of the given map. Its
KeyandValueare inherited fromM.Valuemust be comparable to0and the unary-operator must be defined for it, of course.The simplest way of using this map is through the absMap() function.