NotMap

Declared in lemon/maps.h, in the group Map Adaptors; the same class on the Doxygen site.

template< typename M >
class NotMap : public MapBase< M::Key , bool >

Logical ‘not’ of a map.

This read-only map returns the logical negation of the values of the given map. Its Key is inherited from M and its Value is bool.

The simplest way of using this map is through the notMap() function.

See also

NotWriteMap

Public Types

typedef M::Key Key

typedef bool Value

Public Functions

inline NotMap( const M & m )

Constructor.

inline Value operator[]( const Key & k ) const