@FunctionalInterface public interface Distribution extends Typed<Double>, Stringify
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Distribution.RandomNumbers
A random number generator based on a
Distribution. |
| Modifier and Type | Method and Description |
|---|---|
default FlDistribution |
fluentDistribution()
Provides access to the fluent distribution interface.
|
default Class<Double> |
getValueType()
Type is always double.
|
Distribution.RandomNumbers |
toRandomNumbers(long seedHint)
If this is a random number generator, returns itself;
otherwise returns a new random number generator.
|
default DataSource<Double> |
values(long seed)
Converts this distribution into a data source.
|
Distribution.RandomNumbers toRandomNumbers(long seedHint)
seedHint - generators created with the same seed should produce the same valuesdefault DataSource<Double> values(long seed)
seed - generators created with the same seed should produce the same valuesdefault FlDistribution fluentDistribution()
default Class<Double> getValueType()
getValueType in interface Typed<Double>Double.classCopyright © 2019. All rights reserved.