Package pal.substmodel
Interface TransitionProbability
- All Superinterfaces:
Cloneable,Serializable
For 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
Modifier and TypeMethodDescriptionintdoublegetTransitionProbability(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 Details
-
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()
-