Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

NonConstMapWr Class Template Reference
[Minimum Cost Spanning Tree Algorithms]

#include <lemon/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 Mon Feb 21 15:02:33 2005 for LEMON by  doxygen 1.4.1