git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
91 lines
3.6 KiB
TeX
91 lines
3.6 KiB
TeX
\section{eo\-St\-Branch\-Mutation$<$ FType, Node $>$ Class Template Reference}
|
|
\label{classeo_st_branch_mutation}\index{eoStBranchMutation@{eoStBranchMutation}}
|
|
eo\-St\-Branch\-Mutation --$>$ replace a strongly typed subtree with a randomly created strongly typed subtree
|
|
|
|
|
|
{\tt \#include $<$gp/eo\-St\-Parse\-Tree\-Op.h$>$}
|
|
|
|
Inheritance diagram for eo\-St\-Branch\-Mutation$<$ FType, Node $>$::\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[height=2.14559cm]{classeo_st_branch_mutation}
|
|
\end{center}
|
|
\end{figure}
|
|
\subsection*{Public Types}
|
|
\begin{CompactItemize}
|
|
\item
|
|
typedef {\bf eo\-Parse\-Tree}$<$ FType, Node $>$ {\bf Eo\-Type}\label{classeo_st_branch_mutation_w0}
|
|
|
|
\end{CompactItemize}
|
|
\subsection*{Public Member Functions}
|
|
\begin{CompactItemize}
|
|
\item
|
|
{\bf eo\-St\-Branch\-Mutation} ({\bf eo\-Init}$<$ {\bf Eo\-Type} $>$ \&\_\-init, unsigned \_\-max\_\-length)
|
|
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item
|
|
virtual std::string {\bf class\-Name} () const \label{classeo_st_branch_mutation_a1}
|
|
|
|
\begin{CompactList}\small\item\em the class name \item\end{CompactList}\item
|
|
virtual {\bf $\sim$eo\-St\-Branch\-Mutation} ()\label{classeo_st_branch_mutation_a2}
|
|
|
|
\begin{CompactList}\small\item\em Dtor. \item\end{CompactList}\item
|
|
bool {\bf operator()} ({\bf Eo\-Type} \&\_\-eo1)
|
|
\begin{CompactList}\small\item\em Mutate an individual. \item\end{CompactList}\end{CompactItemize}
|
|
\subsection*{Private Attributes}
|
|
\begin{CompactItemize}
|
|
\item
|
|
unsigned {\bf max\_\-length}\label{classeo_st_branch_mutation_r0}
|
|
|
|
\item
|
|
{\bf eo\-Init}$<$ {\bf Eo\-Type} $>$ \& {\bf initializer}\label{classeo_st_branch_mutation_r1}
|
|
|
|
\end{CompactItemize}
|
|
|
|
|
|
\subsection{Detailed Description}
|
|
\subsubsection*{template$<$class FType, class Node$>$ class eo\-St\-Branch\-Mutation$<$ FType, Node $>$}
|
|
|
|
eo\-St\-Branch\-Mutation --$>$ replace a strongly typed subtree with a randomly created strongly typed subtree
|
|
|
|
|
|
|
|
Definition at line 130 of file eo\-St\-Parse\-Tree\-Op.h.
|
|
|
|
\subsection{Constructor \& Destructor Documentation}
|
|
\index{eoStBranchMutation@{eo\-St\-Branch\-Mutation}!eoStBranchMutation@{eoStBranchMutation}}
|
|
\index{eoStBranchMutation@{eoStBranchMutation}!eoStBranchMutation@{eo\-St\-Branch\-Mutation}}
|
|
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class FType, class Node$>$ {\bf eo\-St\-Branch\-Mutation}$<$ FType, Node $>$::{\bf eo\-St\-Branch\-Mutation} ({\bf eo\-Init}$<$ {\bf Eo\-Type} $>$ \& {\em \_\-init}, unsigned {\em \_\-max\_\-length})\hspace{0.3cm}{\tt [inline]}}\label{classeo_st_branch_mutation_a0}
|
|
|
|
|
|
Constructor.
|
|
|
|
\begin{Desc}
|
|
\item[Parameters:]
|
|
\begin{description}
|
|
\item[{\em \_\-init}]An instantiation of eo\-Gp\-Depth\-Initializer \item[{\em \_\-max\_\-length}]the maximum size of an individual \end{description}
|
|
\end{Desc}
|
|
|
|
|
|
Definition at line 140 of file eo\-St\-Parse\-Tree\-Op.h.
|
|
|
|
\subsection{Member Function Documentation}
|
|
\index{eoStBranchMutation@{eo\-St\-Branch\-Mutation}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoStBranchMutation@{eo\-St\-Branch\-Mutation}}
|
|
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class FType, class Node$>$ bool {\bf eo\-St\-Branch\-Mutation}$<$ FType, Node $>$::operator() ({\bf Eo\-Type} \& {\em \_\-eo1})\hspace{0.3cm}{\tt [inline]}}\label{classeo_st_branch_mutation_a3}
|
|
|
|
|
|
Mutate an individual.
|
|
|
|
\begin{Desc}
|
|
\item[Parameters:]
|
|
\begin{description}
|
|
\item[{\em \_\-eo1}]The individual that is to be changed \end{description}
|
|
\end{Desc}
|
|
|
|
|
|
Definition at line 154 of file eo\-St\-Parse\-Tree\-Op.h.
|
|
|
|
References eo\-Rng::random().
|
|
|
|
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
|
\item
|
|
eo\-St\-Parse\-Tree\-Op.h\end{CompactItemize}
|