author | hegyi |
Fri, 01 Apr 2005 09:43:52 +0000 | |
changeset 1288 | 6cc7b573b7b5 |
parent 394 | 3a34c5626e52 |
permissions | -rw-r--r-- |
1 // -*- C++ -*- //
3 #ifndef LEMON_CONTRACT_WRAPPER
4 #define LEMON_CONTRACT_WRAPPER
6 #include <graph_wrapper.h>
8 namespace lemon {
10 template<typename Graph>
11 class ConractWrapper : public GraphWrapper<const Graph> {
13 public:
14 typedef typename Parent::NodeMap NodeMap;
15 class Node;
17 private:
18 typedef GraphWrapper<Graph> Parent;
21 UnionFindEnum<Node, NodeMap> parts;
23 public:
25 ConractWrapper(const Graph& _graph) : Parent(_graph) { }
31 };
35 }
36 #endif