git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@263 331e1502-861f-0410-8da2-ba01fb791d7f
52 lines
2.2 KiB
TeX
52 lines
2.2 KiB
TeX
\section{moeo\-Elitist\-Replacement$<$ MOEOT $>$::Cmp Class Reference}
|
|
\label{classmoeoElitistReplacement_1_1Cmp}\index{moeoElitistReplacement::Cmp@{moeoElitistReplacement::Cmp}}
|
|
This class is used to compare solutions in order to sort the population.
|
|
|
|
|
|
{\tt \#include $<$moeo\-Elitist\-Replacement.h$>$}
|
|
|
|
\subsection*{Public Member Functions}
|
|
\begin{CompactItemize}
|
|
\item
|
|
{\bf Cmp} ({\bf moeo\-Comparator}$<$ MOEOT $>$ \&\_\-comparator)
|
|
\begin{CompactList}\small\item\em Ctor. \item\end{CompactList}\item
|
|
bool {\bf operator()} (const MOEOT \&\_\-moeo1, const MOEOT \&\_\-moeo2)\label{classmoeoElitistReplacement_1_1Cmp_2411b927dde02225114635e776ce863f}
|
|
|
|
\begin{CompactList}\small\item\em Returns true if \_\-moeo1 is greater than \_\-moeo2 according to the comparator \_\-moeo1 the first individual \_\-moeo2 the first individual. \item\end{CompactList}\end{CompactItemize}
|
|
\subsection*{Private Attributes}
|
|
\begin{CompactItemize}
|
|
\item
|
|
{\bf moeo\-Comparator}$<$ MOEOT $>$ \& {\bf comparator}\label{classmoeoElitistReplacement_1_1Cmp_d86031360b8b2754431c3de650651a92}
|
|
|
|
\begin{CompactList}\small\item\em the comparator \item\end{CompactList}\end{CompactItemize}
|
|
|
|
|
|
\subsection{Detailed Description}
|
|
\subsubsection*{template$<$class MOEOT$>$ class moeo\-Elitist\-Replacement$<$ MOEOT $>$::Cmp}
|
|
|
|
This class is used to compare solutions in order to sort the population.
|
|
|
|
|
|
|
|
Definition at line 105 of file moeo\-Elitist\-Replacement.h.
|
|
|
|
\subsection{Constructor \& Destructor Documentation}
|
|
\index{moeoElitistReplacement::Cmp@{moeo\-Elitist\-Replacement::Cmp}!Cmp@{Cmp}}
|
|
\index{Cmp@{Cmp}!moeoElitistReplacement::Cmp@{moeo\-Elitist\-Replacement::Cmp}}
|
|
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class MOEOT$>$ {\bf moeo\-Elitist\-Replacement}$<$ MOEOT $>$::Cmp::Cmp ({\bf moeo\-Comparator}$<$ MOEOT $>$ \& {\em \_\-comparator})\hspace{0.3cm}{\tt [inline]}}\label{classmoeoElitistReplacement_1_1Cmp_79fd35cce3f2d5081a9ed0ee58c25ef8}
|
|
|
|
|
|
Ctor.
|
|
|
|
\begin{Desc}
|
|
\item[Parameters:]
|
|
\begin{description}
|
|
\item[{\em \_\-comparator}]the comparator \end{description}
|
|
\end{Desc}
|
|
|
|
|
|
Definition at line 113 of file moeo\-Elitist\-Replacement.h.
|
|
|
|
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
|
\item
|
|
moeo\-Elitist\-Replacement.h\end{CompactItemize}
|