\hypertarget{classeo_select_from_worth}{}\doxysection{eo\+Select\+From\+Worth$<$ E\+OT, Worth\+Type $>$ Class Template Reference} \label{classeo_select_from_worth}\index{eoSelectFromWorth$<$ EOT, WorthType $>$@{eoSelectFromWorth$<$ EOT, WorthType $>$}} {\ttfamily \#include $<$eo\+Select\+From\+Worth.\+h$>$} Inheritance diagram for eo\+Select\+From\+Worth$<$ E\+OT, Worth\+Type $>$\+: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=316pt]{classeo_select_from_worth__inherit__graph} \end{center} \end{figure} Collaboration diagram for eo\+Select\+From\+Worth$<$ E\+OT, Worth\+Type $>$\+: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{classeo_select_from_worth__coll__graph} \end{center} \end{figure} \doxysubsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \mbox{\Hypertarget{classeo_select_from_worth_ad9394b9a1bced7e7b651798249b8fdcc}\label{classeo_select_from_worth_ad9394b9a1bced7e7b651798249b8fdcc}} {\bfseries eo\+Select\+From\+Worth} (\mbox{\hyperlink{classeo_perf2_worth}{eo\+Perf2\+Worth}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}}, Worth\+Type $>$ \&\+\_\+perf2\+Worth) \item \mbox{\Hypertarget{classeo_select_from_worth_a1568c0b15127f7afca7aa6f87251ef57}\label{classeo_select_from_worth_a1568c0b15127f7afca7aa6f87251ef57}} virtual void \mbox{\hyperlink{classeo_select_from_worth_a1568c0b15127f7afca7aa6f87251ef57}{setup}} (const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&pop) \begin{DoxyCompactList}\small\item\em virtual function to setup some population stats (for instance eo\+Proportional can benefit greatly from this) \end{DoxyCompactList}\item \mbox{\Hypertarget{classeo_select_from_worth_ad9394b9a1bced7e7b651798249b8fdcc}\label{classeo_select_from_worth_ad9394b9a1bced7e7b651798249b8fdcc}} {\bfseries eo\+Select\+From\+Worth} (\mbox{\hyperlink{classeo_perf2_worth}{eo\+Perf2\+Worth}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}}, Worth\+Type $>$ \&\+\_\+perf2\+Worth) \item \mbox{\Hypertarget{classeo_select_from_worth_a1568c0b15127f7afca7aa6f87251ef57}\label{classeo_select_from_worth_a1568c0b15127f7afca7aa6f87251ef57}} virtual void \mbox{\hyperlink{classeo_select_from_worth_a1568c0b15127f7afca7aa6f87251ef57}{setup}} (const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&pop) \begin{DoxyCompactList}\small\item\em virtual function to setup some population stats (for instance eo\+Proportional can benefit greatly from this) \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsection*{Protected Member Functions} \begin{DoxyCompactItemize} \item \mbox{\Hypertarget{classeo_select_from_worth_a295d531b756b9da642d096bd6efa0e2e}\label{classeo_select_from_worth_a295d531b756b9da642d096bd6efa0e2e}} void {\bfseries check\+\_\+sync} (unsigned index, const \mbox{\hyperlink{struct_dummy}{E\+OT}} \&\+\_\+eo) \item \mbox{\Hypertarget{classeo_select_from_worth_a295d531b756b9da642d096bd6efa0e2e}\label{classeo_select_from_worth_a295d531b756b9da642d096bd6efa0e2e}} void {\bfseries check\+\_\+sync} (unsigned index, const \mbox{\hyperlink{struct_dummy}{E\+OT}} \&\+\_\+eo) \end{DoxyCompactItemize} \doxysubsection*{Protected Attributes} \begin{DoxyCompactItemize} \item \mbox{\Hypertarget{classeo_select_from_worth_a1bde730990bae170cdf14551636df92b}\label{classeo_select_from_worth_a1bde730990bae170cdf14551636df92b}} \mbox{\hyperlink{classeo_perf2_worth}{eo\+Perf2\+Worth}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}}, Worth\+Type $>$ \& {\bfseries perf2\+Worth} \item \mbox{\Hypertarget{classeo_select_from_worth_a3f9f67582f36546ddd9bf5ff1201df79}\label{classeo_select_from_worth_a3f9f67582f36546ddd9bf5ff1201df79}} std\+::vector$<$ typename E\+O\+T\+::\+Fitness $>$ {\bfseries fitness} \end{DoxyCompactItemize} \doxysubsection*{Additional Inherited Members} \doxysubsection{Detailed Description} \subsubsection*{template$<$class E\+OT, class Worth\+Type = double$>$\newline class eo\+Select\+From\+Worth$<$ E\+O\+T, Worth\+Type $>$} -\/$\ast$-\/ mode\+: c++; c-\/indent-\/level\+: 4; c++-\/member-\/init-\/indent\+: 8; comment-\/column\+: 35; -\/$\ast$-\/ \DoxyHorRuler{0} eo\+Select\+From\+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:Marc.Schoenauer@polytechnique.fr}{\texttt{ Marc.\+Schoenauer@polytechnique.\+fr}} \href{mailto:mkeijzer@dhi.dk}{\texttt{ mkeijzer@dhi.\+dk}} selects one element from a population (is an \mbox{\hyperlink{classeo_select_one}{eo\+Select\+One}}) but the selection is based on a std\+::vector of Worth that is different from the fitnesses (e.\+g. \mbox{\hyperlink{class_e_o}{EO}} fitness is what Koza terms \char`\"{}raw fitness\char`\"{}, Worth is what the selection is based upon). see class \mbox{\hyperlink{classeo_perf2_worth}{eo\+Perf2\+Worth}}\+: an \mbox{\hyperlink{classeo_stat}{eo\+Stat}} that transforms fitnesses into Worthes Note\+: Worthes will not always be doubles -\/ see some multi-\/objective techniques where it is a std\+::pair of doubles ... It has to have a $<$ operator it you want to call an existing selector (see selector.\+h) -\/ but of course you can write the whole thing ... The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize} \item deprecated/eo/src/eo\+Select\+From\+Worth.\+h\end{DoxyCompactItemize}