git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
63 lines
2.2 KiB
TeX
63 lines
2.2 KiB
TeX
\section{eo\-UBit\-Xover$<$ Chrom $>$ Class Template Reference}
|
|
\label{classeo_u_bit_xover}\index{eoUBitXover@{eoUBitXover}}
|
|
eo\-UBit\-Xover --$>$ classic Uniform crossover
|
|
|
|
|
|
{\tt \#include $<$ga/eo\-Bit\-Op.h$>$}
|
|
|
|
Inheritance diagram for eo\-UBit\-Xover$<$ Chrom $>$::\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[height=2.70531cm]{classeo_u_bit_xover}
|
|
\end{center}
|
|
\end{figure}
|
|
\subsection*{Public Member Functions}
|
|
\begin{CompactItemize}
|
|
\item
|
|
{\bf eo\-UBit\-Xover} (const float \&\_\-preference=0.5)\label{classeo_u_bit_xover_a0}
|
|
|
|
\begin{CompactList}\small\item\em (Default) Constructor. \item\end{CompactList}\item
|
|
virtual std::string {\bf class\-Name} () const \label{classeo_u_bit_xover_a1}
|
|
|
|
\begin{CompactList}\small\item\em The class name. \item\end{CompactList}\item
|
|
bool {\bf operator()} (Chrom \&chrom1, Chrom \&chrom2)
|
|
\begin{CompactList}\small\item\em Uniform crossover for binary chromosomes. \item\end{CompactList}\end{CompactItemize}
|
|
\subsection*{Private Attributes}
|
|
\begin{CompactItemize}
|
|
\item
|
|
float {\bf preference}\label{classeo_u_bit_xover_r0}
|
|
|
|
\end{CompactItemize}
|
|
|
|
|
|
\subsection{Detailed Description}
|
|
\subsubsection*{template$<$class Chrom$>$ class eo\-UBit\-Xover$<$ Chrom $>$}
|
|
|
|
eo\-UBit\-Xover --$>$ classic Uniform crossover
|
|
|
|
|
|
|
|
Definition at line 274 of file eo\-Bit\-Op.h.
|
|
|
|
\subsection{Member Function Documentation}
|
|
\index{eoUBitXover@{eo\-UBit\-Xover}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoUBitXover@{eo\-UBit\-Xover}}
|
|
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class Chrom$>$ bool {\bf eo\-UBit\-Xover}$<$ Chrom $>$::operator() (Chrom \& {\em chrom1}, Chrom \& {\em chrom2})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classeo_u_bit_xover_a2}
|
|
|
|
|
|
Uniform crossover for binary chromosomes.
|
|
|
|
\begin{Desc}
|
|
\item[Parameters:]
|
|
\begin{description}
|
|
\item[{\em chrom1}]The first chromosome. \item[{\em chrom2}]The first chromosome. ::runtime\_\-error if sizes don't match \end{description}
|
|
\end{Desc}
|
|
|
|
|
|
Implements {\bf eo\-BF$<$ Chrom \&, Chrom \&, bool $>$} {\rm (p.\,\pageref{classeo_b_f_a1})}.
|
|
|
|
Definition at line 292 of file eo\-Bit\-Op.h.
|
|
|
|
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
|
\item
|
|
eo\-Bit\-Op.h\end{CompactItemize}
|