|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RateMatrix
abstract base class for all rate matrices
Method Summary | |
---|---|
int |
getDimension()
|
double[] |
getEquilibriumFrequencies()
|
double |
getEquilibriumFrequency(int i)
|
double[][] |
getRelativeRates()
|
SequenceType |
getSequenceType()
Get the data type of this rate matrix |
void |
getTransitionProbabilities(double[][] probabilityStore)
A utility method for speed, transfers trans prob information quickly into store. |
double |
getTransitionProbability(int fromState,
int toState)
|
String |
getUniqueName()
|
void |
setDistance(double distance)
Sets the distance (such as time/branch length) used when calculating the probabilities. |
Method Detail |
---|
String getUniqueName()
int getDimension()
double[] getEquilibriumFrequencies()
double getEquilibriumFrequency(int i)
SequenceType getSequenceType()
double[][] getRelativeRates()
double getTransitionProbability(int fromState, int toState)
fromState
- The state from which we are startingtoState
- The resulting state
void getTransitionProbabilities(double[][] probabilityStore)
void setDistance(double distance)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |