\hypertarget{classeo_parse_tree}{}\doxysection{eo\+Parse\+Tree$<$ F\+Type, Node $>$ Class Template Reference}
\label{classeo_parse_tree}\index{eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}}


{\ttfamily \#include $<$gp/eo\+Parse\+Tree.\+h$>$}



Inheritance diagram for eo\+Parse\+Tree$<$ F\+Type, Node $>$\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=331pt]{classeo_parse_tree__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for eo\+Parse\+Tree$<$ F\+Type, Node $>$\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classeo_parse_tree__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classeo_parse_tree_adeb80f8e657169cd0f096a8c5cb30f9b}\label{classeo_parse_tree_adeb80f8e657169cd0f096a8c5cb30f9b}} 
typedef \mbox{\hyperlink{classgp__parse__tree_1_1parse__tree}{parse\+\_\+tree}}$<$ \mbox{\hyperlink{class_node}{Node}} $>$\+::subtree {\bfseries Subtree}
\item 
\mbox{\Hypertarget{classeo_parse_tree_af74ddb70b4d4c26ddbab22556a71bceb}\label{classeo_parse_tree_af74ddb70b4d4c26ddbab22556a71bceb}} 
typedef \mbox{\hyperlink{class_node}{Node}} {\bfseries reference}
\item 
\mbox{\Hypertarget{classeo_parse_tree_adeb80f8e657169cd0f096a8c5cb30f9b}\label{classeo_parse_tree_adeb80f8e657169cd0f096a8c5cb30f9b}} 
typedef \mbox{\hyperlink{classgp__parse__tree_1_1parse__tree}{parse\+\_\+tree}}$<$ \mbox{\hyperlink{class_node}{Node}} $>$\+::subtree {\bfseries Subtree}
\item 
\mbox{\Hypertarget{classeo_parse_tree_af74ddb70b4d4c26ddbab22556a71bceb}\label{classeo_parse_tree_af74ddb70b4d4c26ddbab22556a71bceb}} 
typedef \mbox{\hyperlink{class_node}{Node}} {\bfseries reference}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classeo_parse_tree_a53bfb58d6a4fea455a0dece042e695ce}{eo\+Parse\+Tree}} (void)
\item 
\mbox{\hyperlink{classeo_parse_tree_afbb26bcf16330a73d4f64524ac6c1a74}{eo\+Parse\+Tree}} (const \mbox{\hyperlink{classgp__parse__tree_1_1parse__tree}{parse\+\_\+tree}}$<$ \mbox{\hyperlink{class_node}{Node}} $>$ \&tree)
\item 
virtual void \mbox{\hyperlink{classeo_parse_tree_a573a34fc925efbfcf18f6d7e2f035b24}{prune\+Tree}} (unsigned \+\_\+size)
\item 
\mbox{\hyperlink{classeo_parse_tree_aa8a053167c224a5c48e3aba12b8eb90d}{eo\+Parse\+Tree}} (std\+::istream \&is)
\item 
\mbox{\Hypertarget{classeo_parse_tree_a43f5f7ef22d6f4aa9e1f25716741ee3a}\label{classeo_parse_tree_a43f5f7ef22d6f4aa9e1f25716741ee3a}} 
std\+::string \mbox{\hyperlink{classeo_parse_tree_a43f5f7ef22d6f4aa9e1f25716741ee3a}{class\+Name}} (void) const
\begin{DoxyCompactList}\small\item\em My class name. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classeo_parse_tree_aa57b180b6dfee7f7a9195273b934f16a}{print\+On}} (std\+::ostream \&os) const
\item 
void \mbox{\hyperlink{classeo_parse_tree_a173d6ad3fcf8e317dbe56788b6d10d17}{read\+From}} (std\+::istream \&is)
\item 
\mbox{\hyperlink{classeo_parse_tree_a53bfb58d6a4fea455a0dece042e695ce}{eo\+Parse\+Tree}} (void)
\item 
\mbox{\hyperlink{classeo_parse_tree_afbb26bcf16330a73d4f64524ac6c1a74}{eo\+Parse\+Tree}} (const \mbox{\hyperlink{classgp__parse__tree_1_1parse__tree}{parse\+\_\+tree}}$<$ \mbox{\hyperlink{class_node}{Node}} $>$ \&tree)
\item 
virtual void \mbox{\hyperlink{classeo_parse_tree_a573a34fc925efbfcf18f6d7e2f035b24}{prune\+Tree}} (unsigned \+\_\+size)
\item 
\mbox{\hyperlink{classeo_parse_tree_aa8a053167c224a5c48e3aba12b8eb90d}{eo\+Parse\+Tree}} (std\+::istream \&is)
\item 
\mbox{\Hypertarget{classeo_parse_tree_a43f5f7ef22d6f4aa9e1f25716741ee3a}\label{classeo_parse_tree_a43f5f7ef22d6f4aa9e1f25716741ee3a}} 
std\+::string \mbox{\hyperlink{classeo_parse_tree_a43f5f7ef22d6f4aa9e1f25716741ee3a}{class\+Name}} (void) const
\begin{DoxyCompactList}\small\item\em My class name. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classeo_parse_tree_aa57b180b6dfee7f7a9195273b934f16a}{print\+On}} (std\+::ostream \&os) const
\item 
void \mbox{\hyperlink{classeo_parse_tree_a173d6ad3fcf8e317dbe56788b6d10d17}{read\+From}} (std\+::istream \&is)
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classeo_parse_tree_aaa98b5095c94e68b53160c5c70d20aa3}\label{classeo_parse_tree_aaa98b5095c94e68b53160c5c70d20aa3}} 
const typedef \mbox{\hyperlink{class_node}{reference}} {\bfseries const\+\_\+reference}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$class F\+Type, class Node$>$\newline
class eo\+Parse\+Tree$<$ F\+Type, Node $>$}

Implementation of parse-\/tree for genetic programming 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classeo_parse_tree_a53bfb58d6a4fea455a0dece042e695ce}\label{classeo_parse_tree_a53bfb58d6a4fea455a0dece042e695ce}} 
\index{eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}!eoParseTree@{eoParseTree}}
\index{eoParseTree@{eoParseTree}!eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}}
\doxysubsubsection{\texorpdfstring{eoParseTree()}{eoParseTree()}\hspace{0.1cm}{\footnotesize\ttfamily [1/6]}}
{\footnotesize\ttfamily template$<$class F\+Type , class Node $>$ \\
\mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$\+::\mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}} (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Default Constructor \mbox{\Hypertarget{classeo_parse_tree_afbb26bcf16330a73d4f64524ac6c1a74}\label{classeo_parse_tree_afbb26bcf16330a73d4f64524ac6c1a74}} 
\index{eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}!eoParseTree@{eoParseTree}}
\index{eoParseTree@{eoParseTree}!eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}}
\doxysubsubsection{\texorpdfstring{eoParseTree()}{eoParseTree()}\hspace{0.1cm}{\footnotesize\ttfamily [2/6]}}
{\footnotesize\ttfamily template$<$class F\+Type , class Node $>$ \\
\mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$\+::\mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}} (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classgp__parse__tree_1_1parse__tree}{parse\+\_\+tree}}$<$ \mbox{\hyperlink{class_node}{Node}} $>$ \&}]{tree }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Copy Constructor 
\begin{DoxyParams}{Parameters}
{\em tree} & The tree to copy \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classeo_parse_tree_aa8a053167c224a5c48e3aba12b8eb90d}\label{classeo_parse_tree_aa8a053167c224a5c48e3aba12b8eb90d}} 
\index{eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}!eoParseTree@{eoParseTree}}
\index{eoParseTree@{eoParseTree}!eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}}
\doxysubsubsection{\texorpdfstring{eoParseTree()}{eoParseTree()}\hspace{0.1cm}{\footnotesize\ttfamily [3/6]}}
{\footnotesize\ttfamily template$<$class F\+Type , class Node $>$ \\
\mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$\+::\mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}} (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{is }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

To read me from a stream 
\begin{DoxyParams}{Parameters}
{\em is} & The std\+::istream \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classeo_parse_tree_a53bfb58d6a4fea455a0dece042e695ce}\label{classeo_parse_tree_a53bfb58d6a4fea455a0dece042e695ce}} 
\index{eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}!eoParseTree@{eoParseTree}}
\index{eoParseTree@{eoParseTree}!eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}}
\doxysubsubsection{\texorpdfstring{eoParseTree()}{eoParseTree()}\hspace{0.1cm}{\footnotesize\ttfamily [4/6]}}
{\footnotesize\ttfamily template$<$class F\+Type , class Node $>$ \\
\mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$\+::\mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}} (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Default Constructor \mbox{\Hypertarget{classeo_parse_tree_afbb26bcf16330a73d4f64524ac6c1a74}\label{classeo_parse_tree_afbb26bcf16330a73d4f64524ac6c1a74}} 
\index{eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}!eoParseTree@{eoParseTree}}
\index{eoParseTree@{eoParseTree}!eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}}
\doxysubsubsection{\texorpdfstring{eoParseTree()}{eoParseTree()}\hspace{0.1cm}{\footnotesize\ttfamily [5/6]}}
{\footnotesize\ttfamily template$<$class F\+Type , class Node $>$ \\
\mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$\+::\mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}} (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classgp__parse__tree_1_1parse__tree}{parse\+\_\+tree}}$<$ \mbox{\hyperlink{class_node}{Node}} $>$ \&}]{tree }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Copy Constructor 
\begin{DoxyParams}{Parameters}
{\em tree} & The tree to copy \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classeo_parse_tree_aa8a053167c224a5c48e3aba12b8eb90d}\label{classeo_parse_tree_aa8a053167c224a5c48e3aba12b8eb90d}} 
\index{eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}!eoParseTree@{eoParseTree}}
\index{eoParseTree@{eoParseTree}!eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}}
\doxysubsubsection{\texorpdfstring{eoParseTree()}{eoParseTree()}\hspace{0.1cm}{\footnotesize\ttfamily [6/6]}}
{\footnotesize\ttfamily template$<$class F\+Type , class Node $>$ \\
\mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$\+::\mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}} (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{is }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

To read me from a stream 
\begin{DoxyParams}{Parameters}
{\em is} & The std\+::istream \\
\hline
\end{DoxyParams}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classeo_parse_tree_aa57b180b6dfee7f7a9195273b934f16a}\label{classeo_parse_tree_aa57b180b6dfee7f7a9195273b934f16a}} 
\index{eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}!printOn@{printOn}}
\index{printOn@{printOn}!eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}}
\doxysubsubsection{\texorpdfstring{printOn()}{printOn()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily template$<$class F\+Type , class Node $>$ \\
void \mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$\+::print\+On (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{os }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

To print me on a stream 
\begin{DoxyParams}{Parameters}
{\em os} & The std\+::ostream \\
\hline
\end{DoxyParams}


Reimplemented from \mbox{\hyperlink{class_e_o_a3a022b10acf3d67e61c253caf1d76356}{E\+O$<$ F\+Type $>$}}.

\mbox{\Hypertarget{classeo_parse_tree_aa57b180b6dfee7f7a9195273b934f16a}\label{classeo_parse_tree_aa57b180b6dfee7f7a9195273b934f16a}} 
\index{eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}!printOn@{printOn}}
\index{printOn@{printOn}!eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}}
\doxysubsubsection{\texorpdfstring{printOn()}{printOn()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily template$<$class F\+Type , class Node $>$ \\
void \mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$\+::print\+On (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{os }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

To print me on a stream 
\begin{DoxyParams}{Parameters}
{\em os} & The std\+::ostream \\
\hline
\end{DoxyParams}


Reimplemented from \mbox{\hyperlink{class_e_o_a3a022b10acf3d67e61c253caf1d76356}{E\+O$<$ F\+Type $>$}}.

\mbox{\Hypertarget{classeo_parse_tree_a573a34fc925efbfcf18f6d7e2f035b24}\label{classeo_parse_tree_a573a34fc925efbfcf18f6d7e2f035b24}} 
\index{eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}!pruneTree@{pruneTree}}
\index{pruneTree@{pruneTree}!eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}}
\doxysubsubsection{\texorpdfstring{pruneTree()}{pruneTree()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily template$<$class F\+Type , class Node $>$ \\
virtual void \mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$\+::prune\+Tree (\begin{DoxyParamCaption}\item[{unsigned}]{\+\_\+size }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

To prune me to a certain size 
\begin{DoxyParams}{Parameters}
{\em \+\_\+size} & My maximum size \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classeo_parse_tree_a573a34fc925efbfcf18f6d7e2f035b24}\label{classeo_parse_tree_a573a34fc925efbfcf18f6d7e2f035b24}} 
\index{eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}!pruneTree@{pruneTree}}
\index{pruneTree@{pruneTree}!eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}}
\doxysubsubsection{\texorpdfstring{pruneTree()}{pruneTree()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily template$<$class F\+Type , class Node $>$ \\
virtual void \mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$\+::prune\+Tree (\begin{DoxyParamCaption}\item[{unsigned}]{\+\_\+size }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

To prune me to a certain size 
\begin{DoxyParams}{Parameters}
{\em \+\_\+size} & My maximum size \\
\hline
\end{DoxyParams}
\mbox{\Hypertarget{classeo_parse_tree_a173d6ad3fcf8e317dbe56788b6d10d17}\label{classeo_parse_tree_a173d6ad3fcf8e317dbe56788b6d10d17}} 
\index{eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}!readFrom@{readFrom}}
\index{readFrom@{readFrom}!eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}}
\doxysubsubsection{\texorpdfstring{readFrom()}{readFrom()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily template$<$class F\+Type , class Node $>$ \\
void \mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$\+::read\+From (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{is }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

To read me from a stream 
\begin{DoxyParams}{Parameters}
{\em is} & The std\+::istream \\
\hline
\end{DoxyParams}


Reimplemented from \mbox{\hyperlink{class_e_o_a8d98b330d6a8c2b4e3371eae2b2d7e48}{E\+O$<$ F\+Type $>$}}.

\mbox{\Hypertarget{classeo_parse_tree_a173d6ad3fcf8e317dbe56788b6d10d17}\label{classeo_parse_tree_a173d6ad3fcf8e317dbe56788b6d10d17}} 
\index{eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}!readFrom@{readFrom}}
\index{readFrom@{readFrom}!eoParseTree$<$ FType, Node $>$@{eoParseTree$<$ FType, Node $>$}}
\doxysubsubsection{\texorpdfstring{readFrom()}{readFrom()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily template$<$class F\+Type , class Node $>$ \\
void \mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$\+::read\+From (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{is }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

To read me from a stream 
\begin{DoxyParams}{Parameters}
{\em is} & The std\+::istream \\
\hline
\end{DoxyParams}


Reimplemented from \mbox{\hyperlink{class_e_o_a8d98b330d6a8c2b4e3371eae2b2d7e48}{E\+O$<$ F\+Type $>$}}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
deprecated/eo/src/gp/eo\+Parse\+Tree.\+h\end{DoxyCompactItemize}
