git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@558 331e1502-861f-0410-8da2-ba01fb791d7f
51 lines
2.1 KiB
TeX
51 lines
2.1 KiB
TeX
\section{moeo\-Generational\-Replacement$<$ MOEOT $>$ Class Template Reference}
|
|
\label{classmoeoGenerationalReplacement}\index{moeoGenerationalReplacement@{moeoGenerationalReplacement}}
|
|
Generational replacement: only the new individuals are preserved.
|
|
|
|
|
|
{\tt \#include $<$moeo\-Generational\-Replacement.h$>$}
|
|
|
|
Inheritance diagram for moeo\-Generational\-Replacement$<$ MOEOT $>$::\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[height=5cm]{classmoeoGenerationalReplacement}
|
|
\end{center}
|
|
\end{figure}
|
|
\subsection*{Public Member Functions}
|
|
\begin{CompactItemize}
|
|
\item
|
|
void \bf{operator()} (\bf{eo\-Pop}$<$ MOEOT $>$ \&\_\-parents, \bf{eo\-Pop}$<$ MOEOT $>$ \&\_\-offspring)
|
|
\begin{CompactList}\small\item\em Swaps \_\-parents and \_\-offspring. \item\end{CompactList}\end{CompactItemize}
|
|
|
|
|
|
\subsection{Detailed Description}
|
|
\subsubsection*{template$<$class MOEOT$>$ class moeo\-Generational\-Replacement$<$ MOEOT $>$}
|
|
|
|
Generational replacement: only the new individuals are preserved.
|
|
|
|
|
|
|
|
Definition at line 23 of file moeo\-Generational\-Replacement.h.
|
|
|
|
\subsection{Member Function Documentation}
|
|
\index{moeoGenerationalReplacement@{moeo\-Generational\-Replacement}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!moeoGenerationalReplacement@{moeo\-Generational\-Replacement}}
|
|
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class MOEOT$>$ void \bf{moeo\-Generational\-Replacement}$<$ MOEOT $>$::operator() (\bf{eo\-Pop}$<$ MOEOT $>$ \& {\em \_\-parents}, \bf{eo\-Pop}$<$ MOEOT $>$ \& {\em \_\-offspring})\hspace{0.3cm}{\tt [inline]}}\label{classmoeoGenerationalReplacement_7b8ac20d375820ba44a9f3dd4b95e120}
|
|
|
|
|
|
Swaps \_\-parents and \_\-offspring.
|
|
|
|
\begin{Desc}
|
|
\item[Parameters:]
|
|
\begin{description}
|
|
\item[{\em \_\-parents}]the parents population \item[{\em \_\-offspring}]the offspring population \end{description}
|
|
\end{Desc}
|
|
|
|
|
|
Reimplemented from \bf{eo\-Generational\-Replacement$<$ MOEOT $>$}.
|
|
|
|
Definition at line 32 of file moeo\-Generational\-Replacement.h.
|
|
|
|
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
|
\item
|
|
moeo\-Generational\-Replacement.h\end{CompactItemize}
|