Last change
on this file since 10138 was
6152,
checked in by bfarka, 14 years ago
|
added ecj and custom statistics to communicate with the okb services #1441
|
File size:
1.1 KB
|
Line | |
---|
1 | \documentclass[]{article}
|
---|
2 | \usepackage{epic} % required by ecltree and fancybox packages
|
---|
3 | \usepackage{ecltree} % to draw the GP trees
|
---|
4 | \usepackage{fancybox} % required by \Ovalbox
|
---|
5 |
|
---|
6 | \begin{document}
|
---|
7 |
|
---|
8 | % minimum distance between nodes on the same line
|
---|
9 | \setlength{\GapWidth}{1em}
|
---|
10 |
|
---|
11 | % draw with a thick dashed line, very nice looking
|
---|
12 | \thicklines \drawwith{\dottedline{2}}
|
---|
13 |
|
---|
14 | % draw an oval and center it with the rule. You may want to fool with the
|
---|
15 | % rule values, though these seem to work quite well for me. If you make the
|
---|
16 | % rule smaller than the text height, then the GP nodes may not line up with
|
---|
17 | % each other horizontally quite right, so watch out.
|
---|
18 | \newcommand{\gpbox}[1]{\Ovalbox{#1\rule[-.7ex]{0ex}{2.7ex}}}
|
---|
19 |
|
---|
20 | \begin{bundle}{\gpbox{+}}\chunk{\gpbox{y}}\chunk{\begin{bundle}{\gpbox{+}}\chunk{\begin{bundle}{\gpbox{*}}
|
---|
21 | \chunk{\gpbox{x}}\chunk{\gpbox{y}}\end{bundle}}\chunk{\begin{bundle}{\gpbox{*}}\chunk{\gpbox{y}}
|
---|
22 | \chunk{\begin{bundle}{\gpbox{*}}\chunk{\gpbox{x}}\chunk{\gpbox{x}}\end{bundle}}\end{bundle}}\end{bundle}}
|
---|
23 | \end{bundle}
|
---|
24 | \end{document}
|
---|
25 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.