src/work/johanna/contract_wrapper.h
author alpar
Wed, 22 Sep 2004 07:32:57 +0000
changeset 896 3a98a1aa5a8f
child 921 818510fa3d99
permissions -rw-r--r--
- mincostflows.h renamed to min_cost_flows.h
- minlengthpaths.h renamed to min_length_paths.h
- src/test/old_path_test.cc removed
     1 // -*- C++ -*- //
     2 
     3 #ifndef HUGO_CONTRACT_WRAPPER
     4 #define HUGO_CONTRACT_WRAPPER
     5 
     6 #include <graph_wrapper.h>
     7 
     8 namespace hugo {
     9 
    10   template<typename Graph>
    11   class ConractWrapper : public GraphWrapper<const Graph> {
    12 
    13   public:
    14     typedef typename Parent::NodeMap NodeMap;
    15     class Node;
    16 
    17   private:
    18     typedef GraphWrapper<Graph> Parent;
    19     
    20 
    21     UnionFindEnum<Node, NodeMap> parts; 
    22  
    23   public:
    24 
    25     ConractWrapper(const Graph& _graph) : Parent(_graph) { }
    26 
    27 
    28 
    29 
    30 
    31   };
    32 
    33 
    34 
    35 }
    36 #endif