public class DiscretePStepGenerator extends StepGenerator
Modifier and Type | Field and Description |
---|---|
static double |
lnpmin |
mode, NMAX_STOCHASTIC, NP, random
Constructor and Description |
---|
DiscretePStepGenerator(BaseCalc.distribution_t mode,
RandomGenerator random) |
Modifier and Type | Method and Description |
---|---|
FixedPStepGenerator |
getGenerator(double lnp) |
protected int |
nGo(int n,
double lnp,
double r) |
_calculate_ngo, gaussianStep, nGo, poissonStep, versatile_ngo
public static final double lnpmin
public DiscretePStepGenerator(BaseCalc.distribution_t mode, RandomGenerator random)
public FixedPStepGenerator getGenerator(double lnp)
protected int nGo(int n, double lnp, double r)
nGo
in class StepGenerator
Copyright © 2016. All rights reserved.