DataType
- Type of data generated by the DistributionDistributionType
- Type of Distribution this is the sufficient statistics of@PublicationReference(author="Wikipedia", title="Sufficient statistic", type=WebPage, year=2011, url="http://en.wikipedia.org/wiki/Sufficient_statistic") public interface SufficientStatistic<DataType,DistributionType> extends Factory<DistributionType>, CloneableSerializable
Modifier and Type | Method and Description |
---|---|
void |
create(DistributionType distribution)
Modifies the given distribution with the parameters indicated by the
sufficient statistics
|
long |
getCount()
Gets the count
|
void |
update(DataType value)
Updates the sufficient statistics from the given value
|
void |
update(java.lang.Iterable<? extends DataType> values)
Updates the sufficient statistics from the given set of values
|
clone
long getCount()
void create(DistributionType distribution)
distribution
- Distribution to modify by side effectvoid update(DataType value)
value
- Value to update the sufficient statisticsvoid update(java.lang.Iterable<? extends DataType> values)
values
- Values to update the sufficient statistics