src/work/marci/bipartite_graph_wrapper.h
changeset 502 1b41ebb5fee5
parent 501 20e4941a354a
child 510 72143568cadc
equal deleted inserted replaced
6:40004fe9ce5f 7:160841b07998
    38     }
    38     }
    39 
    39 
    40   public:
    40   public:
    41     //marci
    41     //marci
    42     //FIXME vhogy igy kellene, csak az en forditom nem eszi meg
    42     //FIXME vhogy igy kellene, csak az en forditom nem eszi meg
    43     static const bool S_CLASS=false;
    43     static const bool S_CLASS;
    44     static const bool T_CLASS=true;
    44     static const bool T_CLASS;
    45     
    45     
    46     //bool S_CLASS;
    46     //bool S_CLASS;
    47     //bool T_CLASS;
    47     //bool T_CLASS;
    48 
    48 
    49     BipartiteGraphWrapper(Graph& _graph, SFalseTTrueMap& _s_false_t_true_map) 
    49     BipartiteGraphWrapper(Graph& _graph, SFalseTTrueMap& _s_false_t_true_map) 
   181     }
   181     }
   182     bool inTClass(const Node& n) const {
   182     bool inTClass(const Node& n) const {
   183       return (*(this->s_false_t_true_map))[n];
   183       return (*(this->s_false_t_true_map))[n];
   184     }
   184     }
   185   };
   185   };
       
   186 
       
   187 
       
   188   template<typename G>
       
   189   const bool BipartiteGraphWrapper<G>::S_CLASS=false;
       
   190   template<typename G>
       
   191   const bool BipartiteGraphWrapper<G>::T_CLASS=true;
       
   192 
       
   193 
       
   194 
       
   195 
       
   196 
       
   197 
       
   198 
       
   199 
       
   200 
       
   201 
       
   202 
   186 
   203 
   187   ///\bug Do not use this while the bipartitemap augmentation 
   204   ///\bug Do not use this while the bipartitemap augmentation 
   188   /// does not work well.
   205   /// does not work well.
   189   template<typename Graph>
   206   template<typename Graph>
   190   class BipartiteGraph : public BipartiteGraphWrapper<Graph> {
   207   class BipartiteGraph : public BipartiteGraphWrapper<Graph> {
   296     template <typename T, typename Parent> class EdgeMap;
   313     template <typename T, typename Parent> class EdgeMap;
   297 
   314 
   298 //    template <typename T> friend class NodeMap;
   315 //    template <typename T> friend class NodeMap;
   299 //    template <typename T> friend class EdgeMap;
   316 //    template <typename T> friend class EdgeMap;
   300 
   317 
       
   318     ///\todo FIXME ezt majd static-ra kell javitani
   301     const Node S_NODE;
   319     const Node S_NODE;
   302     const Node T_NODE;
   320     const Node T_NODE;
   303 
   321 
   304     static const bool S_CLASS=false;
   322     static const bool S_CLASS=false;
   305     static const bool T_CLASS=true;
   323     static const bool T_CLASS=true;