|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectpsimjava.Poisson
public class Poisson
Poisson Distribution random number generator
PsimJ Java package for OO simulationObject-oriented simulation package, process interaction approach.
(C) J. M. Garrido. June 2000, 2003, 2004, 2007
Object-oriented simulation package, process interaction approach
| Constructor Summary | |
|---|---|
Poisson(double mean)
Constructor to initialize a random number generator using a Poisson distribution. |
|
Poisson(double mean,
long seed)
Constructor to initialize a random number generator using a Poisson distribution. |
|
| Method Summary | |
|---|---|
long |
draw()
This function generates a random number using a Poisson distribution. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Poisson(double mean,
long seed)
pmean - the mean value of the distributionseed - long, the seed for selecting an appropriate random stream.public Poisson(double mean)
mean - double, the mean value of the distribution| Method Detail |
|---|
public long draw()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||