\section{moeo\-Environmental\-Replacement$<$ MOEOT $>$::Cmp Class Reference} \label{classmoeoEnvironmentalReplacement_1_1Cmp}\index{moeoEnvironmentalReplacement::Cmp@{moeoEnvironmentalReplacement::Cmp}} This class is used to compare solutions in order to sort the population. {\tt \#include $<$moeo\-Environmental\-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{classmoeoEnvironmentalReplacement_1_1Cmp_b006918d5d6fc1f87fb9ed585946595a} \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{classmoeoEnvironmentalReplacement_1_1Cmp_7d2cc653e0ec997e72381a3f191a30df} \begin{CompactList}\small\item\em the comparator \item\end{CompactList}\end{CompactItemize} \subsection{Detailed Description} \subsubsection*{template$<$class MOEOT$>$ class moeo\-Environmental\-Replacement$<$ MOEOT $>$::Cmp} This class is used to compare solutions in order to sort the population. Definition at line 117 of file moeo\-Environmental\-Replacement.h. \subsection{Constructor \& Destructor Documentation} \index{moeoEnvironmentalReplacement::Cmp@{moeo\-Environmental\-Replacement::Cmp}!Cmp@{Cmp}} \index{Cmp@{Cmp}!moeoEnvironmentalReplacement::Cmp@{moeo\-Environmental\-Replacement::Cmp}} \subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class MOEOT$>$ {\bf moeo\-Environmental\-Replacement}$<$ MOEOT $>$::Cmp::Cmp ({\bf moeo\-Comparator}$<$ MOEOT $>$ \& {\em \_\-comparator})\hspace{0.3cm}{\tt [inline]}}\label{classmoeoEnvironmentalReplacement_1_1Cmp_734409b8f04b599c5291520b5cfc9177} Ctor. \begin{Desc} \item[Parameters:] \begin{description} \item[{\em \_\-comparator}]the comparator \end{description} \end{Desc} Definition at line 125 of file moeo\-Environmental\-Replacement.h. The documentation for this class was generated from the following file:\begin{CompactItemize} \item moeo\-Environmental\-Replacement.h\end{CompactItemize}