src/hugo/dimacs.h
changeset 784 a48964a87141
parent 778 08a1d1e3070d
child 903 2e664d4969d7
     1.1 --- a/src/hugo/dimacs.h	Thu Sep 02 10:54:26 2004 +0000
     1.2 +++ b/src/hugo/dimacs.h	Thu Sep 02 11:20:49 2004 +0000
     1.3 @@ -71,16 +71,16 @@
     1.4  	  is >> i >> j >> _cap;
     1.5  	  getline(is, str);
     1.6  	  e=g.addEdge(nodes[i], nodes[j]);
     1.7 -	  capacity.update();
     1.8 +	  //capacity.update();
     1.9  	  capacity.set(e, _cap);
    1.10  	} else {
    1.11  	  if ( problem == "min" ) {
    1.12  	    is >> i >> j >> _cap >> _cost;
    1.13  	    getline(is, str);
    1.14  	    e=g.addEdge(nodes[i], nodes[j]);
    1.15 -	    capacity.update();
    1.16 +	    //capacity.update();
    1.17  	    capacity.set(e, _cap);
    1.18 -	    cost.update();
    1.19 +	    //cost.update();
    1.20  	    cost.set(e, _cost);
    1.21  	  } else {
    1.22  	    is >> i >> j;