Package pal.substmodel
Interface TransitionProbability
-
- All Superinterfaces:
java.lang.Cloneable,java.io.Serializable
public interface TransitionProbability extends java.lang.Cloneable, java.io.SerializableFor objects that represent a source of transition probabilities TransitionProbability.java,v 1.3 2000/08/08 22:58:29 alexi Exp $- Author:
- Matthew Goode
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetDimension()doublegetTransitionProbability(int startState, int endState)Returns the transition probability for changing from startState into endStatevoidsetDistance(double arc)compute transition probabilities for a expected distance using the prespecified rate matrixvoidsetTime(double start, double end)compute transition probabilities for a expected time span using the prespecified rate matrix
-
-
-
Method Detail
-
setDistance
void setDistance(double arc)
compute transition probabilities for a expected distance using the prespecified rate matrix- Parameters:
arc- expected distance
-
setTime
void setTime(double start, double end)compute transition probabilities for a expected time span using the prespecified rate matrix- Parameters:
start- start timeend- end time
-
getTransitionProbability
double getTransitionProbability(int startState, int endState)Returns the transition probability for changing from startState into endState- Parameters:
startState- - the starting stateendState- - the resulting state
-
getDimension
int getDimension()
-
-