Changeset 1059:08f2dc76e82e in lemon-main
- Timestamp:
- 02/28/13 18:13:48 (12 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/edmonds_karp.h
r1058 r1059 312 312 /// outgoing flow. 313 313 template <typename FlowMap> 314 void flowInit(const FlowMap& flowMap) {314 void init(const FlowMap& flowMap) { 315 315 createStructures(); 316 316 for (ArcIt e(_graph); e != INVALID; ++e) { … … 336 336 /// feasible flow. 337 337 template <typename FlowMap> 338 bool checked FlowInit(const FlowMap& flowMap) {338 bool checkedInit(const FlowMap& flowMap) { 339 339 createStructures(); 340 340 for (ArcIt e(_graph); e != INVALID; ++e) { -
test/edmonds_karp_test.cc
r1058 r1059 187 187 188 188 for(ArcIt e(g); e!=INVALID; ++e) cap[e]=2*cap[e]; 189 ek_test. flowInit(flow);189 ek_test.init(flow); 190 190 ek_test.start(); 191 191
Note: See TracChangeset
for help on using the changeset viewer.