Skip to content

Commit 8518fee

Browse files
committed
update maxflow java code
1 parent 01b1871 commit 8518fee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ch8/maxflow.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Edge {
2222
}
2323
}
2424

25-
class MaxFlow {
25+
public class maxflow {
2626
static long INF = 1000000000000000000l;
2727

2828
int V;
@@ -32,7 +32,7 @@ class MaxFlow {
3232
int[] d, last;
3333
Pair[] p;
3434

35-
MaxFlow(int initialV, int numEdges) {
35+
maxflow(int initialV, int numEdges) {
3636
V = initialV;
3737
EL = new Edge[2 * numEdges]; // 2 * to account for back edges
3838
ELSize = 0;

0 commit comments

Comments
 (0)