public class BoundedDistribution extends ContinuousDistribution
Modifier and Type | Field and Description |
---|---|
ContinuousDistribution |
baseDist |
double |
lowerBound |
boolean |
resampling |
double |
upperBound |
rng
Constructor and Description |
---|
BoundedDistribution(ContinuousDistribution baseDist) |
BoundedDistribution(ContinuousDistribution baseDist,
double lowerBound) |
BoundedDistribution(ContinuousDistribution baseDist,
double lowerBound,
double upperBound) |
BoundedDistribution(ContinuousDistribution baseDist,
double lowerBound,
double upperBound,
boolean resampling) |
Modifier and Type | Method and Description |
---|---|
double |
next()
Create random numbers
|
getDefaultRNG, getRandomNumberGenerator, reset
public final ContinuousDistribution baseDist
public final double lowerBound
public final double upperBound
public final boolean resampling
public BoundedDistribution(ContinuousDistribution baseDist, double lowerBound, double upperBound, boolean resampling)
public BoundedDistribution(ContinuousDistribution baseDist, double lowerBound, double upperBound)
public BoundedDistribution(ContinuousDistribution baseDist, double lowerBound)
public BoundedDistribution(ContinuousDistribution baseDist)
public double next()
ContinuousDistribution
next
in class ContinuousDistribution