136 lines
9.1 KiB
TeX
136 lines
9.1 KiB
TeX
\hypertarget{classeo_expansion_mutation}{}\doxysection{eo\+Expansion\+Mutation$<$ F\+Type, Node $>$ Class Template Reference}
|
|
\label{classeo_expansion_mutation}\index{eoExpansionMutation$<$ FType, Node $>$@{eoExpansionMutation$<$ FType, Node $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$gp/eo\+Parse\+Tree\+Op.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for eo\+Expansion\+Mutation$<$ F\+Type, Node $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classeo_expansion_mutation__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for eo\+Expansion\+Mutation$<$ F\+Type, Node $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classeo_expansion_mutation__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Types}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_expansion_mutation_accb924dde3531b6d5e140c4a38dac677}\label{classeo_expansion_mutation_accb924dde3531b6d5e140c4a38dac677}}
|
|
typedef \mbox{\hyperlink{classeo_parse_tree}{eo\+Parse\+Tree}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$ {\bfseries Eo\+Type}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_expansion_mutation_accb924dde3531b6d5e140c4a38dac677}\label{classeo_expansion_mutation_accb924dde3531b6d5e140c4a38dac677}}
|
|
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_expansion_mutation_a941d5d81278f31915da225ae2c64334b}{eo\+Expansion\+Mutation}} (\mbox{\hyperlink{classeo_init}{eo\+Init}}$<$ \mbox{\hyperlink{classeo_parse_tree}{Eo\+Type}} $>$ \&\+\_\+init, unsigned \+\_\+max\+\_\+length)
|
|
\item
|
|
\mbox{\Hypertarget{classeo_expansion_mutation_aaf6ac0bce6bdd8b61b029d6ca438b3d1}\label{classeo_expansion_mutation_aaf6ac0bce6bdd8b61b029d6ca438b3d1}}
|
|
virtual std\+::string \mbox{\hyperlink{classeo_expansion_mutation_aaf6ac0bce6bdd8b61b029d6ca438b3d1}{class\+Name}} () const
|
|
\begin{DoxyCompactList}\small\item\em The class name. \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{classeo_expansion_mutation_ac3e7984b9676306e5762107371fdb568}\label{classeo_expansion_mutation_ac3e7984b9676306e5762107371fdb568}}
|
|
virtual \mbox{\hyperlink{classeo_expansion_mutation_ac3e7984b9676306e5762107371fdb568}{$\sim$eo\+Expansion\+Mutation}} ()
|
|
\begin{DoxyCompactList}\small\item\em Dtor. \end{DoxyCompactList}\item
|
|
bool \mbox{\hyperlink{classeo_expansion_mutation_abbd971866c8c7cf9e59766a39e3cd2c7}{operator()}} (\mbox{\hyperlink{classeo_parse_tree}{Eo\+Type}} \&\+\_\+eo1)
|
|
\item
|
|
\mbox{\hyperlink{classeo_expansion_mutation_a941d5d81278f31915da225ae2c64334b}{eo\+Expansion\+Mutation}} (\mbox{\hyperlink{classeo_init}{eo\+Init}}$<$ \mbox{\hyperlink{classeo_parse_tree}{Eo\+Type}} $>$ \&\+\_\+init, unsigned \+\_\+max\+\_\+length)
|
|
\item
|
|
\mbox{\Hypertarget{classeo_expansion_mutation_aaf6ac0bce6bdd8b61b029d6ca438b3d1}\label{classeo_expansion_mutation_aaf6ac0bce6bdd8b61b029d6ca438b3d1}}
|
|
virtual std\+::string \mbox{\hyperlink{classeo_expansion_mutation_aaf6ac0bce6bdd8b61b029d6ca438b3d1}{class\+Name}} () const
|
|
\begin{DoxyCompactList}\small\item\em The class name. \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{classeo_expansion_mutation_ac3e7984b9676306e5762107371fdb568}\label{classeo_expansion_mutation_ac3e7984b9676306e5762107371fdb568}}
|
|
virtual \mbox{\hyperlink{classeo_expansion_mutation_ac3e7984b9676306e5762107371fdb568}{$\sim$eo\+Expansion\+Mutation}} ()
|
|
\begin{DoxyCompactList}\small\item\em Dtor. \end{DoxyCompactList}\item
|
|
bool \mbox{\hyperlink{classeo_expansion_mutation_abbd971866c8c7cf9e59766a39e3cd2c7}{operator()}} (\mbox{\hyperlink{classeo_parse_tree}{Eo\+Type}} \&\+\_\+eo1)
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class F\+Type, class Node$>$\newline
|
|
class eo\+Expansion\+Mutation$<$ F\+Type, Node $>$}
|
|
|
|
\mbox{\hyperlink{classeo_expansion_mutation}{eo\+Expansion\+Mutation}} -\/-\/$>$ replace a terminal with a randomly created subtree
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
\mbox{\Hypertarget{classeo_expansion_mutation_a941d5d81278f31915da225ae2c64334b}\label{classeo_expansion_mutation_a941d5d81278f31915da225ae2c64334b}}
|
|
\index{eoExpansionMutation$<$ FType, Node $>$@{eoExpansionMutation$<$ FType, Node $>$}!eoExpansionMutation@{eoExpansionMutation}}
|
|
\index{eoExpansionMutation@{eoExpansionMutation}!eoExpansionMutation$<$ FType, Node $>$@{eoExpansionMutation$<$ FType, Node $>$}}
|
|
\doxysubsubsection{\texorpdfstring{eoExpansionMutation()}{eoExpansionMutation()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class F\+Type , class Node $>$ \\
|
|
\mbox{\hyperlink{classeo_expansion_mutation}{eo\+Expansion\+Mutation}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$\+::\mbox{\hyperlink{classeo_expansion_mutation}{eo\+Expansion\+Mutation}} (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_init}{eo\+Init}}$<$ \mbox{\hyperlink{classeo_parse_tree}{Eo\+Type}} $>$ \&}]{\+\_\+init, }\item[{unsigned}]{\+\_\+max\+\_\+length }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Constructor
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+init} & An instantiation of eo\+Gp\+Depth\+Initializer \\
|
|
\hline
|
|
{\em \+\_\+max\+\_\+length} & the maximum size of an individual \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\mbox{\Hypertarget{classeo_expansion_mutation_a941d5d81278f31915da225ae2c64334b}\label{classeo_expansion_mutation_a941d5d81278f31915da225ae2c64334b}}
|
|
\index{eoExpansionMutation$<$ FType, Node $>$@{eoExpansionMutation$<$ FType, Node $>$}!eoExpansionMutation@{eoExpansionMutation}}
|
|
\index{eoExpansionMutation@{eoExpansionMutation}!eoExpansionMutation$<$ FType, Node $>$@{eoExpansionMutation$<$ FType, Node $>$}}
|
|
\doxysubsubsection{\texorpdfstring{eoExpansionMutation()}{eoExpansionMutation()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class F\+Type , class Node $>$ \\
|
|
\mbox{\hyperlink{classeo_expansion_mutation}{eo\+Expansion\+Mutation}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$\+::\mbox{\hyperlink{classeo_expansion_mutation}{eo\+Expansion\+Mutation}} (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_init}{eo\+Init}}$<$ \mbox{\hyperlink{classeo_parse_tree}{Eo\+Type}} $>$ \&}]{\+\_\+init, }\item[{unsigned}]{\+\_\+max\+\_\+length }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Constructor
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+init} & An instantiation of eo\+Gp\+Depth\+Initializer \\
|
|
\hline
|
|
{\em \+\_\+max\+\_\+length} & the maximum size of an individual \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classeo_expansion_mutation_abbd971866c8c7cf9e59766a39e3cd2c7}\label{classeo_expansion_mutation_abbd971866c8c7cf9e59766a39e3cd2c7}}
|
|
\index{eoExpansionMutation$<$ FType, Node $>$@{eoExpansionMutation$<$ FType, Node $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoExpansionMutation$<$ FType, Node $>$@{eoExpansionMutation$<$ FType, Node $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class F\+Type , class Node $>$ \\
|
|
bool \mbox{\hyperlink{classeo_expansion_mutation}{eo\+Expansion\+Mutation}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$\+::operator() (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_parse_tree}{Eo\+Type}} \&}]{\+\_\+eo1 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
\mbox{\hyperlink{class_mutate}{Mutate}} an individual
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+eo1} & The individual that is to be changed \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classeo_u_f_a786e028409366dc273e19104f17ba68a}{eo\+U\+F$<$ eo\+Parse\+Tree$<$ F\+Type, Node $>$ \&, bool $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_expansion_mutation_abbd971866c8c7cf9e59766a39e3cd2c7}\label{classeo_expansion_mutation_abbd971866c8c7cf9e59766a39e3cd2c7}}
|
|
\index{eoExpansionMutation$<$ FType, Node $>$@{eoExpansionMutation$<$ FType, Node $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoExpansionMutation$<$ FType, Node $>$@{eoExpansionMutation$<$ FType, Node $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class F\+Type , class Node $>$ \\
|
|
bool \mbox{\hyperlink{classeo_expansion_mutation}{eo\+Expansion\+Mutation}}$<$ F\+Type, \mbox{\hyperlink{class_node}{Node}} $>$\+::operator() (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_parse_tree}{Eo\+Type}} \&}]{\+\_\+eo1 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
\mbox{\hyperlink{class_mutate}{Mutate}} an individual
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+eo1} & The individual that is to be changed \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classeo_u_f_a786e028409366dc273e19104f17ba68a}{eo\+U\+F$<$ eo\+Parse\+Tree$<$ F\+Type, Node $>$ \&, bool $>$}}.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
deprecated/eo/src/gp/eo\+Parse\+Tree\+Op.\+h\end{DoxyCompactItemize}
|