public class BetaSymmetricalBestGen extends BetaSymmetricalGen

(1 +
).
| Constructor and Description |
|---|
BetaSymmetricalBestGen(RandomStream s1,
BetaSymmetricalDist dist)
Creates a new generator for the distribution dist,
using only one stream s1.
|
BetaSymmetricalBestGen(RandomStream s1,
double alpha)
Creates a symmetrical beta random variate generator with
parameter α = alpha, using only one stream s1
to generate U1, U2, and S as given in equation.
|
BetaSymmetricalBestGen(RandomStream s1,
RandomStream s2,
RandomStream s3,
BetaSymmetricalDist dist)
Creates a new generator for the distribution dist,
using stream s1 to generate U1, stream s2 to generate U2
and stream s3 to generate S as given in equation.
|
BetaSymmetricalBestGen(RandomStream s1,
RandomStream s2,
RandomStream s3,
double alpha)
Creates a symmetrical beta random variate generator with
parameter α = alpha, using stream s1 to generate
U1, stream s2 to generate U2 and stream s3 to
generate S, as given in equation.
|
| Modifier and Type | Method and Description |
|---|---|
RandomStream |
getStream2()
Returns stream s2 associated with this object.
|
RandomStream |
getStream3()
Returns stream s3 associated with this object.
|
double |
nextDouble()
Generates a random number from the continuous distribution
contained in this object.
|
static double |
nextDouble(RandomStream s,
double alpha)
Generates a random number using Devroye's one-liner method with
only one stream s.
|
static double |
nextDouble(RandomStream s1,
RandomStream s2,
RandomStream s3,
double alpha)
Generates a random number using Devroye's one-liner method.
|
getA, getAlpha, getB, getBeta, nextDoublegetDistribution, getStream, nextArrayOfDouble, setStreampublic BetaSymmetricalBestGen(RandomStream s1, RandomStream s2, RandomStream s3, double alpha)
public BetaSymmetricalBestGen(RandomStream s1, double alpha)
public BetaSymmetricalBestGen(RandomStream s1, RandomStream s2, RandomStream s3, BetaSymmetricalDist dist)
public BetaSymmetricalBestGen(RandomStream s1, BetaSymmetricalDist dist)
public static double nextDouble(RandomStream s1, RandomStream s2, RandomStream s3, double alpha)
public static double nextDouble(RandomStream s, double alpha)
public double nextDouble()
RandomVariateGeninverseF
method of the distribution object.
Alternative generating methods are provided in subclasses.nextDouble in class RandomVariateGenpublic RandomStream getStream2()
public RandomStream getStream3()
To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.