#include <lemon/maps.h>
true
into the container. If you want to store the cut edges of the strongly connected components in a set you can use the next code:
set<Edge> cut_edges; InserterBoolMap<set<Edge> > inserter_map(cut_edges); stronglyConnectedCutEdges(graph, cost, inserter_map);
Public Member Functions | |
InserterBoolMap (Container &_container, typename Container::iterator _it, const Functor &_functor=Functor()) | |
Constructor. | |
InserterBoolMap (Container &_container, const Functor &_functor=Functor()) | |
Constructor. | |
void | set (const Key &key, Value value) |
Setter function of the map. |