\hypertarget{classmoeo_aggregative_comparator}{}\doxysection{moeo\+Aggregative\+Comparator$<$ M\+O\+E\+OT $>$ Class Template Reference}
\label{classmoeo_aggregative_comparator}\index{moeoAggregativeComparator$<$ MOEOT $>$@{moeoAggregativeComparator$<$ MOEOT $>$}}


{\ttfamily \#include $<$moeo\+Aggregative\+Comparator.\+h$>$}



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


Collaboration diagram for moeo\+Aggregative\+Comparator$<$ M\+O\+E\+OT $>$\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=324pt]{classmoeo_aggregative_comparator__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classmoeo_aggregative_comparator_a76cc4d0f5f9bd4984c77410ad8142914}{moeo\+Aggregative\+Comparator}} (double \+\_\+weight\+Fitness=1.\+0, double \+\_\+weight\+Diversity=1.\+0)
\item 
bool \mbox{\hyperlink{classmoeo_aggregative_comparator_a34428c7f0b28c1e87363dbd8d17c0ff7}{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\+Aggregative\+Comparator$<$ M\+O\+E\+O\+T $>$}

Functor allowing to compare two solutions according to their fitness and diversity values, each according to its aggregative value. 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classmoeo_aggregative_comparator_a76cc4d0f5f9bd4984c77410ad8142914}\label{classmoeo_aggregative_comparator_a76cc4d0f5f9bd4984c77410ad8142914}} 
\index{moeoAggregativeComparator$<$ MOEOT $>$@{moeoAggregativeComparator$<$ MOEOT $>$}!moeoAggregativeComparator@{moeoAggregativeComparator}}
\index{moeoAggregativeComparator@{moeoAggregativeComparator}!moeoAggregativeComparator$<$ MOEOT $>$@{moeoAggregativeComparator$<$ MOEOT $>$}}
\doxysubsubsection{\texorpdfstring{moeoAggregativeComparator()}{moeoAggregativeComparator()}}
{\footnotesize\ttfamily template$<$class M\+O\+E\+OT $>$ \\
\mbox{\hyperlink{classmoeo_aggregative_comparator}{moeo\+Aggregative\+Comparator}}$<$ M\+O\+E\+OT $>$\+::\mbox{\hyperlink{classmoeo_aggregative_comparator}{moeo\+Aggregative\+Comparator}} (\begin{DoxyParamCaption}\item[{double}]{\+\_\+weight\+Fitness = {\ttfamily 1.0},  }\item[{double}]{\+\_\+weight\+Diversity = {\ttfamily 1.0} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Ctor. 
\begin{DoxyParams}{Parameters}
{\em \+\_\+weight\+Fitness} & the weight for fitness \\
\hline
{\em \+\_\+weight\+Diversity} & the weight for diversity \\
\hline
\end{DoxyParams}


\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classmoeo_aggregative_comparator_a34428c7f0b28c1e87363dbd8d17c0ff7}\label{classmoeo_aggregative_comparator_a34428c7f0b28c1e87363dbd8d17c0ff7}} 
\index{moeoAggregativeComparator$<$ MOEOT $>$@{moeoAggregativeComparator$<$ MOEOT $>$}!operator()@{operator()}}
\index{operator()@{operator()}!moeoAggregativeComparator$<$ MOEOT $>$@{moeoAggregativeComparator$<$ MOEOT $>$}}
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}}
{\footnotesize\ttfamily template$<$class M\+O\+E\+OT $>$ \\
bool \mbox{\hyperlink{classmoeo_aggregative_comparator}{moeo\+Aggregative\+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 the aggregation of their fitness and diversity 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\+Aggregative\+Comparator.\+h\end{DoxyCompactItemize}
