const Graph&, const CapMap& in preflow constructor
authormarci
Fri, 02 Apr 2004 18:31:19 +0000
changeset 278c11f84e3da21
parent 277 044f5898b769
child 279 be43902fadb7
const Graph&, const CapMap& in preflow constructor
src/work/jacint/preflow.h
     1.1 --- a/src/work/jacint/preflow.h	Fri Apr 02 15:59:17 2004 +0000
     1.2 +++ b/src/work/jacint/preflow.h	Fri Apr 02 18:31:19 2004 +0000
     1.3 @@ -61,7 +61,8 @@
     1.4      T value;
     1.5  
     1.6    public:
     1.7 -    Preflow(Graph& _G, Node _s, Node _t, CapMap& _capacity, FlowMap& _flow ) :
     1.8 +    Preflow(const Graph& _G, Node _s, Node _t, const CapMap& _capacity, 
     1.9 +	    FlowMap& _flow ) :
    1.10        G(_G), s(_s), t(_t), flow(_flow), capacity(_capacity) {}
    1.11  
    1.12