\section{Ran\-Int  Class Reference}
\label{class_RanInt}\index{RanInt@{Ran\-Int}}
{\tt \#include $<$randomgenerator.h$>$}

Inheritance diagram for Ran\-Int\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=51pt]{class_RanInt_inherit_graph}
\end{center}
\end{figure}
Collaboration diagram for Ran\-Int:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=51pt]{class_RanInt_coll_graph}
\end{center}
\end{figure}
\subsection*{Public Methods}
\begin{CompactItemize}
\item 
{\bf Ran\-Int} (int minimum=0, int maximum=1)
\item 
{\bf $\sim$Ran\-Int} ()
\item 
int {\bf Get} () const
\item 
int {\bf Get} (int minimum, int maximum) const
\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
int {\bf min}
\item 
int {\bf max}
\end{CompactItemize}


\subsection{Constructor \& Destructor Documentation}
\index{RanInt@{Ran\-Int}!RanInt@{RanInt}}
\index{RanInt@{RanInt}!RanInt@{Ran\-Int}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Ran\-Int::Ran\-Int (int {\em minimum} = 0, int {\em maximum} = 1)}\label{class_RanInt_a0}




Definition at line 139 of file randomgenerator.C.\footnotesize\begin{verbatim}00140   { 
00141     if(minimum <= maximum)
00142       { min = minimum; max = maximum; }
00143     else
00144       { min = maximum; max = minimum; }
00145 \end{verbatim}\normalsize 
\index{RanInt@{Ran\-Int}!~RanInt@{$\sim$RanInt}}
\index{~RanInt@{$\sim$RanInt}!RanInt@{Ran\-Int}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}Ran\-Int::$\sim$Ran\-Int ()\hspace{0.3cm}{\tt  [inline]}}\label{class_RanInt_a1}




Definition at line 109 of file randomgenerator.h.\footnotesize\begin{verbatim}00109                           {}
00110 \end{verbatim}\normalsize 


\subsection{Member Function Documentation}
\index{RanInt@{Ran\-Int}!Get@{Get}}
\index{Get@{Get}!RanInt@{Ran\-Int}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Ran\-Int::Get (int {\em minimum}, int {\em maximum}) const}\label{class_RanInt_a3}




Definition at line 150 of file randomgenerator.C.\footnotesize\begin{verbatim}00151   { return( minimum + (int) (((double) (maximum-minimum+1)) * GetReal()) ); }
00152 \end{verbatim}\normalsize 
\index{RanInt@{Ran\-Int}!Get@{Get}}
\index{Get@{Get}!RanInt@{Ran\-Int}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Ran\-Int::Get () const}\label{class_RanInt_a2}




Definition at line 147 of file randomgenerator.C.

Referenced by Ran\-Word::Get(), and Molecule::set\-Random().\footnotesize\begin{verbatim}00148   { return( min + (int) (((double) (max-min+1)) * GetReal()) ); }
00149 \end{verbatim}\normalsize 


\subsection{Member Data Documentation}
\index{RanInt@{Ran\-Int}!max@{max}}
\index{max@{max}!RanInt@{Ran\-Int}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Ran\-Int::max\hspace{0.3cm}{\tt  [private]}}\label{class_RanInt_o1}




Definition at line 116 of file randomgenerator.h.\index{RanInt@{Ran\-Int}!min@{min}}
\index{min@{min}!RanInt@{Ran\-Int}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Ran\-Int::min\hspace{0.3cm}{\tt  [private]}}\label{class_RanInt_o0}




Definition at line 116 of file randomgenerator.h.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
{\bf randomgenerator.h}\item 
{\bf randomgenerator.C}\end{CompactItemize}
