You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
2.1 KiB

9 months ago
  1. DPLL algorithm:
  2. \scalebox{0.9}{
  3. \setlength\tabcolsep{3pt}
  4. \begin{tabular}{|l|c|c|c|c|c|c|c|c|c|c|c|}
  5. \hline
  6. Step & 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 10 & 11 \\ \hline \hline
  7. Decision Level & 0 & 1 & 1 & 1 & 1 & 1 & 1 & 2 & 2 & 2 & 2 \\ \hline
  8. Assignment & - & $a$ & $a,b$ & $a,b,c$ & $a,b,c,d$ & $a,b,c,d,e$ & $\lnot a$ & $\lnot a, b$ & $\lnot a,b,c$ & $\lnot a,b,c,d$ & $\lnot a,b,c,d,e$ \\ \hline
  9. Cl. 1: $\lnot a, b$ & 1 & $b$ & \cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \cmark & \cmark \\ \hline
  10. Cl. 2: $\lnot b, c$ & 2 & 2 & $c$ & \cmark & \cmark & \cmark & 2 & $c$ & \cmark & \cmark & \cmark \\ \hline
  11. Cl. 3: $\lnot c, d$ & 3 & 3 & 3 & $d$ & \cmark & \cmark & 3 & 3 & $d$ & \cmark & \cmark \\ \hline
  12. Cl. 4: $\lnot d, e$ & 4 & 4 & 4 & 4 & $e$ & \cmark & 4 & 4 & 4 & $e$ & \cmark \\ \hline
  13. Cl. 5: $\lnot e, \lnot a$ & 5 &$\lnot e$& $\lnot e$ & $\lnot e$ & $\lnot e$ & $\{\}$ \xmark & \cmark & \cmark & \cmark & \cmark & \cmark \\ \hline \hline
  14. BCP & - & $b$ & $c$ & $d$ & $e$ & - & - & $c$ & $d$ & $e$ & \cmark \\ \hline
  15. Decision &$a$& - & - & - & - & $\lnot a$ & $b$ & - & - & - & SAT \\ \hline
  16. \end{tabular}}
  17. Model:
  18. $a$ = F, $b$ = T, $c$ = T, $d$ = T, $e$ = T