\hypertarget{classmoeo_environmental_replacement_1_1_cmp}{}\doxysection{moeo\+Environmental\+Replacement$<$ M\+O\+E\+OT $>$\+::Cmp Class Reference}
\label{classmoeo_environmental_replacement_1_1_cmp}\index{moeoEnvironmentalReplacement$<$ MOEOT $>$::Cmp@{moeoEnvironmentalReplacement$<$ MOEOT $>$::Cmp}}


{\ttfamily \#include $<$moeo\+Environmental\+Replacement.\+h$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classmoeo_environmental_replacement_1_1_cmp_aefd55b365f306715f1a871b50d479f38}{Cmp}} (\mbox{\hyperlink{classmoeo_comparator}{moeo\+Comparator}}$<$ M\+O\+E\+OT $>$ \&\+\_\+comp)
\item 
bool \mbox{\hyperlink{classmoeo_environmental_replacement_1_1_cmp_ab006918d5d6fc1f87fb9ed585946595a}{operator()}} (const M\+O\+E\+OT \&\+\_\+moeo1, const M\+O\+E\+OT \&\+\_\+moeo2)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$class M\+O\+E\+OT$>$\newline
class moeo\+Environmental\+Replacement$<$ M\+O\+E\+O\+T $>$\+::\+Cmp}

this object is used to compare solutions in order to sort the population 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classmoeo_environmental_replacement_1_1_cmp_aefd55b365f306715f1a871b50d479f38}\label{classmoeo_environmental_replacement_1_1_cmp_aefd55b365f306715f1a871b50d479f38}} 
\index{moeoEnvironmentalReplacement$<$ MOEOT $>$::Cmp@{moeoEnvironmentalReplacement$<$ MOEOT $>$::Cmp}!Cmp@{Cmp}}
\index{Cmp@{Cmp}!moeoEnvironmentalReplacement$<$ MOEOT $>$::Cmp@{moeoEnvironmentalReplacement$<$ MOEOT $>$::Cmp}}
\doxysubsubsection{\texorpdfstring{Cmp()}{Cmp()}}
{\footnotesize\ttfamily template$<$class M\+O\+E\+OT $>$ \\
\mbox{\hyperlink{classmoeo_environmental_replacement}{moeo\+Environmental\+Replacement}}$<$ M\+O\+E\+OT $>$\+::Cmp\+::\+Cmp (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classmoeo_comparator}{moeo\+Comparator}}$<$ M\+O\+E\+OT $>$ \&}]{\+\_\+comp }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Ctor. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+comp} & the comparator \\
\hline
\end{DoxyParams}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classmoeo_environmental_replacement_1_1_cmp_ab006918d5d6fc1f87fb9ed585946595a}\label{classmoeo_environmental_replacement_1_1_cmp_ab006918d5d6fc1f87fb9ed585946595a}} 
\index{moeoEnvironmentalReplacement$<$ MOEOT $>$::Cmp@{moeoEnvironmentalReplacement$<$ MOEOT $>$::Cmp}!operator()@{operator()}}
\index{operator()@{operator()}!moeoEnvironmentalReplacement$<$ MOEOT $>$::Cmp@{moeoEnvironmentalReplacement$<$ MOEOT $>$::Cmp}}
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}}
{\footnotesize\ttfamily template$<$class M\+O\+E\+OT $>$ \\
bool \mbox{\hyperlink{classmoeo_environmental_replacement}{moeo\+Environmental\+Replacement}}$<$ M\+O\+E\+OT $>$\+::Cmp\+::operator() (\begin{DoxyParamCaption}\item[{const M\+O\+E\+OT \&}]{\+\_\+moeo1,  }\item[{const M\+O\+E\+OT \&}]{\+\_\+moeo2 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Returns true if \+\_\+moeo1 is greater than \+\_\+moeo2 according to the comparator \+\_\+moeo1 the first individual \+\_\+moeo2 the first individual 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
moeo/src/replacement/moeo\+Environmental\+Replacement.\+h\end{DoxyCompactItemize}
