Likelihood
Class Likelihood.NodeLikelihood

java.lang.Object
  extended by Likelihood.Likelihood.NodeLikelihood
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
Likelihood

public static class Likelihood.NodeLikelihood
extends java.lang.Object
implements java.io.Serializable

Stores the results of a likelihood claculation for a single node in a tree. That is the partial likelihoods for each possible state.

Version:
1.0
See Also:
Serialized Form

Method Summary
 java.lang.Double getLikelihood(java.lang.String state)
          Returns the partial likelihood for a given state
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLikelihood

public java.lang.Double getLikelihood(java.lang.String state)
                               throws Likelihood.LikelihoodException
Returns the partial likelihood for a given state

Parameters:
state - The state to return the partial likelihood for
Returns:
The partial likelihood for the given state
Throws:
Likelihood.LikelihoodException - Thrown if no likelihood has been calculated for the given state