\hypertarget{classmoeo_normalized_distance}{}\doxysection{moeo\+Normalized\+Distance$<$ M\+O\+E\+OT, Type $>$ Class Template Reference}
\label{classmoeo_normalized_distance}\index{moeoNormalizedDistance$<$ MOEOT, Type $>$@{moeoNormalizedDistance$<$ MOEOT, Type $>$}}


{\ttfamily \#include $<$moeo\+Normalized\+Distance.\+h$>$}



Inheritance diagram for moeo\+Normalized\+Distance$<$ M\+O\+E\+OT, Type $>$\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=334pt]{classmoeo_normalized_distance__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for moeo\+Normalized\+Distance$<$ M\+O\+E\+OT, Type $>$\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=334pt]{classmoeo_normalized_distance__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef M\+O\+E\+O\+T\+::\+Objective\+Vector \mbox{\hyperlink{classmoeo_normalized_distance_a4009eb0c953bdc30b98dfc219774ce84}{Objective\+Vector}}
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classmoeo_normalized_distance_ad3948169e6781aaf5f1b5de7ae09ba89}{moeo\+Normalized\+Distance}} ()
\item 
virtual void \mbox{\hyperlink{classmoeo_normalized_distance_ab99ffed3c0ce6c9c10aef0a76d983bb1}{setup}} (const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ M\+O\+E\+OT $>$ \&\+\_\+pop)
\item 
virtual void \mbox{\hyperlink{classmoeo_normalized_distance_ae58bbf9eb90a8d2704f88d774d3fe1e1}{setup}} (double \+\_\+min, double \+\_\+max, unsigned int \+\_\+obj)
\item 
virtual void \mbox{\hyperlink{classmoeo_normalized_distance_adda4f95d7f6cae9dd1f4bf6cd8fb7c1c}{setup}} (\mbox{\hyperlink{classeo_real_interval}{eo\+Real\+Interval}} \+\_\+real\+Interval, unsigned int \+\_\+obj)
\end{DoxyCompactItemize}
\doxysubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static double \mbox{\hyperlink{classmoeo_normalized_distance_a3534fa0cebf35373baa77ce18cfe572a}{tiny}} ()
\end{DoxyCompactItemize}
\doxysubsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
std\+::vector$<$ \mbox{\hyperlink{classeo_real_interval}{eo\+Real\+Interval}} $>$ \mbox{\hyperlink{classmoeo_normalized_distance_adb85a478b20f9d8ec0f34f30a15e7bdd}{bounds}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$class M\+O\+E\+OT, class Type = double$>$\newline
class moeo\+Normalized\+Distance$<$ M\+O\+E\+O\+T, Type $>$}

The base class for double distance computation with normalized objective values (i.\+e. between 0 and 1). 

\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{classmoeo_normalized_distance_a4009eb0c953bdc30b98dfc219774ce84}\label{classmoeo_normalized_distance_a4009eb0c953bdc30b98dfc219774ce84}} 
\index{moeoNormalizedDistance$<$ MOEOT, Type $>$@{moeoNormalizedDistance$<$ MOEOT, Type $>$}!ObjectiveVector@{ObjectiveVector}}
\index{ObjectiveVector@{ObjectiveVector}!moeoNormalizedDistance$<$ MOEOT, Type $>$@{moeoNormalizedDistance$<$ MOEOT, Type $>$}}
\doxysubsubsection{\texorpdfstring{ObjectiveVector}{ObjectiveVector}}
{\footnotesize\ttfamily template$<$class M\+O\+E\+OT , class Type  = double$>$ \\
typedef M\+O\+E\+O\+T\+::\+Objective\+Vector \mbox{\hyperlink{classmoeo_normalized_distance}{moeo\+Normalized\+Distance}}$<$ M\+O\+E\+OT, Type $>$\+::\mbox{\hyperlink{classmoeo_normalized_distance_a4009eb0c953bdc30b98dfc219774ce84}{Objective\+Vector}}}

the objective vector type of the solutions 

\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classmoeo_normalized_distance_ad3948169e6781aaf5f1b5de7ae09ba89}\label{classmoeo_normalized_distance_ad3948169e6781aaf5f1b5de7ae09ba89}} 
\index{moeoNormalizedDistance$<$ MOEOT, Type $>$@{moeoNormalizedDistance$<$ MOEOT, Type $>$}!moeoNormalizedDistance@{moeoNormalizedDistance}}
\index{moeoNormalizedDistance@{moeoNormalizedDistance}!moeoNormalizedDistance$<$ MOEOT, Type $>$@{moeoNormalizedDistance$<$ MOEOT, Type $>$}}
\doxysubsubsection{\texorpdfstring{moeoNormalizedDistance()}{moeoNormalizedDistance()}}
{\footnotesize\ttfamily template$<$class M\+O\+E\+OT , class Type  = double$>$ \\
\mbox{\hyperlink{classmoeo_normalized_distance}{moeo\+Normalized\+Distance}}$<$ M\+O\+E\+OT, Type $>$\+::\mbox{\hyperlink{classmoeo_normalized_distance}{moeo\+Normalized\+Distance}} (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Default ctr 

\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classmoeo_normalized_distance_ab99ffed3c0ce6c9c10aef0a76d983bb1}\label{classmoeo_normalized_distance_ab99ffed3c0ce6c9c10aef0a76d983bb1}} 
\index{moeoNormalizedDistance$<$ MOEOT, Type $>$@{moeoNormalizedDistance$<$ MOEOT, Type $>$}!setup@{setup}}
\index{setup@{setup}!moeoNormalizedDistance$<$ MOEOT, Type $>$@{moeoNormalizedDistance$<$ MOEOT, Type $>$}}
\doxysubsubsection{\texorpdfstring{setup()}{setup()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily template$<$class M\+O\+E\+OT , class Type  = double$>$ \\
virtual void \mbox{\hyperlink{classmoeo_normalized_distance}{moeo\+Normalized\+Distance}}$<$ M\+O\+E\+OT, Type $>$\+::setup (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ M\+O\+E\+OT $>$ \&}]{\+\_\+pop }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

Sets the lower and the upper bounds for every objective using extremes values for solutions contained in the population \+\_\+pop 
\begin{DoxyParams}{Parameters}
{\em \+\_\+pop} & the population \\
\hline
\end{DoxyParams}


Reimplemented from \mbox{\hyperlink{classmoeo_distance_a1834a67c2a7a96f0c9a3c408108a8f8c}{moeo\+Distance$<$ M\+O\+E\+O\+T, double $>$}}.

\mbox{\Hypertarget{classmoeo_normalized_distance_ae58bbf9eb90a8d2704f88d774d3fe1e1}\label{classmoeo_normalized_distance_ae58bbf9eb90a8d2704f88d774d3fe1e1}} 
\index{moeoNormalizedDistance$<$ MOEOT, Type $>$@{moeoNormalizedDistance$<$ MOEOT, Type $>$}!setup@{setup}}
\index{setup@{setup}!moeoNormalizedDistance$<$ MOEOT, Type $>$@{moeoNormalizedDistance$<$ MOEOT, Type $>$}}
\doxysubsubsection{\texorpdfstring{setup()}{setup()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily template$<$class M\+O\+E\+OT , class Type  = double$>$ \\
virtual void \mbox{\hyperlink{classmoeo_normalized_distance}{moeo\+Normalized\+Distance}}$<$ M\+O\+E\+OT, Type $>$\+::setup (\begin{DoxyParamCaption}\item[{double}]{\+\_\+min,  }\item[{double}]{\+\_\+max,  }\item[{unsigned int}]{\+\_\+obj }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

Sets the lower bound (\+\_\+min) and the upper bound (\+\_\+max) for the objective \+\_\+obj 
\begin{DoxyParams}{Parameters}
{\em \+\_\+min} & lower bound \\
\hline
{\em \+\_\+max} & upper bound \\
\hline
{\em \+\_\+obj} & the objective index \\
\hline
\end{DoxyParams}


Reimplemented from \mbox{\hyperlink{classmoeo_distance_a341c4fa39652871761053e85914a16ad}{moeo\+Distance$<$ M\+O\+E\+O\+T, double $>$}}.

\mbox{\Hypertarget{classmoeo_normalized_distance_adda4f95d7f6cae9dd1f4bf6cd8fb7c1c}\label{classmoeo_normalized_distance_adda4f95d7f6cae9dd1f4bf6cd8fb7c1c}} 
\index{moeoNormalizedDistance$<$ MOEOT, Type $>$@{moeoNormalizedDistance$<$ MOEOT, Type $>$}!setup@{setup}}
\index{setup@{setup}!moeoNormalizedDistance$<$ MOEOT, Type $>$@{moeoNormalizedDistance$<$ MOEOT, Type $>$}}
\doxysubsubsection{\texorpdfstring{setup()}{setup()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily template$<$class M\+O\+E\+OT , class Type  = double$>$ \\
virtual void \mbox{\hyperlink{classmoeo_normalized_distance}{moeo\+Normalized\+Distance}}$<$ M\+O\+E\+OT, Type $>$\+::setup (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_real_interval}{eo\+Real\+Interval}}}]{\+\_\+real\+Interval,  }\item[{unsigned int}]{\+\_\+obj }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

Sets the lower bound and the upper bound for the objective \+\_\+obj using a \mbox{\hyperlink{classeo_real_interval}{eo\+Real\+Interval}} object 
\begin{DoxyParams}{Parameters}
{\em \+\_\+real\+Interval} & the \mbox{\hyperlink{classeo_real_interval}{eo\+Real\+Interval}} object \\
\hline
{\em \+\_\+obj} & the objective index \\
\hline
\end{DoxyParams}


Reimplemented from \mbox{\hyperlink{classmoeo_distance_ab08e7b8c1bedb2993669ec0315fb2b73}{moeo\+Distance$<$ M\+O\+E\+O\+T, double $>$}}.

\mbox{\Hypertarget{classmoeo_normalized_distance_a3534fa0cebf35373baa77ce18cfe572a}\label{classmoeo_normalized_distance_a3534fa0cebf35373baa77ce18cfe572a}} 
\index{moeoNormalizedDistance$<$ MOEOT, Type $>$@{moeoNormalizedDistance$<$ MOEOT, Type $>$}!tiny@{tiny}}
\index{tiny@{tiny}!moeoNormalizedDistance$<$ MOEOT, Type $>$@{moeoNormalizedDistance$<$ MOEOT, Type $>$}}
\doxysubsubsection{\texorpdfstring{tiny()}{tiny()}}
{\footnotesize\ttfamily template$<$class M\+O\+E\+OT , class Type  = double$>$ \\
static double \mbox{\hyperlink{classmoeo_normalized_distance}{moeo\+Normalized\+Distance}}$<$ M\+O\+E\+OT, Type $>$\+::tiny (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}

Returns a very small value that can be used to avoid extreme cases (where the min bound == the max bound) 

\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{classmoeo_normalized_distance_adb85a478b20f9d8ec0f34f30a15e7bdd}\label{classmoeo_normalized_distance_adb85a478b20f9d8ec0f34f30a15e7bdd}} 
\index{moeoNormalizedDistance$<$ MOEOT, Type $>$@{moeoNormalizedDistance$<$ MOEOT, Type $>$}!bounds@{bounds}}
\index{bounds@{bounds}!moeoNormalizedDistance$<$ MOEOT, Type $>$@{moeoNormalizedDistance$<$ MOEOT, Type $>$}}
\doxysubsubsection{\texorpdfstring{bounds}{bounds}}
{\footnotesize\ttfamily template$<$class M\+O\+E\+OT , class Type  = double$>$ \\
std\+::vector$<$ \mbox{\hyperlink{classeo_real_interval}{eo\+Real\+Interval}} $>$ \mbox{\hyperlink{classmoeo_normalized_distance}{moeo\+Normalized\+Distance}}$<$ M\+O\+E\+OT, Type $>$\+::bounds\hspace{0.3cm}{\ttfamily [protected]}}

the bounds for every objective (bounds\mbox{[}i\mbox{]} = bounds for the objective i) 

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