public interface TransitionProbability
extends java.lang.Cloneable, java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
int |
getDimension() |
double |
getTransitionProbability(int startState,
int endState)
Returns the transition probability for changing from
startState into endState
|
void |
setDistance(double arc)
compute transition probabilities for a expected distance
using the prespecified rate matrix
|
void |
setTime(double start,
double end)
compute transition probabilities for a expected time span
using the prespecified rate matrix
|
void setDistance(double arc)
arc - expected distancevoid setTime(double start,
double end)
start - start timeend - end timedouble getTransitionProbability(int startState,
int endState)
startState - - the starting stateendState - - the resulting stateint getDimension()