src/work/jacint/preflow.h
changeset 299 54e8905344ba
parent 211 9222a9b8b323
child 330 7ac0d4e8a31c
equal deleted inserted replaced
3:4bb32efc6746 4:6f10937bcfae
    59     FlowMap& flow;
    59     FlowMap& flow;
    60     const CapMap& capacity;  
    60     const CapMap& capacity;  
    61     T value;
    61     T value;
    62 
    62 
    63   public:
    63   public:
    64     Preflow(Graph& _G, Node _s, Node _t, CapMap& _capacity, FlowMap& _flow ) :
    64     Preflow(const Graph& _G, Node _s, Node _t, const CapMap& _capacity, 
       
    65 	    FlowMap& _flow ) :
    65       G(_G), s(_s), t(_t), flow(_flow), capacity(_capacity) {}
    66       G(_G), s(_s), t(_t), flow(_flow), capacity(_capacity) {}
    66 
    67 
    67 
    68 
    68     void run() {
    69     void run() {
    69 
    70