Paradiseo-eo sources added
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
bc1f453978
commit
c3aec878e5
3609 changed files with 342772 additions and 0 deletions
61
trunk/paradiseo-eo/doc/latex/classeo_scalar_fitness.tex
Normal file
61
trunk/paradiseo-eo/doc/latex/classeo_scalar_fitness.tex
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
\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}
|
||||
Loading…
Add table
Add a link
Reference in a new issue