paradiseo/trunk/paradiseo-eo/doc/latex/classeo_branch_mutation.tex
legrand c3aec878e5 Paradiseo-eo sources added
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
2006-12-12 14:49:08 +00:00

91 lines
3.5 KiB
TeX

\section{eo\-Branch\-Mutation$<$ FType, Node $>$ Class Template Reference}
\label{classeo_branch_mutation}\index{eoBranchMutation@{eoBranchMutation}}
eo\-Branch\-Mutation --$>$ replace a subtree with a randomly created subtree
{\tt \#include $<$gp/eo\-Parse\-Tree\-Op.h$>$}
Inheritance diagram for eo\-Branch\-Mutation$<$ FType, Node $>$::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.14559cm]{classeo_branch_mutation}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{CompactItemize}
\item
typedef {\bf eo\-Parse\-Tree}$<$ FType, Node $>$ {\bf Eo\-Type}\label{classeo_branch_mutation_w0}
\end{CompactItemize}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item
{\bf eo\-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_branch_mutation_a1}
\begin{CompactList}\small\item\em the class name \item\end{CompactList}\item
virtual {\bf $\sim$eo\-Branch\-Mutation} ()\label{classeo_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_branch_mutation_r0}
\item
{\bf eo\-Init}$<$ {\bf Eo\-Type} $>$ \& {\bf initializer}\label{classeo_branch_mutation_r1}
\end{CompactItemize}
\subsection{Detailed Description}
\subsubsection*{template$<$class FType, class Node$>$ class eo\-Branch\-Mutation$<$ FType, Node $>$}
eo\-Branch\-Mutation --$>$ replace a subtree with a randomly created subtree
Definition at line 87 of file eo\-Parse\-Tree\-Op.h.
\subsection{Constructor \& Destructor Documentation}
\index{eoBranchMutation@{eo\-Branch\-Mutation}!eoBranchMutation@{eoBranchMutation}}
\index{eoBranchMutation@{eoBranchMutation}!eoBranchMutation@{eo\-Branch\-Mutation}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class FType, class Node$>$ {\bf eo\-Branch\-Mutation}$<$ FType, Node $>$::{\bf eo\-Branch\-Mutation} ({\bf eo\-Init}$<$ {\bf Eo\-Type} $>$ \& {\em \_\-init}, unsigned {\em \_\-max\_\-length})\hspace{0.3cm}{\tt [inline]}}\label{classeo_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 97 of file eo\-Parse\-Tree\-Op.h.
\subsection{Member Function Documentation}
\index{eoBranchMutation@{eo\-Branch\-Mutation}!operator()@{operator()}}
\index{operator()@{operator()}!eoBranchMutation@{eo\-Branch\-Mutation}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class FType, class Node$>$ bool {\bf eo\-Branch\-Mutation}$<$ FType, Node $>$::operator() ({\bf Eo\-Type} \& {\em \_\-eo1})\hspace{0.3cm}{\tt [inline]}}\label{classeo_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 111 of file eo\-Parse\-Tree\-Op.h.
References eo\-Parse\-Tree$<$ FType, Node $>$::prune\-Tree(), and eo\-Rng::random().
The documentation for this class was generated from the following file:\begin{CompactItemize}
\item
eo\-Parse\-Tree\-Op.h\end{CompactItemize}