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.

26 lines
947 B

9 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 [fulldot=.5] () to (a.north);}
  10. [$a$, name=a, tikz={\draw [line] () to (b1.north); \draw [fulldot=.5] () to (c.north);}
  11. [$b$, name=b1, tikz={\draw [line, bend right] () to (d.north west); \draw [dot=.5, bend left] () to (d.north east);}
  12. [$d$, name=d, tikz={\draw [line] () to (254:4.6); \draw [fulldot=.5] () to (265:4.42);}]
  13. ]
  14. [$c$, name=c, tikz={\draw [line] () to (d.east); \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, d = \bot\},\\
  22. \Model_2 =~& \{a = \bot, b = \bot, c = \top, d = \top\},\text{~and~}
  23. \end{align*}
  24. compute \DNF{f}.