120 lines
8.3 KiB
TeX
120 lines
8.3 KiB
TeX
\hypertarget{classeo_uniform_atom_exchange}{}\doxysection{eo\+Uniform\+Atom\+Exchange$<$ Atom $>$ Class Template Reference}
|
|
\label{classeo_uniform_atom_exchange}\index{eoUniformAtomExchange$<$ Atom $>$@{eoUniformAtomExchange$<$ Atom $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$eo\+Variable\+Length\+Crossover.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for eo\+Uniform\+Atom\+Exchange$<$ Atom $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=340pt]{classeo_uniform_atom_exchange__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for eo\+Uniform\+Atom\+Exchange$<$ Atom $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=340pt]{classeo_uniform_atom_exchange__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_uniform_atom_exchange_a160dfa0aff3818463eccd8ada0ad09b2}\label{classeo_uniform_atom_exchange_a160dfa0aff3818463eccd8ada0ad09b2}}
|
|
{\bfseries eo\+Uniform\+Atom\+Exchange} (double \+\_\+rate=0.\+5)
|
|
\item
|
|
void \mbox{\hyperlink{classeo_uniform_atom_exchange_a7fc8ffc25476921b8b10006c50cc1c25}{randomize}} (unsigned \+\_\+size1, unsigned \+\_\+size2)
|
|
\item
|
|
bool \mbox{\hyperlink{classeo_uniform_atom_exchange_a23f2c5124e4794b57fe2f29b4ec41d86}{operator()}} (unsigned \+\_\+i, Atom \&)
|
|
\item
|
|
virtual std\+::string \mbox{\hyperlink{classeo_uniform_atom_exchange_adcf961cf962fc7cdb78fecf02e2c6579}{class\+Name}} () const
|
|
\item
|
|
\mbox{\Hypertarget{classeo_uniform_atom_exchange_a160dfa0aff3818463eccd8ada0ad09b2}\label{classeo_uniform_atom_exchange_a160dfa0aff3818463eccd8ada0ad09b2}}
|
|
{\bfseries eo\+Uniform\+Atom\+Exchange} (double \+\_\+rate=0.\+5)
|
|
\item
|
|
void \mbox{\hyperlink{classeo_uniform_atom_exchange_a7fc8ffc25476921b8b10006c50cc1c25}{randomize}} (unsigned \+\_\+size1, unsigned \+\_\+size2)
|
|
\item
|
|
bool \mbox{\hyperlink{classeo_uniform_atom_exchange_a23f2c5124e4794b57fe2f29b4ec41d86}{operator()}} (unsigned \+\_\+i, Atom \&)
|
|
\item
|
|
virtual std\+::string \mbox{\hyperlink{classeo_uniform_atom_exchange_adcf961cf962fc7cdb78fecf02e2c6579}{class\+Name}} () const
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class Atom$>$\newline
|
|
class eo\+Uniform\+Atom\+Exchange$<$ Atom $>$}
|
|
|
|
Uniform crossover -\/ well, not really, efficient for Fixed\+Length
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classeo_uniform_atom_exchange_adcf961cf962fc7cdb78fecf02e2c6579}\label{classeo_uniform_atom_exchange_adcf961cf962fc7cdb78fecf02e2c6579}}
|
|
\index{eoUniformAtomExchange$<$ Atom $>$@{eoUniformAtomExchange$<$ Atom $>$}!className@{className}}
|
|
\index{className@{className}!eoUniformAtomExchange$<$ Atom $>$@{eoUniformAtomExchange$<$ Atom $>$}}
|
|
\doxysubsubsection{\texorpdfstring{className()}{className()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class Atom $>$ \\
|
|
virtual std\+::string \mbox{\hyperlink{classeo_uniform_atom_exchange}{eo\+Uniform\+Atom\+Exchange}}$<$ Atom $>$\+::class\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
inherited \mbox{\hyperlink{classeo_uniform_atom_exchange_adcf961cf962fc7cdb78fecf02e2c6579}{class\+Name()}}
|
|
|
|
Implements \mbox{\hyperlink{classeo_atom_exchange_a3cfd176d429bebb1ca0725b5f8fd53fc}{eo\+Atom\+Exchange$<$ Atom $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_uniform_atom_exchange_adcf961cf962fc7cdb78fecf02e2c6579}\label{classeo_uniform_atom_exchange_adcf961cf962fc7cdb78fecf02e2c6579}}
|
|
\index{eoUniformAtomExchange$<$ Atom $>$@{eoUniformAtomExchange$<$ Atom $>$}!className@{className}}
|
|
\index{className@{className}!eoUniformAtomExchange$<$ Atom $>$@{eoUniformAtomExchange$<$ Atom $>$}}
|
|
\doxysubsubsection{\texorpdfstring{className()}{className()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class Atom $>$ \\
|
|
virtual std\+::string \mbox{\hyperlink{classeo_uniform_atom_exchange}{eo\+Uniform\+Atom\+Exchange}}$<$ Atom $>$\+::class\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
inherited \mbox{\hyperlink{classeo_uniform_atom_exchange_adcf961cf962fc7cdb78fecf02e2c6579}{class\+Name()}}
|
|
|
|
Implements \mbox{\hyperlink{classeo_atom_exchange_a3cfd176d429bebb1ca0725b5f8fd53fc}{eo\+Atom\+Exchange$<$ Atom $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_uniform_atom_exchange_a23f2c5124e4794b57fe2f29b4ec41d86}\label{classeo_uniform_atom_exchange_a23f2c5124e4794b57fe2f29b4ec41d86}}
|
|
\index{eoUniformAtomExchange$<$ Atom $>$@{eoUniformAtomExchange$<$ Atom $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoUniformAtomExchange$<$ Atom $>$@{eoUniformAtomExchange$<$ Atom $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class Atom $>$ \\
|
|
bool \mbox{\hyperlink{classeo_uniform_atom_exchange}{eo\+Uniform\+Atom\+Exchange}}$<$ Atom $>$\+::operator() (\begin{DoxyParamCaption}\item[{unsigned}]{\+\_\+i, }\item[{Atom \&}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
the operator() simply returns the mask booleans in turn
|
|
|
|
Implements \mbox{\hyperlink{classeo_b_f_aa03c40b95210569b826df79a2237a0d0}{eo\+B\+F$<$ unsigned, Atom \&, bool $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_uniform_atom_exchange_a23f2c5124e4794b57fe2f29b4ec41d86}\label{classeo_uniform_atom_exchange_a23f2c5124e4794b57fe2f29b4ec41d86}}
|
|
\index{eoUniformAtomExchange$<$ Atom $>$@{eoUniformAtomExchange$<$ Atom $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoUniformAtomExchange$<$ Atom $>$@{eoUniformAtomExchange$<$ Atom $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class Atom $>$ \\
|
|
bool \mbox{\hyperlink{classeo_uniform_atom_exchange}{eo\+Uniform\+Atom\+Exchange}}$<$ Atom $>$\+::operator() (\begin{DoxyParamCaption}\item[{unsigned}]{\+\_\+i, }\item[{Atom \&}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
the operator() simply returns the mask booleans in turn
|
|
|
|
Implements \mbox{\hyperlink{classeo_b_f_aa03c40b95210569b826df79a2237a0d0}{eo\+B\+F$<$ unsigned, Atom \&, bool $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_uniform_atom_exchange_a7fc8ffc25476921b8b10006c50cc1c25}\label{classeo_uniform_atom_exchange_a7fc8ffc25476921b8b10006c50cc1c25}}
|
|
\index{eoUniformAtomExchange$<$ Atom $>$@{eoUniformAtomExchange$<$ Atom $>$}!randomize@{randomize}}
|
|
\index{randomize@{randomize}!eoUniformAtomExchange$<$ Atom $>$@{eoUniformAtomExchange$<$ Atom $>$}}
|
|
\doxysubsubsection{\texorpdfstring{randomize()}{randomize()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class Atom $>$ \\
|
|
void \mbox{\hyperlink{classeo_uniform_atom_exchange}{eo\+Uniform\+Atom\+Exchange}}$<$ Atom $>$\+::randomize (\begin{DoxyParamCaption}\item[{unsigned}]{\+\_\+size1, }\item[{unsigned}]{\+\_\+size2 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
randomize\+: fill the mask\+: the exchange will be simulated first to see if sizes are OK, so it must be repeatable \+: the mask has to be a private data, cannot be computed on the fly \mbox{\Hypertarget{classeo_uniform_atom_exchange_a7fc8ffc25476921b8b10006c50cc1c25}\label{classeo_uniform_atom_exchange_a7fc8ffc25476921b8b10006c50cc1c25}}
|
|
\index{eoUniformAtomExchange$<$ Atom $>$@{eoUniformAtomExchange$<$ Atom $>$}!randomize@{randomize}}
|
|
\index{randomize@{randomize}!eoUniformAtomExchange$<$ Atom $>$@{eoUniformAtomExchange$<$ Atom $>$}}
|
|
\doxysubsubsection{\texorpdfstring{randomize()}{randomize()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class Atom $>$ \\
|
|
void \mbox{\hyperlink{classeo_uniform_atom_exchange}{eo\+Uniform\+Atom\+Exchange}}$<$ Atom $>$\+::randomize (\begin{DoxyParamCaption}\item[{unsigned}]{\+\_\+size1, }\item[{unsigned}]{\+\_\+size2 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
randomize\+: fill the mask\+: the exchange will be simulated first to see if sizes are OK, so it must be repeatable \+: the mask has to be a private data, cannot be computed on the fly
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
deprecated/eo/src/eo\+Variable\+Length\+Crossover.\+h\end{DoxyCompactItemize}
|