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.3 KiB

5 months ago
  1. \item \self Convert the following BDD into a \emph{reduced ordered} BDD.
  2. \begin{center}
  3. \begin{forest}
  4. for tree={circle, draw, no edge,
  5. minimum size=2em,
  6. inner sep=0pt,
  7. s sep=6mm,
  8. l sep=6mm}
  9. [$f$, rectangle, draw, tikz={\draw [line] () to (p.north);}
  10. [$q$, name=q, tikz={\draw [line] () to (s1.north); \draw [dot=.5] () to (s2.north);}
  11. [$s$, name=s1, tikz={\draw [line] () to (240:4.1); \draw [fulldot=.5] () to (r1.north);}
  12. [,phantom]
  13. [$r$, name=r1, tikz={\draw [line] () to (p1.north); \draw[dot=.5] () to (p2.north);}
  14. [$p$, name=p1, tikz={\draw [line] () to (254:6.57); \draw[fulldot=.5] () to (263:6.37);}]
  15. [$p$, name=p2, tikz={\draw [line] () to (266:6.33); \draw[dot=.5] () to (275:6.35);}]
  16. ]
  17. ]
  18. [$s$, name=s2, tikz={\draw [line] () to (281:3.6); \draw [fulldot=.5] () to (r2.north);}
  19. [,phantom]
  20. [$r$, name=r2, tikz={\draw [line] () to (p3.north); \draw[dot=.5] () to (p4.north);}
  21. [$p$, name=p3, tikz={\draw [line] () to (277:6.38); \draw[fulldot=.5] () to (286:6.6);}]
  22. [$p$, name=p4, tikz={\draw [line] () to (288:6.65); \draw[dot=.5] () to (297:7.1);}]
  23. ]
  24. ]
  25. ]
  26. ]
  27. \end{forest}
  28. \end{center}