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.

29 lines
1.1 KiB

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