git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
43 lines
1.4 KiB
TeX
43 lines
1.4 KiB
TeX
\section{eo\-Boolean\-Init Class Reference}
|
|
\label{classeo_boolean_init}\index{eoBooleanInit@{eoBooleanInit}}
|
|
The class eo\-Boolean\-Init can be used in the STL apply function to easily generate random booleans with a specified bias.
|
|
|
|
|
|
{\tt \#include $<$eo\-Uniform\-Init.h$>$}
|
|
|
|
Inheritance diagram for eo\-Boolean\-Init::\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[height=4cm]{classeo_boolean_init}
|
|
\end{center}
|
|
\end{figure}
|
|
\subsection*{Public Member Functions}
|
|
\begin{CompactItemize}
|
|
\item
|
|
{\bf eo\-Boolean\-Init} (float \_\-bias=0.5, {\bf eo\-Rng} \&\_\-rng=rng)\label{classeo_boolean_init_a0}
|
|
|
|
\item
|
|
void {\bf operator()} (bool \&\_\-b)\label{classeo_boolean_init_a1}
|
|
|
|
\begin{CompactList}\small\item\em The pure virtual function that needs to be implemented by the subclass. \item\end{CompactList}\end{CompactItemize}
|
|
\subsection*{Private Attributes}
|
|
\begin{CompactItemize}
|
|
\item
|
|
float {\bf bias}\label{classeo_boolean_init_r0}
|
|
|
|
\item
|
|
{\bf eo\-Rng} \& {\bf gen}\label{classeo_boolean_init_r1}
|
|
|
|
\end{CompactItemize}
|
|
|
|
|
|
\subsection{Detailed Description}
|
|
The class eo\-Boolean\-Init can be used in the STL apply function to easily generate random booleans with a specified bias.
|
|
|
|
|
|
|
|
Definition at line 110 of file eo\-Uniform\-Init.h.
|
|
|
|
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
|
\item
|
|
eo\-Uniform\-Init.h\end{CompactItemize}
|