public class CDFPiecewiseLinearRandomGenerator extends CDFRandomGenerator
构造器和说明 |
---|
CDFPiecewiseLinearRandomGenerator(LoggedDiscreteCDF cdf) |
CDFPiecewiseLinearRandomGenerator(LoggedDiscreteCDF cdf,
long seed) |
限定符和类型 | 方法和说明 |
---|---|
long |
valueAt(double probability)
TODO This code assumes that the empirical minimum resp. maximum is the
epistomological minimum resp. maximum.
|
floorIndex, getDatumAt, getRankingAt, initializeTables, randomValue
public CDFPiecewiseLinearRandomGenerator(LoggedDiscreteCDF cdf)
cdf
- builds a CDFRandomValue engine around this
LoggedDiscreteCDF
, with a defaultly seeded RNGpublic CDFPiecewiseLinearRandomGenerator(LoggedDiscreteCDF cdf, long seed)
cdf
- builds a CDFRandomValue engine around this
LoggedDiscreteCDF
, with an explicitly seeded RNGseed
- the random number generator seedpublic long valueAt(double probability)
valueAt
在类中 CDFRandomGenerator
Copyright © 2009 The Apache Software Foundation