Skip to content

Commit 1d29249

Browse files
committed
assignment as in formulas with \gets
1 parent 82e3560 commit 1d29249

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/graph/hungarian-algorithm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ $$\Delta = \min_{i\in Z_1,\ j\notin Z_2} A[i][j]-u[i]-v[j].$$
9595

9696
Now let's **recalculate the potential** in this way:
9797

98-
- for all vertices $i\in Z_1$, do $u[i]+=\Delta$,
98+
- for all vertices $i\in Z_1$, do $u[i] \gets u[i]+\Delta$,
9999

100-
- for all vertices $j\in Z_2$, do $v[j]-=\Delta$.
100+
- for all vertices $j\in Z_2$, do $v[j] \gets v[j]-\Delta$.
101101

102102
Note that conditions are not mutually exclusive.
103103

0 commit comments

Comments
 (0)