src/work/marci/dimacs.hh
changeset 105 a3c73e9b9b2e
parent 69 24c2c2989e0f
     1.1 --- a/src/work/marci/dimacs.hh	Fri Feb 20 00:29:19 2004 +0000
     1.2 +++ b/src/work/marci/dimacs.hh	Fri Feb 20 21:45:07 2004 +0000
     1.3 @@ -5,7 +5,7 @@
     1.4  #include <string>
     1.5  #include <vector>
     1.6  
     1.7 -namespace marci {
     1.8 +namespace hugo {
     1.9  
    1.10    template<typename Graph, typename CapacityMap>
    1.11    void readDimacsMaxFlow(std::istream& is, Graph &G, typename Graph::NodeIt &s, typename Graph::NodeIt &t, CapacityMap& capacity) {
    1.12 @@ -49,13 +49,13 @@
    1.13  	is >> i >> j >> cap;
    1.14  	getline(is, str);
    1.15  	typename Graph::EdgeIt e=G.addEdge(nodes[i], nodes[j]);
    1.16 -	capacity.resize();
    1.17 +	capacity.update();
    1.18  	capacity.set(e, cap);
    1.19  	break;
    1.20        }
    1.21      }
    1.22    }
    1.23    
    1.24 -} //namespace marci
    1.25 +} //namespace hugo
    1.26  
    1.27  #endif //DIMACS_HH