71 lines
4.5 KiB
TeX
71 lines
4.5 KiB
TeX
\hypertarget{classeo_g3_replacement}{}\doxysection{eo\+G3\+Replacement$<$ E\+OT $>$ Class Template Reference}
|
|
\label{classeo_g3_replacement}\index{eoG3Replacement$<$ EOT $>$@{eoG3Replacement$<$ EOT $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$eo\+G3\+Replacement.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for eo\+G3\+Replacement$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=334pt]{classeo_g3_replacement__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for eo\+G3\+Replacement$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=334pt]{classeo_g3_replacement__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_g3_replacement_aefab356a7489104180d63ffb463885dd}\label{classeo_g3_replacement_aefab356a7489104180d63ffb463885dd}}
|
|
{\bfseries eo\+G3\+Replacement} (\mbox{\hyperlink{classeo_how_many}{eo\+How\+Many}} \+\_\+how\+Many\+Eliminated\+Parents=\mbox{\hyperlink{classeo_how_many}{eo\+How\+Many}}(2, false))
|
|
\item
|
|
\mbox{\Hypertarget{classeo_g3_replacement_aaacb4447b0acba70057e8f08430d8f07}\label{classeo_g3_replacement_aaacb4447b0acba70057e8f08430d8f07}}
|
|
void \mbox{\hyperlink{classeo_g3_replacement_aaacb4447b0acba70057e8f08430d8f07}{operator()}} (\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+parents, \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+offspring)
|
|
\begin{DoxyCompactList}\small\item\em The pure virtual function that needs to be implemented by the subclass. \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{classeo_g3_replacement_aefab356a7489104180d63ffb463885dd}\label{classeo_g3_replacement_aefab356a7489104180d63ffb463885dd}}
|
|
{\bfseries eo\+G3\+Replacement} (\mbox{\hyperlink{classeo_how_many}{eo\+How\+Many}} \+\_\+how\+Many\+Eliminated\+Parents=\mbox{\hyperlink{classeo_how_many}{eo\+How\+Many}}(2, false))
|
|
\item
|
|
\mbox{\Hypertarget{classeo_g3_replacement_aaacb4447b0acba70057e8f08430d8f07}\label{classeo_g3_replacement_aaacb4447b0acba70057e8f08430d8f07}}
|
|
void \mbox{\hyperlink{classeo_g3_replacement_aaacb4447b0acba70057e8f08430d8f07}{operator()}} (\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+parents, \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+offspring)
|
|
\begin{DoxyCompactList}\small\item\em The pure virtual function that needs to be implemented by the subclass. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class E\+OT$>$\newline
|
|
class eo\+G3\+Replacement$<$ E\+O\+T $>$}
|
|
|
|
-\/$\ast$-\/ mode\+: c++; c-\/indent-\/level\+: 4; c++-\/member-\/init-\/indent\+: 8; comment-\/column\+: 35; -\/$\ast$-\/
|
|
|
|
\DoxyHorRuler{0}
|
|
eo\+G3\+Replacement.\+h (c) Maarten Keijzer, Marc Schoenauer, 2002
|
|
|
|
This library is free software; you can redistribute it and/or modify it under the terms of the G\+NU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
|
|
|
|
This library is distributed in the hope that it will be useful, but W\+I\+T\+H\+O\+UT A\+NY W\+A\+R\+R\+A\+N\+TY; without even the implied warranty of M\+E\+R\+C\+H\+A\+N\+T\+A\+B\+I\+L\+I\+TY or F\+I\+T\+N\+E\+SS F\+OR A P\+A\+R\+T\+I\+C\+U\+L\+AR P\+U\+R\+P\+O\+SE. See the G\+NU Lesser General Public License for more details.
|
|
|
|
You should have received a copy of the G\+NU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-\/1307 U\+SA
|
|
|
|
Contact\+: \href{mailto:Marc.Schoenauer@inria.fr}{\texttt{ Marc.\+Schoenauer@inria.\+fr}} \href{mailto:mkeijzer@dhi.dk}{\texttt{ mkeijzer@dhi.\+dk}} \mbox{\hyperlink{classeo_g3_replacement}{eo\+G3\+Replacement}} is an \mbox{\hyperlink{classeo_replacement}{eo\+Replacement}}\+:
|
|
\begin{DoxyItemize}
|
|
\item no strong elitism (is suppposed to be within a steady-\/state engine)
|
|
\item choose N (2) parents R\+A\+N\+D\+O\+M\+LY -\/ remove them from the parent population
|
|
\item merge offspring and the N removed parents
|
|
\item select best N of this merged population
|
|
\item put them back into parent population
|
|
\end{DoxyItemize}
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
deprecated/eo/src/eo\+G3\+Replacement.\+h\end{DoxyCompactItemize}
|