\section{eo\-Scalar\-Fitness$<$ Scalar\-Type, Compare $>$ Class Template Reference} \label{classeo_scalar_fitness}\index{eoScalarFitness@{eoScalarFitness}} eo\-Scalar\-Fitness$<$Scalar\-Type, Compare = less$<$Scalar\-Type$>$ $>$: Wraps a scalar fitness values such as a double or int, with the option of maximizing (using less$<$Scalar\-Type$>$) or minimizing (using greater$<$Scalar\-Type$>$) {\tt \#include $<$eo\-Scalar\-Fitness.h$>$} \subsection*{Public Member Functions} \begin{CompactItemize} \item {\bf eo\-Scalar\-Fitness} (const {\bf eo\-Scalar\-Fitness} \&other)\label{classeo_scalar_fitness_a1} \item {\bf eo\-Scalar\-Fitness} (const Scalar\-Type \&v)\label{classeo_scalar_fitness_a2} \item {\bf eo\-Scalar\-Fitness} \& {\bf operator=} (const {\bf eo\-Scalar\-Fitness} \&other)\label{classeo_scalar_fitness_a3} \item {\bf eo\-Scalar\-Fitness} \& {\bf operator=} (const Scalar\-Type \&v)\label{classeo_scalar_fitness_a4} \item {\bf operator Scalar\-Type} (void) const \label{classeo_scalar_fitness_a5} \item bool {\bf operator$<$} (const {\bf eo\-Scalar\-Fitness} \&other) const \label{classeo_scalar_fitness_a6} \begin{CompactList}\small\item\em Comparison, using less by default. \item\end{CompactList}\item bool {\bf operator$>$} (const {\bf eo\-Scalar\-Fitness}$<$ Scalar\-Type, Compare $>$ \&y) const \label{classeo_scalar_fitness_a7} \item bool {\bf operator$<$=} (const {\bf eo\-Scalar\-Fitness}$<$ Scalar\-Type, Compare $>$ \&y) const \label{classeo_scalar_fitness_a8} \item bool {\bf operator$>$=} (const {\bf eo\-Scalar\-Fitness}$<$ Scalar\-Type, Compare $>$ \&y) const \label{classeo_scalar_fitness_a9} \end{CompactItemize} \subsection*{Private Attributes} \begin{CompactItemize} \item Scalar\-Type {\bf value}\label{classeo_scalar_fitness_r0} \end{CompactItemize} \subsection{Detailed Description} \subsubsection*{template$<$class Scalar\-Type, class Compare$>$ class eo\-Scalar\-Fitness$<$ Scalar\-Type, Compare $>$} eo\-Scalar\-Fitness$<$Scalar\-Type, Compare = less$<$Scalar\-Type$>$ $>$: Wraps a scalar fitness values such as a double or int, with the option of maximizing (using less$<$Scalar\-Type$>$) or minimizing (using greater$<$Scalar\-Type$>$) It overrides {\bf operator$<$()}{\rm (p.\,\pageref{classeo_scalar_fitness_a6})} to use the Compare template argument Suitable constructors and assignments and casts are defined to work with this quantity as if it were a Scalar\-Type. Definition at line 43 of file eo\-Scalar\-Fitness.h. The documentation for this class was generated from the following file:\begin{CompactItemize} \item eo\-Scalar\-Fitness.h\end{CompactItemize}