equal
deleted
inserted
replaced
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 |