Changeset 656:9971eb8bfbe8 in lemon-0.x for src/hugo
- Timestamp:
- 05/21/04 14:40:39 (21 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@859
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/hugo/graph_wrapper.h
r655 r656 1381 1381 const FlowMap* flow; 1382 1382 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; } 1383 1386 ForwardFilter(const Graph& _graph, 1384 1387 const CapacityMap& _capacity, const FlowMap& _flow) : … … 1396 1399 const FlowMap* flow; 1397 1400 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; } 1398 1404 BackwardFilter(const Graph& _graph, 1399 1405 const CapacityMap& _capacity, const FlowMap& _flow) : … … 1425 1431 ForwardFilter<Graph, Number, CapacityMap, FlowMap> forward_filter; 1426 1432 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 // } 1427 1441 public: 1428 1442 ResGraphWrapper(Graph& _graph, const CapacityMap& _capacity,
Note: See TracChangeset
for help on using the changeset viewer.