gov.sandia.cognition.statistics.method
Class MaximumLikelihoodDistributionEstimator.DistributionEstimationTask<DataType>

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.statistics.method.MaximumLikelihoodDistributionEstimator.DistributionEstimationTask<DataType>
Type Parameters:
DataType - Type of data emitted by the distribution
All Implemented Interfaces:
CloneableSerializable, Serializable, Cloneable, Callable<Pair<Double,ClosedFormComputableDistribution<DataType>>>
Enclosing class:
MaximumLikelihoodDistributionEstimator<DataType>

public static class MaximumLikelihoodDistributionEstimator.DistributionEstimationTask<DataType>
extends AbstractCloneableSerializable
implements Callable<Pair<Double,ClosedFormComputableDistribution<DataType>>>

Estimates the optimal parameters of a single distribution

See Also:
Serialized Form

Constructor Summary
MaximumLikelihoodDistributionEstimator.DistributionEstimationTask(ClosedFormComputableDistribution<DataType> distribution, Collection<? extends DataType> data)
          Creates a new instance of DistributionEstimationTask
 
Method Summary
 Pair<Double,ClosedFormComputableDistribution<DataType>> call()
           
 
Methods inherited from class gov.sandia.cognition.util.AbstractCloneableSerializable
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MaximumLikelihoodDistributionEstimator.DistributionEstimationTask

public MaximumLikelihoodDistributionEstimator.DistributionEstimationTask(ClosedFormComputableDistribution<DataType> distribution,
                                                                         Collection<? extends DataType> data)
Creates a new instance of DistributionEstimationTask

Parameters:
distribution - Distribution to estimate
data - Data to use in the estimation
Method Detail

call

public Pair<Double,ClosedFormComputableDistribution<DataType>> call()
                                                             throws Exception
Specified by:
call in interface Callable<Pair<Double,ClosedFormComputableDistribution<DataType>>>
Throws:
Exception