\section{boolean\_\-generator Class Reference}
\label{classboolean__generator}\index{boolean_generator@{boolean\_\-generator}}
The class boolean\_\-generator can be used in the STL generate function to easily generate random booleans with a specified bias.  


{\tt \#include $<$rnd\_\-generators.h$>$}

\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf boolean\_\-generator} (float \_\-bias=0.5, {\bf eo\-Rng} \&\_\-rng=rng)\label{classboolean__generator_a0}

\item 
bool {\bf operator()} (void)\label{classboolean__generator_a1}

\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
float {\bf bias}\label{classboolean__generator_r0}

\item 
{\bf eo\-Rng} \& {\bf gen}\label{classboolean__generator_r1}

\end{CompactItemize}


\subsection{Detailed Description}
The class boolean\_\-generator can be used in the STL generate function to easily generate random booleans with a specified bias. 



Definition at line 70 of file rnd\_\-generators.h.

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
rnd\_\-generators.h\end{CompactItemize}
