git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@400 331e1502-861f-0410-8da2-ba01fb791d7f
78 lines
3.3 KiB
TeX
78 lines
3.3 KiB
TeX
\section{moeo\-One\-Objective\-Comparator$<$ MOEOT $>$ Class Template Reference}
|
|
\label{classmoeoOneObjectiveComparator}\index{moeoOneObjectiveComparator@{moeoOneObjectiveComparator}}
|
|
Functor allowing to compare two solutions according to one objective.
|
|
|
|
|
|
{\tt \#include $<$moeo\-One\-Objective\-Comparator.h$>$}
|
|
|
|
Inheritance diagram for moeo\-One\-Objective\-Comparator$<$ MOEOT $>$::\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[height=4cm]{classmoeoOneObjectiveComparator}
|
|
\end{center}
|
|
\end{figure}
|
|
\subsection*{Public Member Functions}
|
|
\begin{CompactItemize}
|
|
\item
|
|
\bf{moeo\-One\-Objective\-Comparator} (unsigned int \_\-obj)
|
|
\begin{CompactList}\small\item\em Ctor. \item\end{CompactList}\item
|
|
const bool \bf{operator()} (const MOEOT \&\_\-moeo1, const MOEOT \&\_\-moeo2)
|
|
\begin{CompactList}\small\item\em Returns true if \_\-moeo1 $<$ \_\-moeo2 on the obj objective. \item\end{CompactList}\end{CompactItemize}
|
|
\subsection*{Private Attributes}
|
|
\begin{CompactItemize}
|
|
\item
|
|
unsigned int \bf{obj}\label{classmoeoOneObjectiveComparator_a45047e66adac81f5a34a2a0fe05f591}
|
|
|
|
\begin{CompactList}\small\item\em the index of objective \item\end{CompactList}\end{CompactItemize}
|
|
|
|
|
|
\subsection{Detailed Description}
|
|
\subsubsection*{template$<$class MOEOT$>$ class moeo\-One\-Objective\-Comparator$<$ MOEOT $>$}
|
|
|
|
Functor allowing to compare two solutions according to one objective.
|
|
|
|
|
|
|
|
Definition at line 22 of file moeo\-One\-Objective\-Comparator.h.
|
|
|
|
\subsection{Constructor \& Destructor Documentation}
|
|
\index{moeoOneObjectiveComparator@{moeo\-One\-Objective\-Comparator}!moeoOneObjectiveComparator@{moeoOneObjectiveComparator}}
|
|
\index{moeoOneObjectiveComparator@{moeoOneObjectiveComparator}!moeoOneObjectiveComparator@{moeo\-One\-Objective\-Comparator}}
|
|
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class MOEOT$>$ \bf{moeo\-One\-Objective\-Comparator}$<$ MOEOT $>$::\bf{moeo\-One\-Objective\-Comparator} (unsigned int {\em \_\-obj})\hspace{0.3cm}{\tt [inline]}}\label{classmoeoOneObjectiveComparator_be1249440803553ef868182019d49e4d}
|
|
|
|
|
|
Ctor.
|
|
|
|
\begin{Desc}
|
|
\item[Parameters:]
|
|
\begin{description}
|
|
\item[{\em \_\-obj}]the index of objective \end{description}
|
|
\end{Desc}
|
|
|
|
|
|
Definition at line 30 of file moeo\-One\-Objective\-Comparator.h.
|
|
|
|
References moeo\-One\-Objective\-Comparator$<$ MOEOT $>$::obj.
|
|
|
|
\subsection{Member Function Documentation}
|
|
\index{moeoOneObjectiveComparator@{moeo\-One\-Objective\-Comparator}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!moeoOneObjectiveComparator@{moeo\-One\-Objective\-Comparator}}
|
|
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class MOEOT$>$ const bool \bf{moeo\-One\-Objective\-Comparator}$<$ MOEOT $>$::operator() (const MOEOT \& {\em \_\-moeo1}, const MOEOT \& {\em \_\-moeo2})\hspace{0.3cm}{\tt [inline]}}\label{classmoeoOneObjectiveComparator_962a4cbc308c30a83c9c485a79374f6a}
|
|
|
|
|
|
Returns true if \_\-moeo1 $<$ \_\-moeo2 on the obj objective.
|
|
|
|
\begin{Desc}
|
|
\item[Parameters:]
|
|
\begin{description}
|
|
\item[{\em \_\-moeo1}]the first solution \item[{\em \_\-moeo2}]the second solution \end{description}
|
|
\end{Desc}
|
|
|
|
|
|
Definition at line 44 of file moeo\-One\-Objective\-Comparator.h.
|
|
|
|
References moeo\-One\-Objective\-Comparator$<$ MOEOT $>$::obj.
|
|
|
|
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
|
\item
|
|
moeo\-One\-Objective\-Comparator.h\end{CompactItemize}
|