Likelihood
Class Likelihood.RateLikelihood

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

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

Stores the result of the likelihood calculations for a single site and a single rate class.

Version:
1.0
See Also:
Serialized Form

Method Summary
 double getLikelihood()
          Returns the likelihood.
 Likelihood.NodeLikelihood getNodeLikelihood(java.lang.String node)
          Returns the likelihood results for a given node on the tree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLikelihood

public double getLikelihood()
Returns the likelihood.

Returns:
The likelihood

getNodeLikelihood

public Likelihood.NodeLikelihood getNodeLikelihood(java.lang.String node)
                                            throws Likelihood.LikelihoodException
Returns the likelihood results for a given node on the tree

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