src/hugo/graph_wrapper.h
changeset 655 a9878222d5c8
parent 653 c3ad7c661a49
child 656 9971eb8bfbe8
equal deleted inserted replaced
18:79cbefbc5599 19:1f1aa80f62d9
   990   protected:
   990   protected:
   991     ConstMap<typename Graph::Edge, bool> cm;
   991     ConstMap<typename Graph::Edge, bool> cm;
   992     //const CapacityMap* capacity;
   992     //const CapacityMap* capacity;
   993     //FlowMap* flow;
   993     //FlowMap* flow;
   994 
   994 
   995     BidirGraphWrapper() : Parent(), cm(true) { }
   995     BidirGraphWrapper() : Parent(), cm(true) { 
       
   996       Parent::setForwardFilterMap(cm);
       
   997       Parent::setBackwardFilterMap(cm);
       
   998     }
   996 //     void setCapacityMap(const CapacityMap& _capacity) {
   999 //     void setCapacityMap(const CapacityMap& _capacity) {
   997 //       capacity=&_capacity;
  1000 //       capacity=&_capacity;
   998 //     }
  1001 //     }
   999 //     void setFlowMap(FlowMap& _flow) {
  1002 //     void setFlowMap(FlowMap& _flow) {
  1000 //       flow=&_flow;
  1003 //       flow=&_flow;