public class StationaryDistribution extends Object
| Constructor and Description |
|---|
StationaryDistribution() |
| Modifier and Type | Method and Description |
|---|---|
static double[][][] |
getAllConditionalStationaryDistributions(double[] probs,
int alphabetSize)
This method returns the conditional stationary distributions, i.e.
|
static double[] |
getStationaryDistribution(double[] condProbs,
int alphabetSize)
This method return the stationary distribution.
|
public static double[] getStationaryDistribution(double[] condProbs,
int alphabetSize)
condProbs - an array containing all conditional probabilities;
condProbs[0] = P(a_1|b_1)
condProbs[1] = P(a_2|b_1)
alphabetSize - the number of symbols in the alphabetpublic static double[][][] getAllConditionalStationaryDistributions(double[] probs,
int alphabetSize)
probs - an array containing all (unconditional) probabilitiesalphabetSize - the number of symbols in the alphabetgetStationaryDistribution(double[], int)