Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2d1a821

Browse files
authored
Fix typo in index entry for Kuhn's algorithm, fix formatting (#819)
1 parent 868ef8f commit 2d1a821

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/graph/kuhn_maximum_bipartite_matching.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,14 @@ Both sides of the bi-implication will be proven by contradiction.
4848

4949
Let there be a matching $M'$ of greater cardinality than $M$. We consider the symmetric difference $Q = M \oplus M'$. The subgraph $Q$ is no longer necessarily a matching.
5050
Any vertex in $Q$ has a maximum degree of $2$, which means that all connected components in it are one of the three -
51+
5152
* an isolated vertex
5253
* a (simple) path whose edges are alternately from $M$ and $M'$
5354
* a cycle of even length whose edges are alternately from $M$ and $M'$
5455

5556
Since $M'$ has a cardinality greater than $M$, $Q$ has more edges from $M'$ than $M$. By the Pigeonhole principle, at least one connected component will be a path having
5657
more edges from $M'$ than $M$. Because any such path is alternating, it will have initial and final vertices unsaturated by $M$, making it an augmenting path for $M$,
57-
which contradicts the premise. $\blacksquare$
58+
which contradicts the premise.   $\blacksquare$
5859

5960
### Kuhn's algorithm
6061

src/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ Full list of updates: [Commit History](https://github.com/e-maxx-eng/e-maxx-eng/
206206
- [Assignment problem. Solution using min-cost-flow in O (N^5)](graph/Assignment-problem-min-flow.md)
207207
- **Matchings and related problems**
208208
- [Bipartite Graph Check](graph/bipartite-check.md)
209-
- [Kuhn' Algorithm - Maximum Bipartite Matching](graph/kuhn_maximum_bipartite_matching.md)
209+
- [Kuhn's Algorithm - Maximum Bipartite Matching](graph/kuhn_maximum_bipartite_matching.md)
210210
- **Miscellaneous**
211211
- [Topological Sorting](graph/topological-sort.md)
212212
- [Edge connectivity / Vertex connectivity](graph/edge_vertex_connectivity.md)

0 commit comments

Comments
 (0)