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

9 months ago
  1. \item \BDDToROBDD
  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=2mm}
  9. [$f$, rectangle, draw, tikz={\draw [line] () to (a.north);}
  10. [$a$, name=a, tikz={\draw [line] () to (b1.north east); \draw [dot=.5] () to (b2.north west);}
  11. [$b$, name=b1, tikz={\draw [line] () to (c1.north); \draw [dot=.5] () to (c2.north);}
  12. [$c$, name=c1, tikz={\draw [line, bend right] () to (one.west); \draw [dot=.5, bend right] () to (zero.west);}]
  13. [$c$, l sep=15mm, name=c2, tikz={\draw [line, bend right] () to (one.north); \draw [dot=.5, bend left] () to (one.north east);}
  14. [$1$, rectangle, draw, name=one]
  15. [,phantom]
  16. ]
  17. ]
  18. [$b$, name=b2, tikz={\draw [line] () to (c3.north); \draw [dot=.5] () to (c4.north);}
  19. [$c$, l sep=15mm, name=c3, tikz={\draw [line, bend left] (.south) to (one.east); \draw [dot=.3, bend left] (.south east) to (one.south east);}
  20. [,phantom]
  21. [$0$, rectangle, draw, name=zero]
  22. ]
  23. [$c$, name=c4, tikz={\draw [line, bend left] (.south) to (zero.north); \draw [dot=.5, bend left] () to (zero.north east);}]
  24. ]
  25. ]
  26. ]
  27. \end{forest}
  28. \end{center}