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.

28 lines
928 B

5 months ago
  1. \item For the following binary decision diagram:
  2. \begin{center}
  3. \begin{forest}
  4. for tree={circle, draw, no edge,
  5. minimum size=2em,
  6. inner sep=0pt,
  7. s sep=10mm,
  8. l sep=5mm}
  9. [$f$, rectangle, draw, tikz={\draw [line] () to (a.north);}
  10. [$a$, name=a, tikz={\draw [line] () to (b1.north); \draw [fulldot=.5] () to (c2.north);}
  11. [$b$, name=b1, tikz={\draw [line, bend right] () to (c1.north west); \draw [dot=.5, bend left] () to (c1.north east);}
  12. [$c$, name=c1, tikz={\draw [line] () to (254:4.6); \draw [fulldot=.5] () to (265:4.42);}]
  13. ]
  14. [$c$, name=c2, tikz={\draw [line] () to (277:3.35); \draw [fulldot=.5] () to (291:3.53);}]
  15. ]
  16. ]
  17. \end{forest}
  18. \end{center}
  19. Check if the following models are satisfying:
  20. \begin{align*}
  21. \Model_1 =~&\{a = \top, b = \top, c = \bot\},\\
  22. \Model_2 =~&\{a = \bot, b = \bot, c = \bot\},\text{~and~}
  23. \end{align*}
  24. compute \DNF{f}.