Advertisement
Guest User

Untitled

a guest
Jun 30th, 2015
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. documentclass[12pt,oneside,a4paper,fleqn]{report}
  2.  
  3.  
  4. usepackage{forest}
  5. usepackage{tikz}
  6. tikzset{
  7. dot/.style={circle,draw,inner sep=1.5,fill=black},
  8. }
  9.  
  10. begin{document}
  11.  
  12.  
  13.  
  14.  
  15. begin{forest}
  16. [ ,name=a,for tree={s sep=50pt,l sep=5cm,dot,grow=1},
  17. [ ,name=b,edge label={node[midway, yshift=0.3cm,font=small]{$p^2_1 =0.6,~ d_1^2=4$}}
  18. [ ,name=c,edge label={node[midway, yshift=0.3cm,font=small]{$p^3_4 =0.25,~ d_4^3=5$}} ]
  19. [,name=d, edge label={node[midway, yshift=0.3cm,font=small]{$p^3_3 =0.25,~ d_3^3=2$}} ]
  20. ]
  21. [ ,name=e, edge label={node[midway, yshift=0.3cm,font=small]{$p^2_1 =0.4,~ d_1^2=1.5$}}
  22. [,name=g,edge label={node[midway, yshift=0.3cm,font=small]{$p^2_1 =0.3,~ d_2^3=5$}} ]
  23. [,name=h,edge label={node[midway, yshift=0.3cm,font=small]{$p^2_1 =0.2,~ d_1^3=2$}} ]
  24. ]
  25. ]
  26. node[yshift=-5cm,name= tiii,font=small] at (a) {$t=1$};
  27. node[name= tii,font=small] at (c|-tiii) {$t=3$};
  28. node[name= t,font=small] at (b|-tii) {$t=2$};
  29. end{forest}
  30.  
  31.  
  32. end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement