public static class PoissonDistribution.Parameterizer extends AbstractDistribution.Parameterizer
Modifier and Type | Field and Description |
---|---|
(package private) int |
n
Number of trials.
|
static OptionID |
N_ID
Number of trials.
|
(package private) double |
p
Success probability.
|
static OptionID |
PROB_ID
Success probability.
|
LOCATION_ID, RANDOM_ID, rnd, SCALE_ID, SHAPE_ID
Constructor and Description |
---|
Parameterizer() |
Modifier and Type | Method and Description |
---|---|
protected PoissonDistribution |
makeInstance()
Make an instance after successful configuration.
|
protected void |
makeOptions(Parameterization config)
Add all options.
|
configure, make
public static final OptionID N_ID
public static final OptionID PROB_ID
int n
double p
protected void makeOptions(Parameterization config)
AbstractParameterizer
makeOptions
in class AbstractDistribution.Parameterizer
config
- Parameterization to add options to.protected PoissonDistribution makeInstance()
AbstractParameterizer
makeInstance
in class AbstractDistribution.Parameterizer
Copyright © 2019 ELKI Development Team. License information.