\hypertarget{classeo_perf2_worth}{}\doxysection{eo\+Perf2\+Worth$<$ E\+OT, WorthT $>$ Class Template Reference} \label{classeo_perf2_worth}\index{eoPerf2Worth$<$ EOT, WorthT $>$@{eoPerf2Worth$<$ EOT, WorthT $>$}} Base class to transform raw fitnesses into fitness for selection. {\ttfamily \#include $<$eo\+Perf2\+Worth.\+h$>$} Inheritance diagram for eo\+Perf2\+Worth$<$ E\+OT, WorthT $>$\+: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{classeo_perf2_worth__inherit__graph} \end{center} \end{figure} Collaboration diagram for eo\+Perf2\+Worth$<$ E\+OT, WorthT $>$\+: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{classeo_perf2_worth__coll__graph} \end{center} \end{figure} \doxysubsection*{Classes} \begin{DoxyCompactItemize} \item class \mbox{\hyperlink{classeo_perf2_worth_1_1compare__worth}{compare\+\_\+worth}} \end{DoxyCompactItemize} \doxysubsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \mbox{\Hypertarget{classeo_perf2_worth_a6446ccb1ccae9545beafb2e8327ccef9}\label{classeo_perf2_worth_a6446ccb1ccae9545beafb2e8327ccef9}} \mbox{\hyperlink{classeo_perf2_worth_a6446ccb1ccae9545beafb2e8327ccef9}{eo\+Perf2\+Worth}} (std\+::string \+\_\+description=\char`\"{}Worths\char`\"{}) \begin{DoxyCompactList}\small\item\em default constructor \end{DoxyCompactList}\item virtual void \mbox{\hyperlink{classeo_perf2_worth_af5131552bee000db94d29c08ac4e1af4}{sort\+\_\+pop}} (\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+pop) \item \mbox{\Hypertarget{classeo_perf2_worth_a0d02a0e3a219e6f1fe9282733e74b598}\label{classeo_perf2_worth_a0d02a0e3a219e6f1fe9282733e74b598}} virtual void {\bfseries resize} (\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+pop, unsigned sz) \item \mbox{\Hypertarget{classeo_perf2_worth_ae3cba9d42db8756e1fd5436e7803c9c0}\label{classeo_perf2_worth_ae3cba9d42db8756e1fd5436e7803c9c0}} virtual void {\bfseries operator()} (\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+pop) \item \mbox{\Hypertarget{classeo_perf2_worth_a6446ccb1ccae9545beafb2e8327ccef9}\label{classeo_perf2_worth_a6446ccb1ccae9545beafb2e8327ccef9}} \mbox{\hyperlink{classeo_perf2_worth_a6446ccb1ccae9545beafb2e8327ccef9}{eo\+Perf2\+Worth}} (std\+::string \+\_\+description=\char`\"{}Worths\char`\"{}) \begin{DoxyCompactList}\small\item\em default constructor \end{DoxyCompactList}\item virtual void \mbox{\hyperlink{classeo_perf2_worth_af5131552bee000db94d29c08ac4e1af4}{sort\+\_\+pop}} (\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+pop) \item \mbox{\Hypertarget{classeo_perf2_worth_a0d02a0e3a219e6f1fe9282733e74b598}\label{classeo_perf2_worth_a0d02a0e3a219e6f1fe9282733e74b598}} virtual void {\bfseries resize} (\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+pop, unsigned sz) \item \mbox{\Hypertarget{classeo_perf2_worth_ae3cba9d42db8756e1fd5436e7803c9c0}\label{classeo_perf2_worth_ae3cba9d42db8756e1fd5436e7803c9c0}} virtual void {\bfseries operator()} (\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+pop) \end{DoxyCompactItemize} \doxysubsection*{Additional Inherited Members} \doxysubsection{Detailed Description} \subsubsection*{template$<$class E\+OT, class WorthT = double$>$\newline class eo\+Perf2\+Worth$<$ E\+O\+T, Worth\+T $>$} Base class to transform raw fitnesses into fitness for selection. -\/$\ast$-\/ mode\+: c++; c-\/indent-\/level\+: 4; c++-\/member-\/init-\/indent\+: 8; comment-\/column\+: 35; -\/$\ast$-\/ \DoxyHorRuler{0} eo\+Perf2\+Worth.\+h (c) Maarten Keijzer, Marc Schoenauer, 2001 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}} \begin{DoxySeeAlso}{See also} \mbox{\hyperlink{classeo_select_from_worth}{eo\+Select\+From\+Worth}} \end{DoxySeeAlso} \doxysubsection{Member Function Documentation} \mbox{\Hypertarget{classeo_perf2_worth_af5131552bee000db94d29c08ac4e1af4}\label{classeo_perf2_worth_af5131552bee000db94d29c08ac4e1af4}} \index{eoPerf2Worth$<$ EOT, WorthT $>$@{eoPerf2Worth$<$ EOT, WorthT $>$}!sort\_pop@{sort\_pop}} \index{sort\_pop@{sort\_pop}!eoPerf2Worth$<$ EOT, WorthT $>$@{eoPerf2Worth$<$ EOT, WorthT $>$}} \doxysubsubsection{\texorpdfstring{sort\_pop()}{sort\_pop()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}} {\footnotesize\ttfamily template$<$class E\+OT , class WorthT = double$>$ \\ virtual void \mbox{\hyperlink{classeo_perf2_worth}{eo\+Perf2\+Worth}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}}, WorthT $>$\+::sort\+\_\+pop (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+pop }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}} Sort population according to worth, will keep the worths and fitness\+\_\+cache in sync with the population. Reimplemented in \mbox{\hyperlink{classeo_perf2_worth_cached_a0a9a0a0f34ac8a399a842773f5a395dd}{eo\+Perf2\+Worth\+Cached$<$ Py\+E\+O, double $>$}}, \mbox{\hyperlink{classeo_perf2_worth_cached_a0a9a0a0f34ac8a399a842773f5a395dd}{eo\+Perf2\+Worth\+Cached$<$ Py\+E\+O, double $>$}}, \mbox{\hyperlink{classeo_perf2_worth_cached_a0a9a0a0f34ac8a399a842773f5a395dd}{eo\+Perf2\+Worth\+Cached$<$ E\+O\+T, Worth\+T $>$}}, \mbox{\hyperlink{classeo_perf2_worth_cached_a0a9a0a0f34ac8a399a842773f5a395dd}{eo\+Perf2\+Worth\+Cached$<$ E\+O\+T, double $>$}}, \mbox{\hyperlink{classeo_perf2_worth_cached_a0a9a0a0f34ac8a399a842773f5a395dd}{eo\+Perf2\+Worth\+Cached$<$ E\+O\+T, Worth\+T $>$}}, and \mbox{\hyperlink{classeo_perf2_worth_cached_a0a9a0a0f34ac8a399a842773f5a395dd}{eo\+Perf2\+Worth\+Cached$<$ E\+O\+T, double $>$}}. \mbox{\Hypertarget{classeo_perf2_worth_af5131552bee000db94d29c08ac4e1af4}\label{classeo_perf2_worth_af5131552bee000db94d29c08ac4e1af4}} \index{eoPerf2Worth$<$ EOT, WorthT $>$@{eoPerf2Worth$<$ EOT, WorthT $>$}!sort\_pop@{sort\_pop}} \index{sort\_pop@{sort\_pop}!eoPerf2Worth$<$ EOT, WorthT $>$@{eoPerf2Worth$<$ EOT, WorthT $>$}} \doxysubsubsection{\texorpdfstring{sort\_pop()}{sort\_pop()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}} {\footnotesize\ttfamily template$<$class E\+OT , class WorthT = double$>$ \\ virtual void \mbox{\hyperlink{classeo_perf2_worth}{eo\+Perf2\+Worth}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}}, WorthT $>$\+::sort\+\_\+pop (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+pop }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}} Sort population according to worth, will keep the worths and fitness\+\_\+cache in sync with the population. Reimplemented in \mbox{\hyperlink{classeo_perf2_worth_cached_a0a9a0a0f34ac8a399a842773f5a395dd}{eo\+Perf2\+Worth\+Cached$<$ Py\+E\+O, double $>$}}, \mbox{\hyperlink{classeo_perf2_worth_cached_a0a9a0a0f34ac8a399a842773f5a395dd}{eo\+Perf2\+Worth\+Cached$<$ Py\+E\+O, double $>$}}, \mbox{\hyperlink{classeo_perf2_worth_cached_a0a9a0a0f34ac8a399a842773f5a395dd}{eo\+Perf2\+Worth\+Cached$<$ E\+O\+T, Worth\+T $>$}}, \mbox{\hyperlink{classeo_perf2_worth_cached_a0a9a0a0f34ac8a399a842773f5a395dd}{eo\+Perf2\+Worth\+Cached$<$ E\+O\+T, double $>$}}, \mbox{\hyperlink{classeo_perf2_worth_cached_a0a9a0a0f34ac8a399a842773f5a395dd}{eo\+Perf2\+Worth\+Cached$<$ E\+O\+T, Worth\+T $>$}}, and \mbox{\hyperlink{classeo_perf2_worth_cached_a0a9a0a0f34ac8a399a842773f5a395dd}{eo\+Perf2\+Worth\+Cached$<$ E\+O\+T, double $>$}}. The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize} \item deprecated/eo/src/eo\+Perf2\+Worth.\+h\item deprecated/eo/test/fitness\+\_\+traits.\+cpp\end{DoxyCompactItemize}