|
SSJ V. 1.2.5. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectumontreal.iro.lecuyer.randvar.RandomVariateGen
umontreal.iro.lecuyer.randvar.BetaGen
umontreal.iro.lecuyer.randvar.BetaRejectionLoglogisticGen
public class BetaRejectionLoglogisticGen
Implements Beta random variate generators using the rejection method with log-logistic envelopes. The method draws the first two uniforms from the main stream and uses the auxiliary stream for the remaining uniforms, when more than two are needed (i.e., when rejection occurs).
Constructor Summary | |
---|---|
BetaRejectionLoglogisticGen(RandomStream s,
BetaDist dist)
Same as BetaRejectionLoglogisticGen (s, s, dist). |
|
BetaRejectionLoglogisticGen(RandomStream s,
RandomStream aux,
BetaDist dist)
Creates a new generator for the distribution dist, using stream s and auxiliary stream aux. |
Method Summary | |
---|---|
RandomStream |
getAuxStream()
Returns the auxiliary stream associated with that object. |
double |
nextDouble()
Generates a random number from the continuous distribution contained in this object. |
Methods inherited from class umontreal.iro.lecuyer.randvar.BetaGen |
---|
nextDouble |
Methods inherited from class umontreal.iro.lecuyer.randvar.RandomVariateGen |
---|
getDistribution, getStream, nextArrayOfDouble, setStream |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BetaRejectionLoglogisticGen(RandomStream s, RandomStream aux, BetaDist dist)
public BetaRejectionLoglogisticGen(RandomStream s, BetaDist dist)
BetaRejectionLoglogisticGen
(s, s, dist).
The auxiliary stream used will be the same as the main stream.
Method Detail |
---|
public RandomStream getAuxStream()
public double nextDouble()
RandomVariateGen
inverseF
method of the distribution object.
Alternative generating methods are provided in subclasses.
nextDouble
in class BetaGen
|
SSJ V. 1.2.5. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |