X - the discrete random variable (domain) typepublic interface ProbabilityMassFunction<X>
extends java.io.Serializable
fX(x) = Pr(X = x) = Pr({s ∈ S : X(s) = x})
| Modifier and Type | Method and Description |
|---|---|
double |
evaluate(X x)
Compute the probability mass for a discrete realization x.
|
double evaluate(X x)
x - a realizationpmf(x)