120 lines
9 KiB
TeX
120 lines
9 KiB
TeX
\hypertarget{classeo_trunc_select}{}\doxysection{eo\+Trunc\+Select$<$ E\+OT $>$ Class Template Reference}
|
|
\label{classeo_trunc_select}\index{eoTruncSelect$<$ EOT $>$@{eoTruncSelect$<$ EOT $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$eo\+Trunc\+Select.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for eo\+Trunc\+Select$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=342pt]{classeo_trunc_select__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for eo\+Trunc\+Select$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=342pt]{classeo_trunc_select__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{classeo_trunc_select_a3544a1e8c96b1afb798d2d7280c3bcbd}{eo\+Trunc\+Select}} (\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)
|
|
\item
|
|
virtual void \mbox{\hyperlink{classeo_trunc_select_a195811b435064fc023e33859f16ec5d0}{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{\hyperlink{classeo_trunc_select_a3544a1e8c96b1afb798d2d7280c3bcbd}{eo\+Trunc\+Select}} (\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)
|
|
\item
|
|
virtual void \mbox{\hyperlink{classeo_trunc_select_a195811b435064fc023e33859f16ec5d0}{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\+Trunc\+Select$<$ E\+O\+T $>$}
|
|
|
|
-\/$\ast$-\/ mode\+: c++; c-\/indent-\/level\+: 4; c++-\/member-\/init-\/indent\+: 8; comment-\/column\+: 35; -\/$\ast$-\/
|
|
|
|
\DoxyHorRuler{0}
|
|
eo\+Trunc\+Select.\+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@polytechnique.fr}{\texttt{ Marc.\+Schoenauer@polytechnique.\+fr}} \href{mailto:mkeijzer@dhi.dk}{\texttt{ mkeijzer@dhi.\+dk}} \mbox{\hyperlink{classeo_trunc_select}{eo\+Trunc\+Select}} selects individuals after truncating the population 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 keep,
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
\mbox{\Hypertarget{classeo_trunc_select_a3544a1e8c96b1afb798d2d7280c3bcbd}\label{classeo_trunc_select_a3544a1e8c96b1afb798d2d7280c3bcbd}}
|
|
\index{eoTruncSelect$<$ EOT $>$@{eoTruncSelect$<$ EOT $>$}!eoTruncSelect@{eoTruncSelect}}
|
|
\index{eoTruncSelect@{eoTruncSelect}!eoTruncSelect$<$ EOT $>$@{eoTruncSelect$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{eoTruncSelect()}{eoTruncSelect()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
\mbox{\hyperlink{classeo_trunc_select}{eo\+Trunc\+Select}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::\mbox{\hyperlink{classeo_trunc_select}{eo\+Trunc\+Select}} (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_select_one}{eo\+Select\+One}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+select, }\item[{\mbox{\hyperlink{classeo_how_many}{eo\+How\+Many}}}]{\+\_\+how\+Many }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Ctor\+: from an \mbox{\hyperlink{classeo_select}{eo\+Select}} (and an eo\+Many to tell how many are kept for selectino \mbox{\Hypertarget{classeo_trunc_select_a3544a1e8c96b1afb798d2d7280c3bcbd}\label{classeo_trunc_select_a3544a1e8c96b1afb798d2d7280c3bcbd}}
|
|
\index{eoTruncSelect$<$ EOT $>$@{eoTruncSelect$<$ EOT $>$}!eoTruncSelect@{eoTruncSelect}}
|
|
\index{eoTruncSelect@{eoTruncSelect}!eoTruncSelect$<$ EOT $>$@{eoTruncSelect$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{eoTruncSelect()}{eoTruncSelect()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
\mbox{\hyperlink{classeo_trunc_select}{eo\+Trunc\+Select}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::\mbox{\hyperlink{classeo_trunc_select}{eo\+Trunc\+Select}} (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_select_one}{eo\+Select\+One}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+select, }\item[{\mbox{\hyperlink{classeo_how_many}{eo\+How\+Many}}}]{\+\_\+how\+Many }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Ctor\+: from an \mbox{\hyperlink{classeo_select}{eo\+Select}} (and an eo\+Many to tell how many are kept for selectino
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classeo_trunc_select_a195811b435064fc023e33859f16ec5d0}\label{classeo_trunc_select_a195811b435064fc023e33859f16ec5d0}}
|
|
\index{eoTruncSelect$<$ EOT $>$@{eoTruncSelect$<$ EOT $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoTruncSelect$<$ EOT $>$@{eoTruncSelect$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual void \mbox{\hyperlink{classeo_trunc_select}{eo\+Trunc\+Select}}$<$ \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_trunc_select_a195811b435064fc023e33859f16ec5d0}\label{classeo_trunc_select_a195811b435064fc023e33859f16ec5d0}}
|
|
\index{eoTruncSelect$<$ EOT $>$@{eoTruncSelect$<$ EOT $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoTruncSelect$<$ EOT $>$@{eoTruncSelect$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual void \mbox{\hyperlink{classeo_trunc_select}{eo\+Trunc\+Select}}$<$ \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\+Trunc\+Select.\+h\end{DoxyCompactItemize}
|