135 lines
7.8 KiB
TeX
135 lines
7.8 KiB
TeX
\hypertarget{classeo_n_pts_bit_xover}{}\doxysection{eo\+N\+Pts\+Bit\+Xover$<$ Chrom $>$ Class Template Reference}
|
|
\label{classeo_n_pts_bit_xover}\index{eoNPtsBitXover$<$ Chrom $>$@{eoNPtsBitXover$<$ Chrom $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$ga/eo\+Bit\+Op.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for eo\+N\+Pts\+Bit\+Xover$<$ Chrom $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classeo_n_pts_bit_xover__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for eo\+N\+Pts\+Bit\+Xover$<$ Chrom $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classeo_n_pts_bit_xover__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{classeo_n_pts_bit_xover_a75a433d588eab5e4b5659693cecf6156}{eo\+N\+Pts\+Bit\+Xover}} (const unsigned \&\+\_\+num\+\_\+points=2)
|
|
\item
|
|
virtual std\+::string \mbox{\hyperlink{classeo_n_pts_bit_xover_a13f3cb2b5dc2c00f281ff9824d680957}{class\+Name}} () const
|
|
\item
|
|
bool \mbox{\hyperlink{classeo_n_pts_bit_xover_ac7953a8ed96a9b81b743817b60a1fce0}{operator()}} (\mbox{\hyperlink{class_chrom}{Chrom}} \&chrom1, \mbox{\hyperlink{class_chrom}{Chrom}} \&chrom2)
|
|
\item
|
|
\mbox{\hyperlink{classeo_n_pts_bit_xover_a75a433d588eab5e4b5659693cecf6156}{eo\+N\+Pts\+Bit\+Xover}} (const unsigned \&\+\_\+num\+\_\+points=2)
|
|
\item
|
|
virtual std\+::string \mbox{\hyperlink{classeo_n_pts_bit_xover_a13f3cb2b5dc2c00f281ff9824d680957}{class\+Name}} () const
|
|
\item
|
|
bool \mbox{\hyperlink{classeo_n_pts_bit_xover_ac7953a8ed96a9b81b743817b60a1fce0}{operator()}} (\mbox{\hyperlink{class_chrom}{Chrom}} \&chrom1, \mbox{\hyperlink{class_chrom}{Chrom}} \&chrom2)
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class Chrom$>$\newline
|
|
class eo\+N\+Pts\+Bit\+Xover$<$ Chrom $>$}
|
|
|
|
\mbox{\hyperlink{classeo_n_pts_bit_xover}{eo\+N\+Pts\+Bit\+Xover}} -\/-\/$>$ n-\/point crossover
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
\mbox{\Hypertarget{classeo_n_pts_bit_xover_a75a433d588eab5e4b5659693cecf6156}\label{classeo_n_pts_bit_xover_a75a433d588eab5e4b5659693cecf6156}}
|
|
\index{eoNPtsBitXover$<$ Chrom $>$@{eoNPtsBitXover$<$ Chrom $>$}!eoNPtsBitXover@{eoNPtsBitXover}}
|
|
\index{eoNPtsBitXover@{eoNPtsBitXover}!eoNPtsBitXover$<$ Chrom $>$@{eoNPtsBitXover$<$ Chrom $>$}}
|
|
\doxysubsubsection{\texorpdfstring{eoNPtsBitXover()}{eoNPtsBitXover()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class Chrom $>$ \\
|
|
\mbox{\hyperlink{classeo_n_pts_bit_xover}{eo\+N\+Pts\+Bit\+Xover}}$<$ \mbox{\hyperlink{class_chrom}{Chrom}} $>$\+::\mbox{\hyperlink{classeo_n_pts_bit_xover}{eo\+N\+Pts\+Bit\+Xover}} (\begin{DoxyParamCaption}\item[{const unsigned \&}]{\+\_\+num\+\_\+points = {\ttfamily 2} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
(Default) Constructor. \mbox{\Hypertarget{classeo_n_pts_bit_xover_a75a433d588eab5e4b5659693cecf6156}\label{classeo_n_pts_bit_xover_a75a433d588eab5e4b5659693cecf6156}}
|
|
\index{eoNPtsBitXover$<$ Chrom $>$@{eoNPtsBitXover$<$ Chrom $>$}!eoNPtsBitXover@{eoNPtsBitXover}}
|
|
\index{eoNPtsBitXover@{eoNPtsBitXover}!eoNPtsBitXover$<$ Chrom $>$@{eoNPtsBitXover$<$ Chrom $>$}}
|
|
\doxysubsubsection{\texorpdfstring{eoNPtsBitXover()}{eoNPtsBitXover()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class Chrom $>$ \\
|
|
\mbox{\hyperlink{classeo_n_pts_bit_xover}{eo\+N\+Pts\+Bit\+Xover}}$<$ \mbox{\hyperlink{class_chrom}{Chrom}} $>$\+::\mbox{\hyperlink{classeo_n_pts_bit_xover}{eo\+N\+Pts\+Bit\+Xover}} (\begin{DoxyParamCaption}\item[{const unsigned \&}]{\+\_\+num\+\_\+points = {\ttfamily 2} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
(Default) Constructor.
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classeo_n_pts_bit_xover_a13f3cb2b5dc2c00f281ff9824d680957}\label{classeo_n_pts_bit_xover_a13f3cb2b5dc2c00f281ff9824d680957}}
|
|
\index{eoNPtsBitXover$<$ Chrom $>$@{eoNPtsBitXover$<$ Chrom $>$}!className@{className}}
|
|
\index{className@{className}!eoNPtsBitXover$<$ Chrom $>$@{eoNPtsBitXover$<$ Chrom $>$}}
|
|
\doxysubsubsection{\texorpdfstring{className()}{className()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class Chrom $>$ \\
|
|
virtual std\+::string \mbox{\hyperlink{classeo_n_pts_bit_xover}{eo\+N\+Pts\+Bit\+Xover}}$<$ \mbox{\hyperlink{class_chrom}{Chrom}} $>$\+::class\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
The class name
|
|
|
|
Reimplemented from \mbox{\hyperlink{classeo_functor_base}{eo\+Functor\+Base}}.
|
|
|
|
\mbox{\Hypertarget{classeo_n_pts_bit_xover_a13f3cb2b5dc2c00f281ff9824d680957}\label{classeo_n_pts_bit_xover_a13f3cb2b5dc2c00f281ff9824d680957}}
|
|
\index{eoNPtsBitXover$<$ Chrom $>$@{eoNPtsBitXover$<$ Chrom $>$}!className@{className}}
|
|
\index{className@{className}!eoNPtsBitXover$<$ Chrom $>$@{eoNPtsBitXover$<$ Chrom $>$}}
|
|
\doxysubsubsection{\texorpdfstring{className()}{className()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class Chrom $>$ \\
|
|
virtual std\+::string \mbox{\hyperlink{classeo_n_pts_bit_xover}{eo\+N\+Pts\+Bit\+Xover}}$<$ \mbox{\hyperlink{class_chrom}{Chrom}} $>$\+::class\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
The class name
|
|
|
|
Reimplemented from \mbox{\hyperlink{classeo_functor_base}{eo\+Functor\+Base}}.
|
|
|
|
\mbox{\Hypertarget{classeo_n_pts_bit_xover_ac7953a8ed96a9b81b743817b60a1fce0}\label{classeo_n_pts_bit_xover_ac7953a8ed96a9b81b743817b60a1fce0}}
|
|
\index{eoNPtsBitXover$<$ Chrom $>$@{eoNPtsBitXover$<$ Chrom $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoNPtsBitXover$<$ Chrom $>$@{eoNPtsBitXover$<$ Chrom $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class Chrom $>$ \\
|
|
bool \mbox{\hyperlink{classeo_n_pts_bit_xover}{eo\+N\+Pts\+Bit\+Xover}}$<$ \mbox{\hyperlink{class_chrom}{Chrom}} $>$\+::operator() (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_chrom}{Chrom}} \&}]{chrom1, }\item[{\mbox{\hyperlink{class_chrom}{Chrom}} \&}]{chrom2 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
n-\/point crossover for binary chromosomes.
|
|
|
|
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em chrom1} & The first chromosome. \\
|
|
\hline
|
|
{\em chrom2} & The first chromosome. \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classeo_b_f_aa03c40b95210569b826df79a2237a0d0}{eo\+B\+F$<$ Chrom \&, Chrom \&, bool $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_n_pts_bit_xover_ac7953a8ed96a9b81b743817b60a1fce0}\label{classeo_n_pts_bit_xover_ac7953a8ed96a9b81b743817b60a1fce0}}
|
|
\index{eoNPtsBitXover$<$ Chrom $>$@{eoNPtsBitXover$<$ Chrom $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoNPtsBitXover$<$ Chrom $>$@{eoNPtsBitXover$<$ Chrom $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class Chrom $>$ \\
|
|
bool \mbox{\hyperlink{classeo_n_pts_bit_xover}{eo\+N\+Pts\+Bit\+Xover}}$<$ \mbox{\hyperlink{class_chrom}{Chrom}} $>$\+::operator() (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_chrom}{Chrom}} \&}]{chrom1, }\item[{\mbox{\hyperlink{class_chrom}{Chrom}} \&}]{chrom2 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
n-\/point crossover for binary chromosomes.
|
|
|
|
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em chrom1} & The first chromosome. \\
|
|
\hline
|
|
{\em chrom2} & The first chromosome. \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classeo_b_f_aa03c40b95210569b826df79a2237a0d0}{eo\+B\+F$<$ Chrom \&, Chrom \&, bool $>$}}.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
deprecated/eo/src/ga/eo\+Bit\+Op.\+h\end{DoxyCompactItemize}
|