\hypertarget{classeo_truncated_select_many}{}\doxysection{eo\+Truncated\+Select\+Many$<$ E\+OT $>$ Class Template Reference}
\label{classeo_truncated_select_many}\index{eoTruncatedSelectMany$<$ EOT $>$@{eoTruncatedSelectMany$<$ EOT $>$}}


{\ttfamily \#include $<$eo\+Truncated\+Select\+Many.\+h$>$}



Inheritance diagram for eo\+Truncated\+Select\+Many$<$ E\+OT $>$\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=342pt]{classeo_truncated_select_many__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for eo\+Truncated\+Select\+Many$<$ E\+OT $>$\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=342pt]{classeo_truncated_select_many__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classeo_truncated_select_many_a15dce67224d3b6a3f34b9a355cfbfd08}\label{classeo_truncated_select_many_a15dce67224d3b6a3f34b9a355cfbfd08}} 
\mbox{\hyperlink{classeo_truncated_select_many_a15dce67224d3b6a3f34b9a355cfbfd08}{eo\+Truncated\+Select\+Many}} (\mbox{\hyperlink{classeo_select_one}{eo\+Select\+One}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+select, double \+\_\+rate\+Genitors, double \+\_\+rate\+Fertile, bool \+\_\+interpret\+\_\+as\+\_\+rateG=true, bool \+\_\+interpret\+\_\+as\+\_\+rateF=true)
\begin{DoxyCompactList}\small\item\em Ctor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classeo_truncated_select_many_ad6d4688d272ee491194c9a25ddde38dd}\label{classeo_truncated_select_many_ad6d4688d272ee491194c9a25ddde38dd}} 
{\bfseries eo\+Truncated\+Select\+Many} (\mbox{\hyperlink{classeo_select_one}{eo\+Select\+One}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+select, \mbox{\hyperlink{classeo_how_many}{eo\+How\+Many}} \+\_\+how\+Many\+Genitors, \mbox{\hyperlink{classeo_how_many}{eo\+How\+Many}} \+\_\+how\+Many\+Fertile)
\item 
virtual void \mbox{\hyperlink{classeo_truncated_select_many_aab3290de7717f0cd7e8cb1dc2e0a7358}{operator()}} (const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+source, \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+dest)
\item 
\mbox{\Hypertarget{classeo_truncated_select_many_a15dce67224d3b6a3f34b9a355cfbfd08}\label{classeo_truncated_select_many_a15dce67224d3b6a3f34b9a355cfbfd08}} 
\mbox{\hyperlink{classeo_truncated_select_many_a15dce67224d3b6a3f34b9a355cfbfd08}{eo\+Truncated\+Select\+Many}} (\mbox{\hyperlink{classeo_select_one}{eo\+Select\+One}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+select, double \+\_\+rate\+Genitors, double \+\_\+rate\+Fertile, bool \+\_\+interpret\+\_\+as\+\_\+rateG=true, bool \+\_\+interpret\+\_\+as\+\_\+rateF=true)
\begin{DoxyCompactList}\small\item\em Ctor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classeo_truncated_select_many_ad6d4688d272ee491194c9a25ddde38dd}\label{classeo_truncated_select_many_ad6d4688d272ee491194c9a25ddde38dd}} 
{\bfseries eo\+Truncated\+Select\+Many} (\mbox{\hyperlink{classeo_select_one}{eo\+Select\+One}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+select, \mbox{\hyperlink{classeo_how_many}{eo\+How\+Many}} \+\_\+how\+Many\+Genitors, \mbox{\hyperlink{classeo_how_many}{eo\+How\+Many}} \+\_\+how\+Many\+Fertile)
\item 
virtual void \mbox{\hyperlink{classeo_truncated_select_many_aab3290de7717f0cd7e8cb1dc2e0a7358}{operator()}} (const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+source, \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+dest)
\end{DoxyCompactItemize}
\doxysubsection*{Additional Inherited Members}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$class E\+OT$>$\newline
class eo\+Truncated\+Select\+Many$<$ E\+O\+T $>$}

-\/$\ast$-\/ mode\+: c++; c-\/indent-\/level\+: 4; c++-\/member-\/init-\/indent\+: 8; comment-\/column\+: 35; -\/$\ast$-\/

\DoxyHorRuler{0}
 eo\+Truncated\+Select\+Many.\+h (c) Maarten Keijzer, Marc Schoenauer, Ge\+Neura Team, 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:todos@geneura.ugr.es}{\texttt{ todos@geneura.\+ugr.\+es}}, \href{http://geneura.ugr.es}{\texttt{ http\+://geneura.\+ugr.\+es}} \href{mailto:Marc.Schoenauer@inria.fr}{\texttt{ Marc.\+Schoenauer@inria.\+fr}} \href{mailto:mkeijzer@dhi.dk}{\texttt{ mkeijzer@dhi.\+dk}} \mbox{\hyperlink{classeo_truncated_select_many}{eo\+Truncated\+Select\+Many}} selects many individuals using \mbox{\hyperlink{classeo_select_one}{eo\+Select\+One}} as it\textquotesingle{}s mechanism. Therefore \mbox{\hyperlink{classeo_select_many}{eo\+Select\+Many}} needs an \mbox{\hyperlink{classeo_select_one}{eo\+Select\+One}} in its ctor

It will use an eo\+How\+Mnay to determine the number of guys to select, and push them to the back of the destination population.

And it will only perform selection from the top guys in the population.

It is N\+OT a special case of \mbox{\hyperlink{classeo_select_many}{eo\+Select\+Many}} because it needs to S\+O\+RT the population to discard the worst guys before doing the selection

However, the same result can be obtained by embedding an \mbox{\hyperlink{classeo_truncated_select_one}{eo\+Truncated\+Select\+One}} into an \mbox{\hyperlink{classeo_select_many}{eo\+Select\+Many}} ... 

\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classeo_truncated_select_many_aab3290de7717f0cd7e8cb1dc2e0a7358}\label{classeo_truncated_select_many_aab3290de7717f0cd7e8cb1dc2e0a7358}} 
\index{eoTruncatedSelectMany$<$ EOT $>$@{eoTruncatedSelectMany$<$ EOT $>$}!operator()@{operator()}}
\index{operator()@{operator()}!eoTruncatedSelectMany$<$ EOT $>$@{eoTruncatedSelectMany$<$ EOT $>$}}
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
virtual void \mbox{\hyperlink{classeo_truncated_select_many}{eo\+Truncated\+Select\+Many}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::operator() (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+source,  }\item[{\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+dest }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

The implementation repeatidly selects an individual


\begin{DoxyParams}{Parameters}
{\em \+\_\+source} & the source population \\
\hline
{\em \+\_\+dest} & the resulting population (size of this population is the number of times \mbox{\hyperlink{classeo_select_one}{eo\+Select\+One}} is called. It empties the destination and adds the selection into it) \\
\hline
\end{DoxyParams}


Implements \mbox{\hyperlink{classeo_b_f_aa03c40b95210569b826df79a2237a0d0}{eo\+B\+F$<$ const eo\+Pop$<$ E\+O\+T $>$ \&, eo\+Pop$<$ E\+O\+T $>$ \&, void $>$}}.

\mbox{\Hypertarget{classeo_truncated_select_many_aab3290de7717f0cd7e8cb1dc2e0a7358}\label{classeo_truncated_select_many_aab3290de7717f0cd7e8cb1dc2e0a7358}} 
\index{eoTruncatedSelectMany$<$ EOT $>$@{eoTruncatedSelectMany$<$ EOT $>$}!operator()@{operator()}}
\index{operator()@{operator()}!eoTruncatedSelectMany$<$ EOT $>$@{eoTruncatedSelectMany$<$ EOT $>$}}
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
virtual void \mbox{\hyperlink{classeo_truncated_select_many}{eo\+Truncated\+Select\+Many}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::operator() (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+source,  }\item[{\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+dest }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

The implementation repeatidly selects an individual


\begin{DoxyParams}{Parameters}
{\em \+\_\+source} & the source population \\
\hline
{\em \+\_\+dest} & the resulting population (size of this population is the number of times \mbox{\hyperlink{classeo_select_one}{eo\+Select\+One}} is called. It empties the destination and adds the selection into it) \\
\hline
\end{DoxyParams}


Implements \mbox{\hyperlink{classeo_b_f_aa03c40b95210569b826df79a2237a0d0}{eo\+B\+F$<$ const eo\+Pop$<$ E\+O\+T $>$ \&, eo\+Pop$<$ E\+O\+T $>$ \&, void $>$}}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
deprecated/eo/src/eo\+Truncated\+Select\+Many.\+h\end{DoxyCompactItemize}
