Skip to content

Commit 6727a72

Browse files
authored
Merge pull request #13 from atcoder/patch/issue9
fix #9: change_cap -> chage_edge
2 parents 6388446 + efc1ac3 commit 6727a72

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

document_en/maxflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ struct mf_graph<Cap>::edge {
9595
## change_edge
9696
9797
```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);
9999
```
100100

101101
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.

document_ja/maxflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ $m$ を追加された辺数として
9999
## change_edge
100100
101101
```cpp
102-
void graph.change_cap(int i, Cap new_cap, Cap new_flow);
102+
void graph.change_edge(int i, Cap new_cap, Cap new_flow);
103103
```
104104

105105
$i$ 番目に変更された辺の容量、流量を`new_cap`, `new_flow`に変更する。他の辺の容量、流量は変更しない。詳細は [Appendix](./appendix.html) を参照してください

0 commit comments

Comments
 (0)