gov.sandia.cognition.learning.algorithm.hmm
Class ParallelHiddenMarkovModel.LogLikelihoodTask

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.learning.algorithm.hmm.ParallelHiddenMarkovModel.LogLikelihoodTask
All Implemented Interfaces:
CloneableSerializable, Serializable, Cloneable, Callable<Double>
Enclosing class:
ParallelHiddenMarkovModel<ObservationType>

protected class ParallelHiddenMarkovModel.LogLikelihoodTask
extends AbstractCloneableSerializable
implements Callable<Double>

Computes the log-likelihood of a particular data sequence

See Also:
Serialized Form

Field Summary
protected  Collection<? extends ObservationType> data
          Data to compute the log-likelihood of
 
Constructor Summary
ParallelHiddenMarkovModel.LogLikelihoodTask(Collection<? extends ObservationType> data)
          Creates a new instance of LogLikelihoodTask
 
Method Summary
 Double 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
 

Field Detail

data

protected Collection<? extends ObservationType> data
Data to compute the log-likelihood of

Constructor Detail

ParallelHiddenMarkovModel.LogLikelihoodTask

public ParallelHiddenMarkovModel.LogLikelihoodTask(Collection<? extends ObservationType> data)
Creates a new instance of LogLikelihoodTask

Parameters:
data - Data to compute the log-likelihood of
Method Detail

call

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