NonConstMapWr Class Template Reference
[Minimum Cost Spanning Tree Algorithms]

#include <kruskal.h>

List of all members.


Detailed Description

template<class Map>
class lemon::NonConstMapWr< Map >

Helper class for calling kruskal with output maps constructed on-the-fly.

A typical examle is the following call: kruskal(G, some_input, makeSequenceOutput(iterator)). Here, the third argument is a temporary object (which wraps around an iterator with a writable bool map interface), and thus by rules of C++ is a const object. To enable call like this exist this class and the prototype of the kruskal() function with const& OUT third argument.

Definition at line 112 of file kruskal.h.


The documentation for this class was generated from the following file:
Generated on Thu Sep 30 12:18:37 2004 for LEMON by doxygen 1.3.8