git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@400 331e1502-861f-0410-8da2-ba01fb791d7f
78 lines
3.4 KiB
TeX
78 lines
3.4 KiB
TeX
\section{moeo\-Distance\-Matrix$<$ MOEOT, Type $>$ Class Template Reference}
|
|
\label{classmoeoDistanceMatrix}\index{moeoDistanceMatrix@{moeoDistanceMatrix}}
|
|
A matrix to compute distances between every pair of individuals contained in a population.
|
|
|
|
|
|
{\tt \#include $<$moeo\-Distance\-Matrix.h$>$}
|
|
|
|
Inheritance diagram for moeo\-Distance\-Matrix$<$ MOEOT, Type $>$::\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[height=3cm]{classmoeoDistanceMatrix}
|
|
\end{center}
|
|
\end{figure}
|
|
\subsection*{Public Member Functions}
|
|
\begin{CompactItemize}
|
|
\item
|
|
\bf{moeo\-Distance\-Matrix} (unsigned int \_\-size, \bf{moeo\-Distance}$<$ MOEOT, Type $>$ \&\_\-distance)
|
|
\begin{CompactList}\small\item\em Ctor. \item\end{CompactList}\item
|
|
void \bf{operator()} (const \bf{eo\-Pop}$<$ MOEOT $>$ \&\_\-pop)
|
|
\begin{CompactList}\small\item\em Sets the distance between every pair of individuals contained in the population \_\-pop. \item\end{CompactList}\end{CompactItemize}
|
|
\subsection*{Private Attributes}
|
|
\begin{CompactItemize}
|
|
\item
|
|
\bf{moeo\-Distance}$<$ MOEOT, Type $>$ \& \bf{distance}\label{classmoeoDistanceMatrix_72789ab7bcb89670cdc4242173dc2c69}
|
|
|
|
\begin{CompactList}\small\item\em the distance to use \item\end{CompactList}\end{CompactItemize}
|
|
|
|
|
|
\subsection{Detailed Description}
|
|
\subsubsection*{template$<$class MOEOT, class Type$>$ class moeo\-Distance\-Matrix$<$ MOEOT, Type $>$}
|
|
|
|
A matrix to compute distances between every pair of individuals contained in a population.
|
|
|
|
|
|
|
|
Definition at line 24 of file moeo\-Distance\-Matrix.h.
|
|
|
|
\subsection{Constructor \& Destructor Documentation}
|
|
\index{moeoDistanceMatrix@{moeo\-Distance\-Matrix}!moeoDistanceMatrix@{moeoDistanceMatrix}}
|
|
\index{moeoDistanceMatrix@{moeoDistanceMatrix}!moeoDistanceMatrix@{moeo\-Distance\-Matrix}}
|
|
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class MOEOT, class Type$>$ \bf{moeo\-Distance\-Matrix}$<$ MOEOT, Type $>$::\bf{moeo\-Distance\-Matrix} (unsigned int {\em \_\-size}, \bf{moeo\-Distance}$<$ MOEOT, Type $>$ \& {\em \_\-distance})\hspace{0.3cm}{\tt [inline]}}\label{classmoeoDistanceMatrix_5526260bd46b6877abd700a15b9b9ee8}
|
|
|
|
|
|
Ctor.
|
|
|
|
\begin{Desc}
|
|
\item[Parameters:]
|
|
\begin{description}
|
|
\item[{\em \_\-size}]size for every dimension of the matrix \item[{\em \_\-distance}]the distance to use \end{description}
|
|
\end{Desc}
|
|
|
|
|
|
Definition at line 37 of file moeo\-Distance\-Matrix.h.
|
|
|
|
\subsection{Member Function Documentation}
|
|
\index{moeoDistanceMatrix@{moeo\-Distance\-Matrix}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!moeoDistanceMatrix@{moeo\-Distance\-Matrix}}
|
|
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class MOEOT, class Type$>$ void \bf{moeo\-Distance\-Matrix}$<$ MOEOT, Type $>$::operator() (const \bf{eo\-Pop}$<$ MOEOT $>$ \& {\em \_\-pop})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmoeoDistanceMatrix_ae3d433983a0a3d369cc17971498ad48}
|
|
|
|
|
|
Sets the distance between every pair of individuals contained in the population \_\-pop.
|
|
|
|
\begin{Desc}
|
|
\item[Parameters:]
|
|
\begin{description}
|
|
\item[{\em \_\-pop}]the population \end{description}
|
|
\end{Desc}
|
|
|
|
|
|
Implements \bf{eo\-UF$<$ const eo\-Pop$<$ MOEOT $>$ \&, void $>$}.
|
|
|
|
Definition at line 51 of file moeo\-Distance\-Matrix.h.
|
|
|
|
References moeo\-Distance\-Matrix$<$ MOEOT, Type $>$::distance.
|
|
|
|
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
|
\item
|
|
moeo\-Distance\-Matrix.h\end{CompactItemize}
|