|Constructor and Description|
Construct a constant Bernoulli distribution with the specified success probability.
|Modifier and Type||Method and Description|
Returns the constant success probability for this distribution.
label, maxOutcome, numDimensions, probability, variance
log2Probability, minOutcome, outcome, probability
cumulativeProbability, cumulativeProbabilityGreater, cumulativeProbabilityLess, entropy, log2Probability, mean
public BernoulliConstant(double successProbability)
successProbability- Probability of success for this Bernoulli distribution.
IllegalArgumentException- If the specified probability is not between 0.0 and 1.0 inclusive.