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 \BDDToDNF
  2. \begin{center}
  3. \begin{forest}
  4. for tree={circle, draw, no edge,
  5. minimum size=2em,
  6. inner sep=0pt,
  7. s sep=2mm,
  8. l sep=1mm}
  9. [$f$, rectangle, draw, tikz={\draw [line] () to (a.north);}
  10. [$a$, name=a, tikz={\draw [line] () to (b.north east); \draw [fulldot=.5] () to (c2.north west);}
  11. [$b$, name=b, tikz={\draw [dot=.5] () to (e.north); \draw [line] () to (c1.north);}
  12. [$c$, name=c1, s sep=20mm, tikz={\draw [line] () to (240:4.2); \draw [fulldot=.5] () to (e.north west);}
  13. [,phantom]
  14. [$e$, name=e, s sep=10mm, tikz={\draw [fulldot=.5] () to (zero.north); \draw [line] () to (one.north);}
  15. [,phantom, name=one]
  16. [,phantom, name=zero]
  17. ]
  18. ]
  19. [,phantom]
  20. ]
  21. [$c$, name=c2, tikz={\draw [line] () to (e.north); \draw [fulldot=.5] () to (d.north);}
  22. [,phantom]
  23. [$d$, name=d, tikz={\draw [line] () to (e.north east); \draw[dot=.5] () to (300:4.2);
  24. }
  25. [,phantom]
  26. [,phantom]
  27. ]
  28. ]
  29. ]
  30. ]
  31. \end{forest}
  32. \end{center}