public class Probabilities.RateProbabilities
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
SquareMatrix |
getP(Branch b)
Gets the probability matrix for a single branch
|
double |
getP(Branch b,
java.lang.String startState,
java.lang.String endState)
Gets the probability of a single transition on a single branch
|
public SquareMatrix getP(Branch b)
b
- The branch to get the matrix forpublic double getP(Branch b, java.lang.String startState, java.lang.String endState)
b
- The branchstartState
- The start stateendState
- The end state