SourcePro® API Reference Guide

 
List of all members | Public Member Functions
RWRandInterface Class Referenceabstract

Abstract base class for RWTRand. More...

#include <rw/rand.h>

Inheritance diagram for RWRandInterface:
RWTRand< Generator > RWTRandBinomial< Generator > RWTRandExponential< Generator > RWTRandGamma< Generator > RWTRandNormal< Generator > RWTRandPoisson< Generator > RWTRandUniform< Generator >

Public Member Functions

virtual double operator() ()=0
 

Detailed Description

Abstract base class for RWTRand.

Member Function Documentation

virtual double RWRandInterface::operator() ( )
pure virtual

Function call operator. Defined by derived classes to return a random number from the appropriate probability distribution.

Implemented in RWTRandBinomial< Generator >, RWTRandPoisson< Generator >, RWTRandGamma< Generator >, RWTRandExponential< Generator >, RWTRandNormal< Generator >, and RWTRandUniform< Generator >.

Copyright © 2023 Rogue Wave Software, Inc., a Perforce company. All Rights Reserved.