|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectpsimjava.Erand
public class Erand
Exponential Randum Number Generator
Object-oriented simulation package, process interaction approach.
(C) J. M. Garrido. June 2000, 2003, 2004, 2007 Random number generator, Exponential distribution
| Constructor Summary | |
|---|---|
Erand(double emean)
Constructor for initializing the exponential random number generator. |
|
Erand(double emean,
long eseed)
Constructor for initializing the exponential random number generator. |
|
| Method Summary | |
|---|---|
double |
fdraw()
This function generates a random number using the exponential distribution with the mean value given in the constructor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Erand(double emean,
long eseed)
emean - double, the mean value of the distributioneseed - long, the seed value for selecting a random stream.public Erand(double emean)
emean - double, the mean value of the distribution| Method Detail |
|---|
public double fdraw()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||