COIN-OR::LEMON - Graph Library

Changeset 656:9971eb8bfbe8 in lemon-0.x for src/hugo/graph_wrapper.h


Ignore:
Timestamp:
05/21/04 14:40:39 (17 years ago)
Author:
marci
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@859
Message:

max_flow.h bug correction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/hugo/graph_wrapper.h

    r655 r656  
    13811381    const FlowMap* flow;
    13821382  public:
     1383    void setGraph(const Graph& _graph) { graph=&_graph; }
     1384    void setCapacity(const CapacityMap& _capacity) { capacity=&_capacity; }
     1385    void setFlow(const FlowMap& _flow) { flow=&_flow; }
    13831386    ForwardFilter(const Graph& _graph,
    13841387                  const CapacityMap& _capacity, const FlowMap& _flow) :
     
    13961399    const FlowMap* flow;
    13971400  public:
     1401    void setGraph(const Graph& _graph) { graph=&_graph; }
     1402    void setCapacity(const CapacityMap& _capacity) { capacity=&_capacity; }
     1403    void setFlow(const FlowMap& _flow) { flow=&_flow; }
    13981404    BackwardFilter(const Graph& _graph,
    13991405                   const CapacityMap& _capacity, const FlowMap& _flow) :
     
    14251431    ForwardFilter<Graph, Number, CapacityMap, FlowMap> forward_filter;
    14261432    BackwardFilter<Graph, Number, CapacityMap, FlowMap> backward_filter;
     1433//     ResGraphWrapper() : Parent(),
     1434//                      capacity(0), flow(0) { }
     1435//     void setCapacityMap(const CapacityMap& _capacity) {
     1436//       capacity=&_capacity;
     1437//     }
     1438//     void setFlowMap(FlowMap& _flow) {
     1439//       flow=&_flow;
     1440//     }
    14271441  public:
    14281442    ResGraphWrapper(Graph& _graph, const CapacityMap& _capacity,
Note: See TracChangeset for help on using the changeset viewer.