You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: document_en/maxflow.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,7 +95,7 @@ struct mf_graph<Cap>::edge {
95
95
## change_edge
96
96
97
97
```cpp
98
-
void graph.change_cap(int i, Cap new_cap, Cap new_flow);
98
+
void graph.change_edge(int i, Cap new_cap, Cap new_flow);
99
99
```
100
100
101
101
It changes the capacity and the flow amount of the $i$-th edge to `new_cap` and `new_flow`, respectively. It doesn't change the capacity or the flow amount of other edges. See [Appendix](./appendix.html) for further details.
0 commit comments