|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object Variate
public class Variate
Random number generation via an installable random number generator.
NOTE: This class is taken from
JSim.
Constructor Summary | |
---|---|
Variate(int i)
Constructs a random variate. |
Method Summary | |
---|---|
double |
gen()
Generate a random number in the interval 0 to 1. |
Double[] |
getParameters()
Get the parameters of the constuctor |
void |
incStream()
Increment the stream. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Variate(int i)
i
- stream numberMethod Detail |
---|
public void incStream()
public Double[] getParameters()
public double gen()
|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |