112 lines
7.2 KiB
TeX
112 lines
7.2 KiB
TeX
\hypertarget{classmoeo_bit_vector}{}\doxysection{moeo\+Bit\+Vector$<$ M\+O\+E\+O\+Objective\+Vector, M\+O\+E\+O\+Fitness, M\+O\+E\+O\+Diversity $>$ Class Template Reference}
|
|
\label{classmoeo_bit_vector}\index{moeoBitVector$<$ MOEOObjectiveVector, MOEOFitness, MOEODiversity $>$@{moeoBitVector$<$ MOEOObjectiveVector, MOEOFitness, MOEODiversity $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$moeo\+Bit\+Vector.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for moeo\+Bit\+Vector$<$ M\+O\+E\+O\+Objective\+Vector, M\+O\+E\+O\+Fitness, M\+O\+E\+O\+Diversity $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classmoeo_bit_vector__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for moeo\+Bit\+Vector$<$ M\+O\+E\+O\+Objective\+Vector, M\+O\+E\+O\+Fitness, M\+O\+E\+O\+Diversity $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classmoeo_bit_vector__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{classmoeo_bit_vector_a959ae6d2acf91467142366049a0b6121}{moeo\+Bit\+Vector}} (unsigned int \+\_\+size=0, bool \+\_\+value=false)
|
|
\item
|
|
virtual std\+::string \mbox{\hyperlink{classmoeo_bit_vector_a59602540ec3fa9aef4e5c6d52094f4a8}{class\+Name}} () const
|
|
\item
|
|
virtual void \mbox{\hyperlink{classmoeo_bit_vector_ae54c36ce64b849a6846953a25247a861}{print\+On}} (std\+::ostream \&\+\_\+os) const
|
|
\item
|
|
virtual void \mbox{\hyperlink{classmoeo_bit_vector_a31cd3f894615d0a27dd116a5c8082521}{read\+From}} (std\+::istream \&\+\_\+is)
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class M\+O\+E\+O\+Objective\+Vector, class M\+O\+E\+O\+Fitness = double, class M\+O\+E\+O\+Diversity = double$>$\newline
|
|
class moeo\+Bit\+Vector$<$ M\+O\+E\+O\+Objective\+Vector, M\+O\+E\+O\+Fitness, M\+O\+E\+O\+Diversity $>$}
|
|
|
|
This class is an implementationeo of a simple bit-\/valued \mbox{\hyperlink{classmoeo_vector}{moeo\+Vector}}.
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
\mbox{\Hypertarget{classmoeo_bit_vector_a959ae6d2acf91467142366049a0b6121}\label{classmoeo_bit_vector_a959ae6d2acf91467142366049a0b6121}}
|
|
\index{moeoBitVector$<$ MOEOObjectiveVector, MOEOFitness, MOEODiversity $>$@{moeoBitVector$<$ MOEOObjectiveVector, MOEOFitness, MOEODiversity $>$}!moeoBitVector@{moeoBitVector}}
|
|
\index{moeoBitVector@{moeoBitVector}!moeoBitVector$<$ MOEOObjectiveVector, MOEOFitness, MOEODiversity $>$@{moeoBitVector$<$ MOEOObjectiveVector, MOEOFitness, MOEODiversity $>$}}
|
|
\doxysubsubsection{\texorpdfstring{moeoBitVector()}{moeoBitVector()}}
|
|
{\footnotesize\ttfamily template$<$class M\+O\+E\+O\+Objective\+Vector , class M\+O\+E\+O\+Fitness = double, class M\+O\+E\+O\+Diversity = double$>$ \\
|
|
\mbox{\hyperlink{classmoeo_bit_vector}{moeo\+Bit\+Vector}}$<$ M\+O\+E\+O\+Objective\+Vector, M\+O\+E\+O\+Fitness, M\+O\+E\+O\+Diversity $>$\+::\mbox{\hyperlink{classmoeo_bit_vector}{moeo\+Bit\+Vector}} (\begin{DoxyParamCaption}\item[{unsigned int}]{\+\_\+size = {\ttfamily 0}, }\item[{bool}]{\+\_\+value = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Ctor
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+size} & Length of vector (default is 0) \\
|
|
\hline
|
|
{\em \+\_\+value} & Initial value of all elements (default is default value of type Gene\+Type) \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classmoeo_bit_vector_a59602540ec3fa9aef4e5c6d52094f4a8}\label{classmoeo_bit_vector_a59602540ec3fa9aef4e5c6d52094f4a8}}
|
|
\index{moeoBitVector$<$ MOEOObjectiveVector, MOEOFitness, MOEODiversity $>$@{moeoBitVector$<$ MOEOObjectiveVector, MOEOFitness, MOEODiversity $>$}!className@{className}}
|
|
\index{className@{className}!moeoBitVector$<$ MOEOObjectiveVector, MOEOFitness, MOEODiversity $>$@{moeoBitVector$<$ MOEOObjectiveVector, MOEOFitness, MOEODiversity $>$}}
|
|
\doxysubsubsection{\texorpdfstring{className()}{className()}}
|
|
{\footnotesize\ttfamily template$<$class M\+O\+E\+O\+Objective\+Vector , class M\+O\+E\+O\+Fitness = double, class M\+O\+E\+O\+Diversity = double$>$ \\
|
|
virtual std\+::string \mbox{\hyperlink{classmoeo_bit_vector}{moeo\+Bit\+Vector}}$<$ M\+O\+E\+O\+Objective\+Vector, M\+O\+E\+O\+Fitness, M\+O\+E\+O\+Diversity $>$\+::class\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Returns the class name as a std\+::string
|
|
|
|
Implements \mbox{\hyperlink{classeo_object_a1c02745db786e7bb46dea93b560fe685}{eo\+Object}}.
|
|
|
|
\mbox{\Hypertarget{classmoeo_bit_vector_ae54c36ce64b849a6846953a25247a861}\label{classmoeo_bit_vector_ae54c36ce64b849a6846953a25247a861}}
|
|
\index{moeoBitVector$<$ MOEOObjectiveVector, MOEOFitness, MOEODiversity $>$@{moeoBitVector$<$ MOEOObjectiveVector, MOEOFitness, MOEODiversity $>$}!printOn@{printOn}}
|
|
\index{printOn@{printOn}!moeoBitVector$<$ MOEOObjectiveVector, MOEOFitness, MOEODiversity $>$@{moeoBitVector$<$ MOEOObjectiveVector, MOEOFitness, MOEODiversity $>$}}
|
|
\doxysubsubsection{\texorpdfstring{printOn()}{printOn()}}
|
|
{\footnotesize\ttfamily template$<$class M\+O\+E\+O\+Objective\+Vector , class M\+O\+E\+O\+Fitness = double, class M\+O\+E\+O\+Diversity = double$>$ \\
|
|
virtual void \mbox{\hyperlink{classmoeo_bit_vector}{moeo\+Bit\+Vector}}$<$ M\+O\+E\+O\+Objective\+Vector, M\+O\+E\+O\+Fitness, M\+O\+E\+O\+Diversity $>$\+::print\+On (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{\+\_\+os }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Writing object
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+os} & output stream \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Reimplemented from \mbox{\hyperlink{classmoeo_vector_afd95fb4226c67d61285ed12463bbca53}{moeo\+Vector$<$ M\+O\+E\+O\+Objective\+Vector, bool, double, double $>$}}.
|
|
|
|
\mbox{\Hypertarget{classmoeo_bit_vector_a31cd3f894615d0a27dd116a5c8082521}\label{classmoeo_bit_vector_a31cd3f894615d0a27dd116a5c8082521}}
|
|
\index{moeoBitVector$<$ MOEOObjectiveVector, MOEOFitness, MOEODiversity $>$@{moeoBitVector$<$ MOEOObjectiveVector, MOEOFitness, MOEODiversity $>$}!readFrom@{readFrom}}
|
|
\index{readFrom@{readFrom}!moeoBitVector$<$ MOEOObjectiveVector, MOEOFitness, MOEODiversity $>$@{moeoBitVector$<$ MOEOObjectiveVector, MOEOFitness, MOEODiversity $>$}}
|
|
\doxysubsubsection{\texorpdfstring{readFrom()}{readFrom()}}
|
|
{\footnotesize\ttfamily template$<$class M\+O\+E\+O\+Objective\+Vector , class M\+O\+E\+O\+Fitness = double, class M\+O\+E\+O\+Diversity = double$>$ \\
|
|
virtual void \mbox{\hyperlink{classmoeo_bit_vector}{moeo\+Bit\+Vector}}$<$ M\+O\+E\+O\+Objective\+Vector, M\+O\+E\+O\+Fitness, M\+O\+E\+O\+Diversity $>$\+::read\+From (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{\+\_\+is }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Reading object
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+is} & input stream \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Reimplemented from \mbox{\hyperlink{classmoeo_vector_aa1826d283c0bcf5140f629ba1d9a14bc}{moeo\+Vector$<$ M\+O\+E\+O\+Objective\+Vector, bool, double, double $>$}}.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
moeo/src/core/moeo\+Bit\+Vector.\+h\end{DoxyCompactItemize}
|