184 lines
8.9 KiB
TeX
184 lines
8.9 KiB
TeX
\hypertarget{classeo_bit}{}\doxysection{eo\+Bit$<$ FitT $>$ Class Template Reference}
|
|
\label{classeo_bit}\index{eoBit$<$ FitT $>$@{eoBit$<$ FitT $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$ga/eo\+Bit.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for eo\+Bit$<$ FitT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=319pt]{classeo_bit__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for eo\+Bit$<$ FitT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=319pt]{classeo_bit__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Types}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_bit_a1cac46e4a5bc0bada0d556ee9e27c86f}\label{classeo_bit_a1cac46e4a5bc0bada0d556ee9e27c86f}}
|
|
using {\bfseries Scalar\+Type} = ScalarT
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{classeo_bit_a0942546d9ed69e68deb7aa55505d5d6c}{eo\+Bit}} (unsigned size=0, bool value=false)
|
|
\item
|
|
\mbox{\Hypertarget{classeo_bit_ae6ad5cd20d29dc2eea9703d28a890310}\label{classeo_bit_ae6ad5cd20d29dc2eea9703d28a890310}}
|
|
virtual std\+::string \mbox{\hyperlink{classeo_bit_ae6ad5cd20d29dc2eea9703d28a890310}{class\+Name}} () const
|
|
\begin{DoxyCompactList}\small\item\em My class name. \end{DoxyCompactList}\item
|
|
virtual void \mbox{\hyperlink{classeo_bit_a2eb460b62a7e5ab487d2b51627b00a0f}{print\+On}} (std\+::ostream \&os) const
|
|
\item
|
|
virtual void \mbox{\hyperlink{classeo_bit_af2278765465615b69a32f660aa55702a}{read\+From}} (std\+::istream \&is)
|
|
\item
|
|
\mbox{\hyperlink{classeo_bit_af5abbb077c9fddb36a43655cbcc3c5e6}{eo\+Bit}} (unsigned size=0, Scalar\+Type value=false)
|
|
\item
|
|
\mbox{\Hypertarget{classeo_bit_ae6ad5cd20d29dc2eea9703d28a890310}\label{classeo_bit_ae6ad5cd20d29dc2eea9703d28a890310}}
|
|
virtual std\+::string \mbox{\hyperlink{classeo_bit_ae6ad5cd20d29dc2eea9703d28a890310}{class\+Name}} () const
|
|
\begin{DoxyCompactList}\small\item\em My class name. \end{DoxyCompactList}\item
|
|
virtual void \mbox{\hyperlink{classeo_bit_a2eb460b62a7e5ab487d2b51627b00a0f}{print\+On}} (std\+::ostream \&os) const
|
|
\item
|
|
virtual void \mbox{\hyperlink{classeo_bit_af2278765465615b69a32f660aa55702a}{read\+From}} (std\+::istream \&is)
|
|
\end{DoxyCompactItemize}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class FitT$>$\newline
|
|
class eo\+Bit$<$ Fit\+T $>$}
|
|
|
|
Implementation of bitstring chromosome.
|
|
|
|
Based on S\+TL\textquotesingle{}s vector$<$bool$>$ specialization.
|
|
|
|
Implementation of bitstring chromosome.
|
|
|
|
Based on S\+TL\textquotesingle{}s std\+::vector$<$bool$>$ specialization.
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
\mbox{\Hypertarget{classeo_bit_a0942546d9ed69e68deb7aa55505d5d6c}\label{classeo_bit_a0942546d9ed69e68deb7aa55505d5d6c}}
|
|
\index{eoBit$<$ FitT $>$@{eoBit$<$ FitT $>$}!eoBit@{eoBit}}
|
|
\index{eoBit@{eoBit}!eoBit$<$ FitT $>$@{eoBit$<$ FitT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{eoBit()}{eoBit()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class FitT $>$ \\
|
|
\mbox{\hyperlink{classeo_bit}{eo\+Bit}}$<$ \mbox{\hyperlink{classeo_scalar_fitness}{FitT}} $>$\+::\mbox{\hyperlink{classeo_bit}{eo\+Bit}} (\begin{DoxyParamCaption}\item[{unsigned}]{size = {\ttfamily 0}, }\item[{bool}]{value = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
(Default) Constructor.
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em size} & Size of the binary std\+::string. \\
|
|
\hline
|
|
{\em value} & Default value. \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\mbox{\Hypertarget{classeo_bit_af5abbb077c9fddb36a43655cbcc3c5e6}\label{classeo_bit_af5abbb077c9fddb36a43655cbcc3c5e6}}
|
|
\index{eoBit$<$ FitT $>$@{eoBit$<$ FitT $>$}!eoBit@{eoBit}}
|
|
\index{eoBit@{eoBit}!eoBit$<$ FitT $>$@{eoBit$<$ FitT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{eoBit()}{eoBit()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class FitT $>$ \\
|
|
\mbox{\hyperlink{classeo_bit}{eo\+Bit}}$<$ \mbox{\hyperlink{classeo_scalar_fitness}{FitT}} $>$\+::\mbox{\hyperlink{classeo_bit}{eo\+Bit}} (\begin{DoxyParamCaption}\item[{unsigned}]{size = {\ttfamily 0}, }\item[{Scalar\+Type}]{value = {\ttfamily false} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
(Default) Constructor.
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em size} & Size of the binary std\+::string. \\
|
|
\hline
|
|
{\em value} & Default value. \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classeo_bit_a2eb460b62a7e5ab487d2b51627b00a0f}\label{classeo_bit_a2eb460b62a7e5ab487d2b51627b00a0f}}
|
|
\index{eoBit$<$ FitT $>$@{eoBit$<$ FitT $>$}!printOn@{printOn}}
|
|
\index{printOn@{printOn}!eoBit$<$ FitT $>$@{eoBit$<$ FitT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{printOn()}{printOn()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class FitT $>$ \\
|
|
virtual void \mbox{\hyperlink{classeo_bit}{eo\+Bit}}$<$ \mbox{\hyperlink{classeo_scalar_fitness}{FitT}} $>$\+::print\+On (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{os }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
To print me on a stream.
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em os} & The std\+::ostream. \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Reimplemented from \mbox{\hyperlink{classeo_vector_a59d46415d733298d3914715019140f97}{eo\+Vector$<$ Fit\+T, bool $>$}}.
|
|
|
|
|
|
|
|
Reimplemented in \mbox{\hyperlink{classeo_virus_a29d95536ac5326a7060186834beab3f9}{eo\+Virus$<$ Fit\+T $>$}}, and \mbox{\hyperlink{classeo_virus_a29d95536ac5326a7060186834beab3f9}{eo\+Virus$<$ Fit\+T $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_bit_a2eb460b62a7e5ab487d2b51627b00a0f}\label{classeo_bit_a2eb460b62a7e5ab487d2b51627b00a0f}}
|
|
\index{eoBit$<$ FitT $>$@{eoBit$<$ FitT $>$}!printOn@{printOn}}
|
|
\index{printOn@{printOn}!eoBit$<$ FitT $>$@{eoBit$<$ FitT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{printOn()}{printOn()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class FitT $>$ \\
|
|
virtual void \mbox{\hyperlink{classeo_bit}{eo\+Bit}}$<$ \mbox{\hyperlink{classeo_scalar_fitness}{FitT}} $>$\+::print\+On (\begin{DoxyParamCaption}\item[{std\+::ostream \&}]{os }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
To print me on a stream.
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em os} & The std\+::ostream. \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Reimplemented from \mbox{\hyperlink{classeo_vector_a59d46415d733298d3914715019140f97}{eo\+Vector$<$ Fit\+T, bool $>$}}.
|
|
|
|
|
|
|
|
Reimplemented in \mbox{\hyperlink{classeo_virus_a29d95536ac5326a7060186834beab3f9}{eo\+Virus$<$ Fit\+T $>$}}, and \mbox{\hyperlink{classeo_virus_a29d95536ac5326a7060186834beab3f9}{eo\+Virus$<$ Fit\+T $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_bit_af2278765465615b69a32f660aa55702a}\label{classeo_bit_af2278765465615b69a32f660aa55702a}}
|
|
\index{eoBit$<$ FitT $>$@{eoBit$<$ FitT $>$}!readFrom@{readFrom}}
|
|
\index{readFrom@{readFrom}!eoBit$<$ FitT $>$@{eoBit$<$ FitT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{readFrom()}{readFrom()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class FitT $>$ \\
|
|
virtual void \mbox{\hyperlink{classeo_bit}{eo\+Bit}}$<$ \mbox{\hyperlink{classeo_scalar_fitness}{FitT}} $>$\+::read\+From (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{is }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
To read me from a stream.
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em is} & The std\+::istream. \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Reimplemented from \mbox{\hyperlink{classeo_vector_acccb8de6742e46b976a2de7356fd86d3}{eo\+Vector$<$ Fit\+T, bool $>$}}.
|
|
|
|
|
|
|
|
Reimplemented in \mbox{\hyperlink{classeo_virus_a2054a8eea4722c8ed6028d5b258fb95f}{eo\+Virus$<$ Fit\+T $>$}}, and \mbox{\hyperlink{classeo_virus_a2054a8eea4722c8ed6028d5b258fb95f}{eo\+Virus$<$ Fit\+T $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_bit_af2278765465615b69a32f660aa55702a}\label{classeo_bit_af2278765465615b69a32f660aa55702a}}
|
|
\index{eoBit$<$ FitT $>$@{eoBit$<$ FitT $>$}!readFrom@{readFrom}}
|
|
\index{readFrom@{readFrom}!eoBit$<$ FitT $>$@{eoBit$<$ FitT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{readFrom()}{readFrom()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class FitT $>$ \\
|
|
virtual void \mbox{\hyperlink{classeo_bit}{eo\+Bit}}$<$ \mbox{\hyperlink{classeo_scalar_fitness}{FitT}} $>$\+::read\+From (\begin{DoxyParamCaption}\item[{std\+::istream \&}]{is }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
To read me from a stream.
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em is} & The std\+::istream. \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Reimplemented from \mbox{\hyperlink{classeo_vector_acccb8de6742e46b976a2de7356fd86d3}{eo\+Vector$<$ Fit\+T, bool $>$}}.
|
|
|
|
|
|
|
|
Reimplemented in \mbox{\hyperlink{classeo_virus_a2054a8eea4722c8ed6028d5b258fb95f}{eo\+Virus$<$ Fit\+T $>$}}, and \mbox{\hyperlink{classeo_virus_a2054a8eea4722c8ed6028d5b258fb95f}{eo\+Virus$<$ Fit\+T $>$}}.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
deprecated/eo/src/ga/eo\+Bit.\+h\end{DoxyCompactItemize}
|