59 lines
2.7 KiB
TeX
59 lines
2.7 KiB
TeX
\hypertarget{classeo_standard_bit_mutation}{}\doxysection{eo\+Standard\+Bit\+Mutation$<$ E\+OT $>$ Class Template Reference}
|
|
\label{classeo_standard_bit_mutation}\index{eoStandardBitMutation$<$ EOT $>$@{eoStandardBitMutation$<$ EOT $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$eo\+Standard\+Bit\+Mutation.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for eo\+Standard\+Bit\+Mutation$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classeo_standard_bit_mutation__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for eo\+Standard\+Bit\+Mutation$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classeo_standard_bit_mutation__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_standard_bit_mutation_afcab02a72df340d016d3e9a31bea23a1}\label{classeo_standard_bit_mutation_afcab02a72df340d016d3e9a31bea23a1}}
|
|
{\bfseries eo\+Standard\+Bit\+Mutation} (double rate=0.\+5)
|
|
\item
|
|
\mbox{\Hypertarget{classeo_standard_bit_mutation_a01d1be6db74beb22f8654f6766164545}\label{classeo_standard_bit_mutation_a01d1be6db74beb22f8654f6766164545}}
|
|
virtual bool \mbox{\hyperlink{classeo_standard_bit_mutation_a01d1be6db74beb22f8654f6766164545}{operator()}} (\mbox{\hyperlink{struct_dummy}{E\+OT}} \&chrom)
|
|
\begin{DoxyCompactList}\small\item\em The pure virtual function that needs to be implemented by the subclass. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
\doxysubsection*{Protected Attributes}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_standard_bit_mutation_ad26dc54637b0c429b797d996965b1403}\label{classeo_standard_bit_mutation_ad26dc54637b0c429b797d996965b1403}}
|
|
double {\bfseries \+\_\+rate}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_standard_bit_mutation_a27198b12c707f3f5def1a44cd22f127e}\label{classeo_standard_bit_mutation_a27198b12c707f3f5def1a44cd22f127e}}
|
|
unsigned {\bfseries \+\_\+nb}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_standard_bit_mutation_ad08ae6b2fa6a062ff38cddefcf4b25f0}\label{classeo_standard_bit_mutation_ad08ae6b2fa6a062ff38cddefcf4b25f0}}
|
|
\mbox{\hyperlink{classeo_det_single_bit_flip}{eo\+Det\+Single\+Bit\+Flip}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ {\bfseries \+\_\+bitflip}
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class E\+OT$>$\newline
|
|
class eo\+Standard\+Bit\+Mutation$<$ E\+O\+T $>$}
|
|
|
|
Standard bit mutation with mutation rate p\+: choose k from the binomial distribution Bin(n,p) and apply flip\+\_\+k(x).
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
eo/src/ga/eo\+Standard\+Bit\+Mutation.\+h\end{DoxyCompactItemize}
|