[Lemon-commits] [lemon_svn] marci: r195 - hugo/trunk/src/work
Lemon SVN
svn at lemon.cs.elte.hu
Mon Nov 6 20:38:03 CET 2006
Author: marci
Date: Mon Mar 1 17:32:50 2004
New Revision: 195
Modified:
hugo/trunk/src/work/edmonds_karp.hh
Log:
.
Modified: hugo/trunk/src/work/edmonds_karp.hh
==============================================================================
--- hugo/trunk/src/work/edmonds_karp.hh (original)
+++ hugo/trunk/src/work/edmonds_karp.hh Mon Mar 1 17:32:50 2004
@@ -528,7 +528,7 @@
//searching for augmenting path
while ( !res_bfs.finished() ) {
- AugOutEdgeIt e=AugOutEdgeIt(res_bfs);
+ AugOutEdgeIt e=/*AugOutEdgeIt*/(res_bfs);
if (e.valid() && res_bfs.isBNodeNewlyReached()) {
NodeIt v=res_graph.tail(e);
NodeIt w=res_graph.head(e);
@@ -556,6 +556,7 @@
return _augment;
}
+
template<typename MutableGraph> bool augmentOnBlockingFlow() {
bool _augment=false;
@@ -567,7 +568,7 @@
bfs.pushAndSetReached(s);
typename AugGraph::NodeMap<int> dist(res_graph); //filled up with 0's
while ( !bfs.finished() ) {
- AugOutEdgeIt e=AugOutEdgeIt(bfs);
+ AugOutEdgeIt e=/*AugOutEdgeIt*/(bfs);
if (e.valid() && bfs.isBNodeNewlyReached()) {
dist.set(res_graph.head(e), dist.get(res_graph.tail(e))+1);
}
@@ -793,7 +794,7 @@
//searching for augmenting path
while ( !res_bfs.finished() ) {
- AugOutEdgeIt e=AugOutEdgeIt(res_bfs);
+ AugOutEdgeIt e=/*AugOutEdgeIt*/(res_bfs);
if (e.valid() && res_bfs.isBNodeNewlyReached()) {
NodeIt v=res_graph.tail(e);
NodeIt w=res_graph.head(e);
More information about the Lemon-commits
mailing list