92 lines
4.9 KiB
TeX
92 lines
4.9 KiB
TeX
\hypertarget{classeo_swap_mutation}{}\doxysection{eo\+Swap\+Mutation$<$ Chrom $>$ Class Template Reference}
|
|
\label{classeo_swap_mutation}\index{eoSwapMutation$<$ Chrom $>$@{eoSwapMutation$<$ Chrom $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$eo\+Swap\+Mutation.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for eo\+Swap\+Mutation$<$ Chrom $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classeo_swap_mutation__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for eo\+Swap\+Mutation$<$ Chrom $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classeo_swap_mutation__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_swap_mutation_a25f95660f117cbd1f06ad284471c0ae3}\label{classeo_swap_mutation_a25f95660f117cbd1f06ad284471c0ae3}}
|
|
\mbox{\hyperlink{classeo_swap_mutation_a25f95660f117cbd1f06ad284471c0ae3}{eo\+Swap\+Mutation}} (const unsigned \+\_\+how\+Many\+Swaps=1)
|
|
\begin{DoxyCompactList}\small\item\em C\+Tor. \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{classeo_swap_mutation_a4d708b9301af91790445aa36ceec7b88}\label{classeo_swap_mutation_a4d708b9301af91790445aa36ceec7b88}}
|
|
virtual std\+::string \mbox{\hyperlink{classeo_swap_mutation_a4d708b9301af91790445aa36ceec7b88}{class\+Name}} () const
|
|
\begin{DoxyCompactList}\small\item\em The class name. \end{DoxyCompactList}\item
|
|
bool \mbox{\hyperlink{classeo_swap_mutation_ac4234687cbce0ab4cf310f987bbd1018}{operator()}} (\mbox{\hyperlink{class_chrom}{Chrom}} \&chrom)
|
|
\item
|
|
\mbox{\Hypertarget{classeo_swap_mutation_a25f95660f117cbd1f06ad284471c0ae3}\label{classeo_swap_mutation_a25f95660f117cbd1f06ad284471c0ae3}}
|
|
\mbox{\hyperlink{classeo_swap_mutation_a25f95660f117cbd1f06ad284471c0ae3}{eo\+Swap\+Mutation}} (const unsigned \+\_\+how\+Many\+Swaps=1)
|
|
\begin{DoxyCompactList}\small\item\em C\+Tor. \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{classeo_swap_mutation_a4d708b9301af91790445aa36ceec7b88}\label{classeo_swap_mutation_a4d708b9301af91790445aa36ceec7b88}}
|
|
virtual std\+::string \mbox{\hyperlink{classeo_swap_mutation_a4d708b9301af91790445aa36ceec7b88}{class\+Name}} () const
|
|
\begin{DoxyCompactList}\small\item\em The class name. \end{DoxyCompactList}\item
|
|
bool \mbox{\hyperlink{classeo_swap_mutation_ac4234687cbce0ab4cf310f987bbd1018}{operator()}} (\mbox{\hyperlink{class_chrom}{Chrom}} \&chrom)
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class Chrom$>$\newline
|
|
class eo\+Swap\+Mutation$<$ Chrom $>$}
|
|
|
|
Swap two components of a chromosome.
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classeo_swap_mutation_ac4234687cbce0ab4cf310f987bbd1018}\label{classeo_swap_mutation_ac4234687cbce0ab4cf310f987bbd1018}}
|
|
\index{eoSwapMutation$<$ Chrom $>$@{eoSwapMutation$<$ Chrom $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoSwapMutation$<$ Chrom $>$@{eoSwapMutation$<$ Chrom $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class Chrom $>$ \\
|
|
bool \mbox{\hyperlink{classeo_swap_mutation}{eo\+Swap\+Mutation}}$<$ \mbox{\hyperlink{class_chrom}{Chrom}} $>$\+::operator() (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_chrom}{Chrom}} \&}]{chrom }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Swap two components of the given chromosome.
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em chrom} & The cromosome which is going to be changed. \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classeo_u_f_a786e028409366dc273e19104f17ba68a}{eo\+U\+F$<$ Chrom \&, bool $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_swap_mutation_ac4234687cbce0ab4cf310f987bbd1018}\label{classeo_swap_mutation_ac4234687cbce0ab4cf310f987bbd1018}}
|
|
\index{eoSwapMutation$<$ Chrom $>$@{eoSwapMutation$<$ Chrom $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoSwapMutation$<$ Chrom $>$@{eoSwapMutation$<$ Chrom $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class Chrom $>$ \\
|
|
bool \mbox{\hyperlink{classeo_swap_mutation}{eo\+Swap\+Mutation}}$<$ \mbox{\hyperlink{class_chrom}{Chrom}} $>$\+::operator() (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_chrom}{Chrom}} \&}]{chrom }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Swap two components of the given chromosome.
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em chrom} & The cromosome which is going to be changed. \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classeo_u_f_a786e028409366dc273e19104f17ba68a}{eo\+U\+F$<$ Chrom \&, bool $>$}}.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
deprecated/eo/src/eo\+Swap\+Mutation.\+h\end{DoxyCompactItemize}
|