Removing other occurences of cnt
authordeba
Tue, 02 Oct 2007 14:20:04 +0000
changeset 2487568ff3572a96
parent 2486 0c498f2239a8
child 2488 da94e3b332f3
Removing other occurences of cnt
lemon/csp.h
     1.1 --- a/lemon/csp.h	Tue Oct 02 14:15:18 2007 +0000
     1.2 +++ b/lemon/csp.h	Tue Oct 02 14:20:04 2007 +0000
     1.3 @@ -134,7 +134,6 @@
     1.4        {
     1.5  	Dijkstra<Graph,CM> dij(_g,_cost);
     1.6  	dij.run(s,t);
     1.7 -	cnt++;
     1.8  	if(!dij.reached(t)) return Path();
     1.9  	p=dij.path(t);
    1.10  	cp=cost(p);
    1.11 @@ -144,7 +143,6 @@
    1.12        {
    1.13  	Dijkstra<Graph,DM> dij(_g,_delay);
    1.14  	dij.run(s,t);
    1.15 -	cnt++;
    1.16  	q=dij.path(t);
    1.17  	cq=cost(q);
    1.18  	dq=delay(q);
    1.19 @@ -154,7 +152,6 @@
    1.20  	lambda=(cp-cq)/(dq-dp);
    1.21  	_co_map.lambda(lambda);
    1.22  	_dij.run(s,t);
    1.23 -	cnt++;
    1.24  	r=_dij.path(t);
    1.25  	cr=cost(r);
    1.26  	dr=delay(r);