143 lines
9.4 KiB
TeX
143 lines
9.4 KiB
TeX
\hypertarget{classeo_parse_tree_depth_init}{}\doxysection{eo\+Parse\+Tree\+Depth\+Init$<$ F\+Type, Node $>$ Class Template Reference}
|
|
\label{classeo_parse_tree_depth_init}\index{eoParseTreeDepthInit$<$ FType, Node $>$@{eoParseTreeDepthInit$<$ FType, Node $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$gp/eo\+Parse\+Tree\+Depth\+Init.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for eo\+Parse\+Tree\+Depth\+Init$<$ F\+Type, Node $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=316pt]{classeo_parse_tree_depth_init__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for eo\+Parse\+Tree\+Depth\+Init$<$ F\+Type, Node $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=316pt]{classeo_parse_tree_depth_init__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Classes}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
struct \mbox{\hyperlink{structeo_parse_tree_depth_init_1_1lt__arity}{lt\+\_\+arity}}
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Public Types}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_parse_tree_depth_init_a7e9cba29da1ddeabe6a0036162c0d381}\label{classeo_parse_tree_depth_init_a7e9cba29da1ddeabe6a0036162c0d381}}
|
|
typedef \mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$ {\bfseries Eo\+Type}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_parse_tree_depth_init_a7e9cba29da1ddeabe6a0036162c0d381}\label{classeo_parse_tree_depth_init_a7e9cba29da1ddeabe6a0036162c0d381}}
|
|
typedef \mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$ {\bfseries Eo\+Type}
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{classeo_parse_tree_depth_init_a4f9b104b6901eed755736507fa3809e1}{eo\+Parse\+Tree\+Depth\+Init}} (unsigned \+\_\+max\+\_\+depth, const std\+::vector$<$ \mbox{\hyperlink{class_node}{Node}} $>$ \&\+\_\+initializor, bool \+\_\+grow=true, bool \+\_\+ramped\+\_\+half\+\_\+and\+\_\+half=false)
|
|
\item
|
|
\mbox{\Hypertarget{classeo_parse_tree_depth_init_aea5f2c5f3af0a6386178a740407c6ffa}\label{classeo_parse_tree_depth_init_aea5f2c5f3af0a6386178a740407c6ffa}}
|
|
virtual std\+::string \mbox{\hyperlink{classeo_parse_tree_depth_init_aea5f2c5f3af0a6386178a740407c6ffa}{class\+Name}} () const
|
|
\begin{DoxyCompactList}\small\item\em My class name. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{classeo_parse_tree_depth_init_ac1def3b9b640b456a64570047ef5b942}{operator()}} (\mbox{\hyperlink{classeo_parse_tree}{Eo\+Type}} \&\+\_\+tree)
|
|
\item
|
|
\mbox{\hyperlink{classeo_parse_tree_depth_init_a4f9b104b6901eed755736507fa3809e1}{eo\+Parse\+Tree\+Depth\+Init}} (unsigned \+\_\+max\+\_\+depth, const std\+::vector$<$ \mbox{\hyperlink{class_node}{Node}} $>$ \&\+\_\+initializor, bool \+\_\+grow=true, bool \+\_\+ramped\+\_\+half\+\_\+and\+\_\+half=false)
|
|
\item
|
|
\mbox{\Hypertarget{classeo_parse_tree_depth_init_aea5f2c5f3af0a6386178a740407c6ffa}\label{classeo_parse_tree_depth_init_aea5f2c5f3af0a6386178a740407c6ffa}}
|
|
virtual std\+::string \mbox{\hyperlink{classeo_parse_tree_depth_init_aea5f2c5f3af0a6386178a740407c6ffa}{class\+Name}} () const
|
|
\begin{DoxyCompactList}\small\item\em My class name. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{classeo_parse_tree_depth_init_ac1def3b9b640b456a64570047ef5b942}{operator()}} (\mbox{\hyperlink{classeo_parse_tree}{Eo\+Type}} \&\+\_\+tree)
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class F\+Type, class Node$>$\newline
|
|
class eo\+Parse\+Tree\+Depth\+Init$<$ F\+Type, Node $>$}
|
|
|
|
\mbox{\hyperlink{classeo_parse_tree_depth_init}{eo\+Parse\+Tree\+Depth\+Init}} \+: the initializer class for \mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}}
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
\mbox{\Hypertarget{classeo_parse_tree_depth_init_a4f9b104b6901eed755736507fa3809e1}\label{classeo_parse_tree_depth_init_a4f9b104b6901eed755736507fa3809e1}}
|
|
\index{eoParseTreeDepthInit$<$ FType, Node $>$@{eoParseTreeDepthInit$<$ FType, Node $>$}!eoParseTreeDepthInit@{eoParseTreeDepthInit}}
|
|
\index{eoParseTreeDepthInit@{eoParseTreeDepthInit}!eoParseTreeDepthInit$<$ FType, Node $>$@{eoParseTreeDepthInit$<$ FType, Node $>$}}
|
|
\doxysubsubsection{\texorpdfstring{eoParseTreeDepthInit()}{eoParseTreeDepthInit()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class F\+Type , class Node $>$ \\
|
|
\mbox{\hyperlink{classeo_parse_tree_depth_init}{eo\+Parse\+Tree\+Depth\+Init}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$\+::\mbox{\hyperlink{classeo_parse_tree_depth_init}{eo\+Parse\+Tree\+Depth\+Init}} (\begin{DoxyParamCaption}\item[{unsigned}]{\+\_\+max\+\_\+depth, }\item[{const std\+::vector$<$ \mbox{\hyperlink{class_node}{Node}} $>$ \&}]{\+\_\+initializor, }\item[{bool}]{\+\_\+grow = {\ttfamily true}, }\item[{bool}]{\+\_\+ramped\+\_\+half\+\_\+and\+\_\+half = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Constructor
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+max\+\_\+depth} & The maximum depth of a tree \\
|
|
\hline
|
|
{\em \+\_\+initializor} & A std\+::vector containing the possible nodes \\
|
|
\hline
|
|
{\em \+\_\+grow} & False results in a full tree, True result is a randomly grown tree \\
|
|
\hline
|
|
{\em \+\_\+ramped\+\_\+half\+\_\+and\+\_\+half} & True results in Ramped Half and Half Initialization \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\mbox{\Hypertarget{classeo_parse_tree_depth_init_a4f9b104b6901eed755736507fa3809e1}\label{classeo_parse_tree_depth_init_a4f9b104b6901eed755736507fa3809e1}}
|
|
\index{eoParseTreeDepthInit$<$ FType, Node $>$@{eoParseTreeDepthInit$<$ FType, Node $>$}!eoParseTreeDepthInit@{eoParseTreeDepthInit}}
|
|
\index{eoParseTreeDepthInit@{eoParseTreeDepthInit}!eoParseTreeDepthInit$<$ FType, Node $>$@{eoParseTreeDepthInit$<$ FType, Node $>$}}
|
|
\doxysubsubsection{\texorpdfstring{eoParseTreeDepthInit()}{eoParseTreeDepthInit()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class F\+Type , class Node $>$ \\
|
|
\mbox{\hyperlink{classeo_parse_tree_depth_init}{eo\+Parse\+Tree\+Depth\+Init}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$\+::\mbox{\hyperlink{classeo_parse_tree_depth_init}{eo\+Parse\+Tree\+Depth\+Init}} (\begin{DoxyParamCaption}\item[{unsigned}]{\+\_\+max\+\_\+depth, }\item[{const std\+::vector$<$ \mbox{\hyperlink{class_node}{Node}} $>$ \&}]{\+\_\+initializor, }\item[{bool}]{\+\_\+grow = {\ttfamily true}, }\item[{bool}]{\+\_\+ramped\+\_\+half\+\_\+and\+\_\+half = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Constructor
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+max\+\_\+depth} & The maximum depth of a tree \\
|
|
\hline
|
|
{\em \+\_\+initializor} & A std\+::vector containing the possible nodes \\
|
|
\hline
|
|
{\em \+\_\+grow} & False results in a full tree, True result is a randomly grown tree \\
|
|
\hline
|
|
{\em \+\_\+ramped\+\_\+half\+\_\+and\+\_\+half} & True results in Ramped Half and Half Initialization \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classeo_parse_tree_depth_init_ac1def3b9b640b456a64570047ef5b942}\label{classeo_parse_tree_depth_init_ac1def3b9b640b456a64570047ef5b942}}
|
|
\index{eoParseTreeDepthInit$<$ FType, Node $>$@{eoParseTreeDepthInit$<$ FType, Node $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoParseTreeDepthInit$<$ FType, Node $>$@{eoParseTreeDepthInit$<$ FType, Node $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class F\+Type , class Node $>$ \\
|
|
void \mbox{\hyperlink{classeo_parse_tree_depth_init}{eo\+Parse\+Tree\+Depth\+Init}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$\+::operator() (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_parse_tree}{Eo\+Type}} \&}]{\+\_\+tree }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
initialize a tree
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+tree} & \+: the tree to be initialized \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classeo_u_f_a786e028409366dc273e19104f17ba68a}{eo\+U\+F$<$ eo\+Parse\+Tree$<$ F\+Type, Node $>$ \&, void $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_parse_tree_depth_init_ac1def3b9b640b456a64570047ef5b942}\label{classeo_parse_tree_depth_init_ac1def3b9b640b456a64570047ef5b942}}
|
|
\index{eoParseTreeDepthInit$<$ FType, Node $>$@{eoParseTreeDepthInit$<$ FType, Node $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoParseTreeDepthInit$<$ FType, Node $>$@{eoParseTreeDepthInit$<$ FType, Node $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class F\+Type , class Node $>$ \\
|
|
void \mbox{\hyperlink{classeo_parse_tree_depth_init}{eo\+Parse\+Tree\+Depth\+Init}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$\+::operator() (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_parse_tree}{Eo\+Type}} \&}]{\+\_\+tree }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
initialize a tree
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+tree} & \+: the tree to be initialized \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classeo_u_f_a786e028409366dc273e19104f17ba68a}{eo\+U\+F$<$ eo\+Parse\+Tree$<$ F\+Type, Node $>$ \&, void $>$}}.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
deprecated/eo/src/gp/eo\+Parse\+Tree\+Depth\+Init.\+h\end{DoxyCompactItemize}
|