DataType
- Type of data emitted by the distributionpublic static class MaximumLikelihoodDistributionEstimator.DistributionEstimationTask<DataType> extends AbstractCloneableSerializable implements java.util.concurrent.Callable<Pair<java.lang.Double,ClosedFormComputableDistribution<DataType>>>
Constructor and Description |
---|
DistributionEstimationTask(ClosedFormComputableDistribution<DataType> distribution,
java.util.Collection<? extends DataType> data)
Creates a new instance of DistributionEstimationTask
|
Modifier and Type | Method and Description |
---|---|
Pair<java.lang.Double,ClosedFormComputableDistribution<DataType>> |
call() |
clone
public DistributionEstimationTask(ClosedFormComputableDistribution<DataType> distribution, java.util.Collection<? extends DataType> data)
distribution
- Distribution to estimatedata
- Data to use in the estimationpublic Pair<java.lang.Double,ClosedFormComputableDistribution<DataType>> call() throws java.lang.Exception
call
in interface java.util.concurrent.Callable<Pair<java.lang.Double,ClosedFormComputableDistribution<DataType>>>
java.lang.Exception