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.

34 lines
1.2 KiB

5 months ago
  1. \item \lect Consider the following conflict graph with the following set of clauses:
  2. \begin{tikzpicture}[->,>=stealth',shorten >=1pt,auto,node distance=1.5cm,
  3. thick,base node/.style={circle,draw,minimum size=20pt}, real node/.style={double,circle,draw,minimum size=20pt}]
  4. \node[base node] (1) {$a$};
  5. \node[base node] (2) [below of=1]{$\lnot b$};
  6. \node[base node] (3) [right of=1] {$\lnot c$};
  7. \node[base node] (4) [right of=2] {$d$};
  8. \node[base node] (5) [right of=3] {$\lnot e$};
  9. \node[base node] (6) [right of=4] {$e$};
  10. \node[base node] (7) [right of=5] {$\bot$};
  11. \path[]
  12. (1) edge [] node {$1$} (3)
  13. (2) edge [] node {$3$} (4)
  14. (4) edge [] node {$1$} (3)
  15. (3) edge [] node {$6$} (5)
  16. edge [] node {$7$} (6)
  17. (5) edge [] node {} (7)
  18. (6) edge [] node {} (7);
  19. \end{tikzpicture}
  20. \begin{dpllCNFInput}
  21. \item $\{\lnot a, \lnot c, \lnot d\}$
  22. \item $\{a, \lnot d\}$
  23. \item $\{b, d\}$
  24. \item $\{\lnot b, d, e\}$
  25. \item $\{\lnot b, \lnot e\}$
  26. \item $\{c, \lnot e\}$
  27. \item $\{c, e\}$
  28. \end{dpllCNFInput}
  29. Give the resolution proof for the given conflict graph and clauses and state the clause to be learned from the conflict.