MulMap
Declared in lemon/maps.h, in the group Map Adaptors; the same class on the Doxygen site.
-
template< typename M1 , typename M2 >
class MulMap : public MapBase< M1::Key , M1::Value > Product of two maps.
This read-only map returns the product of the values of the two given maps. Its
KeyandValuetypes are inherited fromM1. TheKeyandValueofM2must be convertible to those ofM1.If
m1is of typeM1andm2is ofM2, then forMulMap< M1 , M2 > mm( m1 , m2 );
mm[x]will be equal tom1[x]*m2[x].The simplest way of using this map is through the mulMap() function.
See also