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

Skip to content

Commit 2a4b691

Browse files
author
Oleksandr Kulkov
authored
clarify the definition of a unit network
1 parent 7912d36 commit 2a4b691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/graph/dinic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ There are less than $V$ phases, so the total complexity is $O(V^2E)$.
4949

5050
## Unit networks
5151

52-
A **unit network** is a network in which all the edges have unit capacity, and for any vertex except $s$ and $t$ either incoming or outgoing edge is unique. That's exactly the case with the network we build to solve the maximum matching problem with flows.
52+
A **unit network** is a network in which for any vertex except $s$ and $t$ **either incoming or outgoing edge is unique and has unit capacity**. That's exactly the case with the network we build to solve the maximum matching problem with flows.
5353

5454
On unit networks Dinic's algorithm works in $O(E\sqrt{V})$. Let's prove this.
5555

0 commit comments

Comments
 (0)