true
assigned element, i.e it copies all the keys set to true
to the given iterator.
typedef IdMap<UGraph, UEdge> UEdgeIdMap; UEdgeIdMap uedgeId(ugraph); typedef MapFunctor<UEdgeIdMap> UEdgeIdFunctor; UEdgeIdFunctor uedgeIdFunctor(uedgeId); StoreBoolMap<ostream_iterator<int>, UEdgeIdFunctor> writerMap(ostream_iterator<int>(cout, " "), uedgeIdFunctor); prim(ugraph, cost, writerMap);
#include <lemon/maps.h>
Public Member Functions | |
StoreBoolMap (Iterator it, const Functor &functor=Functor()) | |
Constructor. | |
Iterator | begin () const |
Gives back the given iterator set for the first key. | |
Iterator | end () const |
Gives back the the 'after the last' iterator. | |
void | set (const Key &key, Value value) const |
The set function of the map. |