GR2 Flashcards

1
Q

If x and ¬x are in same SCC, then we know…

A

that the formula is is NOT satisfiable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

If x and ¬x are not in same SCC, then we know…

A

that the formula IS satisfiable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

If S is a sink SCC, then we know that….

A

S’ is a sink SCC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

(a ∨ b)

A

¬a –> b, ¬b –> a

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

If x and ¬x are part of the same strongly connected component, then…

A

we know that the formula is NOT satisfiable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

If x and ¬x are NOT part of the same strongly connected component, then…

A

we know that the formula IS satisfiable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

runtime of 2SAT

A

O(n + m)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

2SAT algorithm explained

A
  1. Find sink SCC, S
  2. Set S = T (satisfy all literals in S)
  3. Rip S out from graph
  4. S’ will then be the source SCC (so setting S’ = F has no effect). So rip this out too.
  5. Repeat
How well did you know this?
1
Not at all
2
3
4
5
Perfectly