\hypertarget{classmoeo_diversity_then_fitness_comparator}{}\doxysection{moeo\+Diversity\+Then\+Fitness\+Comparator$<$ M\+O\+E\+OT $>$ Class Template Reference}
\label{classmoeo_diversity_then_fitness_comparator}\index{moeoDiversityThenFitnessComparator$<$ MOEOT $>$@{moeoDiversityThenFitnessComparator$<$ MOEOT $>$}}


{\ttfamily \#include $<$moeo\+Diversity\+Then\+Fitness\+Comparator.\+h$>$}



Inheritance diagram for moeo\+Diversity\+Then\+Fitness\+Comparator$<$ M\+O\+E\+OT $>$\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=324pt]{classmoeo_diversity_then_fitness_comparator__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for moeo\+Diversity\+Then\+Fitness\+Comparator$<$ M\+O\+E\+OT $>$\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=324pt]{classmoeo_diversity_then_fitness_comparator__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
bool \mbox{\hyperlink{classmoeo_diversity_then_fitness_comparator_a5eb18f9e517c4f45662d463a5d17bcd6}{operator()}} (const M\+O\+E\+OT \&\+\_\+moeo1, const M\+O\+E\+OT \&\+\_\+moeo2)
\end{DoxyCompactItemize}
\doxysubsection*{Additional Inherited Members}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$class M\+O\+E\+OT$>$\newline
class moeo\+Diversity\+Then\+Fitness\+Comparator$<$ M\+O\+E\+O\+T $>$}

Functor allowing to compare two solutions according to their diversity values, then according to their fitness values. 

\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classmoeo_diversity_then_fitness_comparator_a5eb18f9e517c4f45662d463a5d17bcd6}\label{classmoeo_diversity_then_fitness_comparator_a5eb18f9e517c4f45662d463a5d17bcd6}} 
\index{moeoDiversityThenFitnessComparator$<$ MOEOT $>$@{moeoDiversityThenFitnessComparator$<$ MOEOT $>$}!operator()@{operator()}}
\index{operator()@{operator()}!moeoDiversityThenFitnessComparator$<$ MOEOT $>$@{moeoDiversityThenFitnessComparator$<$ MOEOT $>$}}
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}}
{\footnotesize\ttfamily template$<$class M\+O\+E\+OT $>$ \\
bool \mbox{\hyperlink{classmoeo_diversity_then_fitness_comparator}{moeo\+Diversity\+Then\+Fitness\+Comparator}}$<$ M\+O\+E\+OT $>$\+::operator() (\begin{DoxyParamCaption}\item[{const M\+O\+E\+OT \&}]{\+\_\+moeo1,  }\item[{const M\+O\+E\+OT \&}]{\+\_\+moeo2 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

Returns true if \+\_\+moeo1 $<$ \+\_\+moeo2 according to their diversity values, then according to their fitness values 
\begin{DoxyParams}{Parameters}
{\em \+\_\+moeo1} & the first solution \\
\hline
{\em \+\_\+moeo2} & the second solution \\
\hline
\end{DoxyParams}


Implements \mbox{\hyperlink{classeo_b_f_aa03c40b95210569b826df79a2237a0d0}{eo\+B\+F$<$ const M\+O\+E\+O\+T \&, const M\+O\+E\+O\+T \&, bool $>$}}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
moeo/src/comparator/moeo\+Diversity\+Then\+Fitness\+Comparator.\+h\end{DoxyCompactItemize}
