Graph Theory37 sections · 1633 units
Open in Course

Application: 2-SAT Connection

(Boolean satisfiability)

22-SAT (Boolean satisfiability with two literals per clause) problems use SCC detection to check if a solution exists. Build an implication graph where each variable xx has two nodes: xx and egx eg x (not xx).

For each clause, add implication edges. If xx and egx eg x end up in the same SCC, no satisfying assignment exists. If they are in different SCCs, a solution exists.

Assign truth values based on the topological order of SCCs in the condensation graph. You will see this technique in detail in the next section.