src/work/marci/bipartite_graph_wrapper.h
changeset 499 767f3da8ce0e
parent 498 eb8bfa683d92
child 500 1a45623b4796
     1.1 --- a/src/work/marci/bipartite_graph_wrapper.h	Fri Apr 30 16:46:19 2004 +0000
     1.2 +++ b/src/work/marci/bipartite_graph_wrapper.h	Fri Apr 30 17:10:01 2004 +0000
     1.3 @@ -31,9 +31,9 @@
     1.4      SFalseTTrueMap;
     1.5      SFalseTTrueMap* s_false_t_true_map;
     1.6  
     1.7 -    BipartiteGraphWrapper() : GraphWrapper<Graph>(0) { }
     1.8 +    BipartiteGraphWrapper() : GraphWrapper<Graph>() { }
     1.9      void setSFalseTTrueMap(SFalseTTrueMap& _s_false_t_true_map) { 
    1.10 -      s_false_t_true_map=_s_false_t_true_map;
    1.11 +      s_false_t_true_map=&_s_false_t_true_map;
    1.12      }
    1.13  
    1.14    public:
    1.15 @@ -196,11 +196,11 @@
    1.16    public:
    1.17      typedef typename Parent::Node Node;
    1.18      typedef typename Parent::Edge Edge;
    1.19 -    BipartiteGraph() : BipartiteGraphWrapper<Graph>(0), 
    1.20 +    BipartiteGraph() : BipartiteGraphWrapper<Graph>(), 
    1.21  		       gr(), bipartite_map(gr), 
    1.22  		       s_false_t_true_map(bipartite_map) { 
    1.23        Parent::setGraph(gr); 
    1.24 -      Parent::setSFalseTTrueMap(bipartite_map);
    1.25 +      Parent::setSFalseTTrueMap(s_false_t_true_map);
    1.26      }
    1.27  
    1.28      /// the \c bool parameter which can be \c S_Class or \c T_Class shows