|
GridSim 5.0 beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
ObjectVariate
HyperExponential
public class HyperExponential
Generate a hyperexponentially distributed random number mean mu
and standard deviation sigma (sigma > mu) using Morse's two-stage
hyperexponential distribution.
NOTE: This class is taken from
JSim.
| Constructor Summary | |
|---|---|
HyperExponential(double mu,
double sigma,
int i)
Constructs a Hyper-Geometric random variable. |
|
| Method Summary | |
|---|---|
double |
gen()
Generate a hyperexponentially distirbuted random number. |
Double[] |
getParameters()
Get the parameters of the constructor |
| Methods inherited from class Variate |
|---|
incStream |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HyperExponential(double mu,
double sigma,
int i)
mu - meansigma - standard deviationi - stream| Method Detail |
|---|
public Double[] getParameters()
getParameters in class Variatepublic double gen()
gen in class Variate
|
GridSim 5.0 beta | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||