DataType - Type of data on the domain (input) set.public interface DiscreteDistribution<DataType> extends ComputableDistribution<DataType>
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<? extends DataType> |
getDomain()
Returns an object that allows an iteration through the domain
(x-axis, independent variable) of the Distribution
|
int |
getDomainSize()
Gets the size of the domain.
|
ProbabilityMassFunction<DataType> |
getProbabilityFunction()
Gets the distribution function associated with this Distribution,
either the PDF or PMF.
|
sample, sample, sampleIntoclonejava.util.Set<? extends DataType> getDomain()
int getDomainSize()
ProbabilityMassFunction<DataType> getProbabilityFunction()
ComputableDistributiongetProbabilityFunction in interface ComputableDistribution<DataType>