public abstract class AbstractDistribution extends java.lang.Object implements Distribution
Modifier and Type | Class and Description |
---|---|
static class |
AbstractDistribution.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Random |
random
Random source.
|
Constructor and Description |
---|
AbstractDistribution(java.util.Random rnd)
Constructor.
|
AbstractDistribution(RandomFactory rnd)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
nextRandom()
Generate a new random value
|
public AbstractDistribution(RandomFactory rnd)
rnd
- Random sourcepublic AbstractDistribution(java.util.Random rnd)
rnd
- Random sourcepublic double nextRandom()
Distribution
nextRandom
in interface Distribution
Copyright © 2019 ELKI Development Team. License information.