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

Skip to content

Commit d17c263

Browse files
authored
Update 2SAT.md
Fix small typo
1 parent 331615f commit d17c263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/graph/2SAT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ It is worth paying attention to the property of the implication graph:
4747
if there is an edge $a \Rightarrow b$, then there also is an edge $\lnot b \Rightarrow \lnot a$.
4848

4949
Also note, that if $x$ is reachable from $\lnot x$, and $\lnot x$ is reachable from $x$, then the problem has no solution.
50-
Whatever value we choose for the variable $x$, it will always end in a contradiction - if $x$ will be assigned $\text{true}$ then the implication tell us that $\lnot x$ should also be $\text{true}$ and visa versa.
50+
Whatever value we choose for the variable $x$, it will always end in a contradiction - if $x$ will be assigned $\text{true}$ then the implication tells us that $\lnot x$ should also be $\text{true}$ and visa versa.
5151
It turns out, that this condition is not only necessary, but also sufficient.
5252
We will prove this in a few paragraphs below.
5353
First recall, if a vertex is reachable from a second one, and the second one is reachable from the first one, then these two vertices are in the same strongly connected component.

0 commit comments

Comments
 (0)