src/work/marci/merge_node_graph_wrapper.h
changeset 922 e816fac59f6d
parent 917 ffb8f0cbcb57
child 1002 ea3ecb3c9846
equal deleted inserted replaced
1:d82b00d7d30e 2:244cb06e459a
     1 /* -*- C++ -*-
     1 /* -*- C++ -*-
     2  * src/hugo/merge_node_graph_wrapper.h - Part of HUGOlib, a generic C++ optimization library
     2  * src/lemon/merge_node_graph_wrapper.h - Part of LEMON, a generic C++ optimization library
     3  *
     3  *
     4  * Copyright (C) 2004 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
     4  * Copyright (C) 2004 Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport
     5  * (Egervary Combinatorial Optimization Research Group, EGRES).
     5  * (Egervary Combinatorial Optimization Research Group, EGRES).
     6  *
     6  *
     7  * Permission to use, modify and distribute this software is granted
     7  * Permission to use, modify and distribute this software is granted
    12  * express or implied, and with no claim as to its suitability for any
    12  * express or implied, and with no claim as to its suitability for any
    13  * purpose.
    13  * purpose.
    14  *
    14  *
    15  */
    15  */
    16 
    16 
    17 #ifndef HUGO_MERGE_NODE_GRAPH_WRAPPER_H
    17 #ifndef LEMON_MERGE_NODE_GRAPH_WRAPPER_H
    18 #define HUGO_MERGE_NODE_GRAPH_WRAPPER_H
    18 #define LEMON_MERGE_NODE_GRAPH_WRAPPER_H
    19 
    19 
    20 #include <hugo/invalid.h>
    20 #include <lemon/invalid.h>
    21 #include <hugo/maps.h>
    21 #include <lemon/maps.h>
    22 #include <hugo/map_defines.h>
    22 #include <lemon/map_defines.h>
    23 #include <hugo/graph_wrapper.h>
    23 #include <lemon/graph_wrapper.h>
    24 #include <iostream>
    24 #include <iostream>
    25 
    25 
    26 namespace hugo {
    26 namespace lemon {
    27 
    27 
    28   template <typename Graph1, typename Graph2, typename Enable=void> 
    28   template <typename Graph1, typename Graph2, typename Enable=void> 
    29   class MergeNodeGraphWrapper : 
    29   class MergeNodeGraphWrapper : 
    30     public GraphWrapper<Graph1>, public GraphWrapper<Graph2> {
    30     public GraphWrapper<Graph1>, public GraphWrapper<Graph2> {
    31     typedef GraphWrapper<Graph1> Parent1;
    31     typedef GraphWrapper<Graph1> Parent1;
   170       using ParentMap2::operator[];
   170       using ParentMap2::operator[];
   171     };
   171     };
   172     
   172     
   173   };
   173   };
   174 
   174 
   175 } //namespace hugo
   175 } //namespace lemon
   176 
   176 
   177 #endif //HUGO_MERGE_NODE_GRAPH_WRAPPER_H
   177 #endif //LEMON_MERGE_NODE_GRAPH_WRAPPER_H