168 lines
14 KiB
TeX
168 lines
14 KiB
TeX
\hypertarget{classeo_truncated_select_one}{}\doxysection{eo\+Truncated\+Select\+One$<$ E\+OT $>$ Class Template Reference}
|
|
\label{classeo_truncated_select_one}\index{eoTruncatedSelectOne$<$ EOT $>$@{eoTruncatedSelectOne$<$ EOT $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$eo\+Truncated\+Select\+One.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for eo\+Truncated\+Select\+One$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=316pt]{classeo_truncated_select_one__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for eo\+Truncated\+Select\+One$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=316pt]{classeo_truncated_select_one__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{classeo_truncated_select_one_ae4418d98748822e3b93d3d3f2c231684}{eo\+Truncated\+Select\+One}} (\mbox{\hyperlink{classeo_select_one}{eo\+Select\+One}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+select, double \+\_\+rate\+Fertile, bool \+\_\+interpret\+\_\+as\+\_\+rateF=true)
|
|
\item
|
|
\mbox{\hyperlink{classeo_truncated_select_one_a0c52246396a686b4a6ee8ac4f3772e56}{eo\+Truncated\+Select\+One}} (\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\+Fertile)
|
|
\item
|
|
void \mbox{\hyperlink{classeo_truncated_select_one_ac354d068c481eea7ca2e65a65afdd428}{setup}} (const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+source)
|
|
\item
|
|
const \mbox{\hyperlink{struct_dummy}{E\+OT}} \& \mbox{\hyperlink{classeo_truncated_select_one_adbb8169ba6963f06ad2bbfacfbb3c953}{operator()}} (const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+pop)
|
|
\item
|
|
\mbox{\hyperlink{classeo_truncated_select_one_ae4418d98748822e3b93d3d3f2c231684}{eo\+Truncated\+Select\+One}} (\mbox{\hyperlink{classeo_select_one}{eo\+Select\+One}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+select, double \+\_\+rate\+Fertile, bool \+\_\+interpret\+\_\+as\+\_\+rateF=true)
|
|
\item
|
|
\mbox{\hyperlink{classeo_truncated_select_one_a0c52246396a686b4a6ee8ac4f3772e56}{eo\+Truncated\+Select\+One}} (\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\+Fertile)
|
|
\item
|
|
void \mbox{\hyperlink{classeo_truncated_select_one_ac354d068c481eea7ca2e65a65afdd428}{setup}} (const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+source)
|
|
\item
|
|
const \mbox{\hyperlink{struct_dummy}{E\+OT}} \& \mbox{\hyperlink{classeo_truncated_select_one_aebd947444542806c6a439a862f8071ab}{operator()}} (const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&)
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class E\+OT$>$\newline
|
|
class eo\+Truncated\+Select\+One$<$ E\+O\+T $>$}
|
|
|
|
-\/$\ast$-\/ mode\+: c++; c-\/indent-\/level\+: 4; c++-\/member-\/init-\/indent\+: 8; comment-\/column\+: 35; -\/$\ast$-\/
|
|
|
|
\DoxyHorRuler{0}
|
|
eo\+Truncated\+Select\+One.\+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_one}{eo\+Truncated\+Select\+One}} selects one individual using \mbox{\hyperlink{classeo_select_one}{eo\+Select\+One}} as it\textquotesingle{}s mechanism. Therefore \mbox{\hyperlink{classeo_truncated_select_one}{eo\+Truncated\+Select\+One}} needs an \mbox{\hyperlink{classeo_select_one}{eo\+Select\+One}} in its ctor
|
|
|
|
It will perform selection only from the top guys in the population.
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
\mbox{\Hypertarget{classeo_truncated_select_one_ae4418d98748822e3b93d3d3f2c231684}\label{classeo_truncated_select_one_ae4418d98748822e3b93d3d3f2c231684}}
|
|
\index{eoTruncatedSelectOne$<$ EOT $>$@{eoTruncatedSelectOne$<$ EOT $>$}!eoTruncatedSelectOne@{eoTruncatedSelectOne}}
|
|
\index{eoTruncatedSelectOne@{eoTruncatedSelectOne}!eoTruncatedSelectOne$<$ EOT $>$@{eoTruncatedSelectOne$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{eoTruncatedSelectOne()}{eoTruncatedSelectOne()}\hspace{0.1cm}{\footnotesize\ttfamily [1/4]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
\mbox{\hyperlink{classeo_truncated_select_one}{eo\+Truncated\+Select\+One}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::\mbox{\hyperlink{classeo_truncated_select_one}{eo\+Truncated\+Select\+One}} (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_select_one}{eo\+Select\+One}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+select, }\item[{double}]{\+\_\+rate\+Fertile, }\item[{bool}]{\+\_\+interpret\+\_\+as\+\_\+rateF = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Ctor from rate and bool \mbox{\Hypertarget{classeo_truncated_select_one_a0c52246396a686b4a6ee8ac4f3772e56}\label{classeo_truncated_select_one_a0c52246396a686b4a6ee8ac4f3772e56}}
|
|
\index{eoTruncatedSelectOne$<$ EOT $>$@{eoTruncatedSelectOne$<$ EOT $>$}!eoTruncatedSelectOne@{eoTruncatedSelectOne}}
|
|
\index{eoTruncatedSelectOne@{eoTruncatedSelectOne}!eoTruncatedSelectOne$<$ EOT $>$@{eoTruncatedSelectOne$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{eoTruncatedSelectOne()}{eoTruncatedSelectOne()}\hspace{0.1cm}{\footnotesize\ttfamily [2/4]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
\mbox{\hyperlink{classeo_truncated_select_one}{eo\+Truncated\+Select\+One}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::\mbox{\hyperlink{classeo_truncated_select_one}{eo\+Truncated\+Select\+One}} (\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\+Fertile }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Ctor with \mbox{\hyperlink{classeo_how_many}{eo\+How\+Many}} \mbox{\Hypertarget{classeo_truncated_select_one_ae4418d98748822e3b93d3d3f2c231684}\label{classeo_truncated_select_one_ae4418d98748822e3b93d3d3f2c231684}}
|
|
\index{eoTruncatedSelectOne$<$ EOT $>$@{eoTruncatedSelectOne$<$ EOT $>$}!eoTruncatedSelectOne@{eoTruncatedSelectOne}}
|
|
\index{eoTruncatedSelectOne@{eoTruncatedSelectOne}!eoTruncatedSelectOne$<$ EOT $>$@{eoTruncatedSelectOne$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{eoTruncatedSelectOne()}{eoTruncatedSelectOne()}\hspace{0.1cm}{\footnotesize\ttfamily [3/4]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
\mbox{\hyperlink{classeo_truncated_select_one}{eo\+Truncated\+Select\+One}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::\mbox{\hyperlink{classeo_truncated_select_one}{eo\+Truncated\+Select\+One}} (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_select_one}{eo\+Select\+One}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+select, }\item[{double}]{\+\_\+rate\+Fertile, }\item[{bool}]{\+\_\+interpret\+\_\+as\+\_\+rateF = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Ctor from rate and bool \mbox{\Hypertarget{classeo_truncated_select_one_a0c52246396a686b4a6ee8ac4f3772e56}\label{classeo_truncated_select_one_a0c52246396a686b4a6ee8ac4f3772e56}}
|
|
\index{eoTruncatedSelectOne$<$ EOT $>$@{eoTruncatedSelectOne$<$ EOT $>$}!eoTruncatedSelectOne@{eoTruncatedSelectOne}}
|
|
\index{eoTruncatedSelectOne@{eoTruncatedSelectOne}!eoTruncatedSelectOne$<$ EOT $>$@{eoTruncatedSelectOne$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{eoTruncatedSelectOne()}{eoTruncatedSelectOne()}\hspace{0.1cm}{\footnotesize\ttfamily [4/4]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
\mbox{\hyperlink{classeo_truncated_select_one}{eo\+Truncated\+Select\+One}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::\mbox{\hyperlink{classeo_truncated_select_one}{eo\+Truncated\+Select\+One}} (\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\+Fertile }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Ctor with \mbox{\hyperlink{classeo_how_many}{eo\+How\+Many}}
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classeo_truncated_select_one_aebd947444542806c6a439a862f8071ab}\label{classeo_truncated_select_one_aebd947444542806c6a439a862f8071ab}}
|
|
\index{eoTruncatedSelectOne$<$ EOT $>$@{eoTruncatedSelectOne$<$ EOT $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoTruncatedSelectOne$<$ EOT $>$@{eoTruncatedSelectOne$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
const \mbox{\hyperlink{struct_dummy}{E\+OT}}\& \mbox{\hyperlink{classeo_truncated_select_one}{eo\+Truncated\+Select\+One}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::operator() (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
The implementation selects an individual from the fertile pop
|
|
|
|
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em unused} & \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{Returns}
|
|
the selected guy
|
|
\end{DoxyReturn}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classeo_u_f_a786e028409366dc273e19104f17ba68a}{eo\+U\+F$<$ const eo\+Pop$<$ E\+O\+T $>$ \&, const E\+O\+T \& $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_truncated_select_one_adbb8169ba6963f06ad2bbfacfbb3c953}\label{classeo_truncated_select_one_adbb8169ba6963f06ad2bbfacfbb3c953}}
|
|
\index{eoTruncatedSelectOne$<$ EOT $>$@{eoTruncatedSelectOne$<$ EOT $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoTruncatedSelectOne$<$ EOT $>$@{eoTruncatedSelectOne$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
const \mbox{\hyperlink{struct_dummy}{E\+OT}}\& \mbox{\hyperlink{classeo_truncated_select_one}{eo\+Truncated\+Select\+One}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::operator() (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+pop }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
The implementation selects an individual from the fertile pop
|
|
|
|
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+pop} & the source population \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{Returns}
|
|
the selected guy
|
|
\end{DoxyReturn}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classeo_u_f_a786e028409366dc273e19104f17ba68a}{eo\+U\+F$<$ const eo\+Pop$<$ E\+O\+T $>$ \&, const E\+O\+T \& $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_truncated_select_one_ac354d068c481eea7ca2e65a65afdd428}\label{classeo_truncated_select_one_ac354d068c481eea7ca2e65a65afdd428}}
|
|
\index{eoTruncatedSelectOne$<$ EOT $>$@{eoTruncatedSelectOne$<$ EOT $>$}!setup@{setup}}
|
|
\index{setup@{setup}!eoTruncatedSelectOne$<$ EOT $>$@{eoTruncatedSelectOne$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{setup()}{setup()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
void \mbox{\hyperlink{classeo_truncated_select_one}{eo\+Truncated\+Select\+One}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::setup (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+source }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
setup procedures\+: fills the temporary population with the fertile guys
|
|
|
|
Reimplemented from \mbox{\hyperlink{classeo_select_one_acf3dedb81da5473386b4848057ef1cf4}{eo\+Select\+One$<$ E\+O\+T $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_truncated_select_one_ac354d068c481eea7ca2e65a65afdd428}\label{classeo_truncated_select_one_ac354d068c481eea7ca2e65a65afdd428}}
|
|
\index{eoTruncatedSelectOne$<$ EOT $>$@{eoTruncatedSelectOne$<$ EOT $>$}!setup@{setup}}
|
|
\index{setup@{setup}!eoTruncatedSelectOne$<$ EOT $>$@{eoTruncatedSelectOne$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{setup()}{setup()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
void \mbox{\hyperlink{classeo_truncated_select_one}{eo\+Truncated\+Select\+One}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::setup (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+source }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
setup procedures\+: fills the temporary population with the fertile guys
|
|
|
|
Reimplemented from \mbox{\hyperlink{classeo_select_one_acf3dedb81da5473386b4848057ef1cf4}{eo\+Select\+One$<$ E\+O\+T $>$}}.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
deprecated/eo/src/eo\+Truncated\+Select\+One.\+h\end{DoxyCompactItemize}
|