64 lines
2.9 KiB
TeX
64 lines
2.9 KiB
TeX
\hypertarget{classmoeo_generational_replacement}{}\doxysection{moeo\+Generational\+Replacement$<$ M\+O\+E\+OT $>$ Class Template Reference}
|
|
\label{classmoeo_generational_replacement}\index{moeoGenerationalReplacement$<$ MOEOT $>$@{moeoGenerationalReplacement$<$ MOEOT $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$moeo\+Generational\+Replacement.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for moeo\+Generational\+Replacement$<$ M\+O\+E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classmoeo_generational_replacement__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for moeo\+Generational\+Replacement$<$ M\+O\+E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classmoeo_generational_replacement__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
void \mbox{\hyperlink{classmoeo_generational_replacement_a7b8ac20d375820ba44a9f3dd4b95e120}{operator()}} (\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ M\+O\+E\+OT $>$ \&\+\_\+parents, \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ M\+O\+E\+OT $>$ \&\+\_\+offspring)
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class M\+O\+E\+OT$>$\newline
|
|
class moeo\+Generational\+Replacement$<$ M\+O\+E\+O\+T $>$}
|
|
|
|
Generational replacement\+: only the new individuals are preserved.
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classmoeo_generational_replacement_a7b8ac20d375820ba44a9f3dd4b95e120}\label{classmoeo_generational_replacement_a7b8ac20d375820ba44a9f3dd4b95e120}}
|
|
\index{moeoGenerationalReplacement$<$ MOEOT $>$@{moeoGenerationalReplacement$<$ MOEOT $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!moeoGenerationalReplacement$<$ MOEOT $>$@{moeoGenerationalReplacement$<$ MOEOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}}
|
|
{\footnotesize\ttfamily template$<$class M\+O\+E\+OT $>$ \\
|
|
void \mbox{\hyperlink{classmoeo_generational_replacement}{moeo\+Generational\+Replacement}}$<$ M\+O\+E\+OT $>$\+::operator() (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ M\+O\+E\+OT $>$ \&}]{\+\_\+parents, }\item[{\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ M\+O\+E\+OT $>$ \&}]{\+\_\+offspring }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Swaps \+\_\+parents and \+\_\+offspring
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+parents} & the parents population \\
|
|
\hline
|
|
{\em \+\_\+offspring} & the offspring population \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classeo_b_f_aa03c40b95210569b826df79a2237a0d0}{eo\+B\+F$<$ eo\+Pop$<$ M\+O\+E\+O\+T $>$ \&, eo\+Pop$<$ M\+O\+E\+O\+T $>$ \&, void $>$}}.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
moeo/src/replacement/moeo\+Generational\+Replacement.\+h\end{DoxyCompactItemize}
|