|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectstatalign.base.hmm.Hmm
public abstract class Hmm
The abstract class of Hidden Markov Models.
| Field Summary | |
|---|---|
double[] |
params
HMM model parameters. |
| Constructor Summary | |
|---|---|
Hmm()
|
|
| Method Summary | |
|---|---|
abstract int[] |
getEmitPatt2State()
Abstract function returning an array A that helps identify the state with some emission pattern. |
abstract int |
getEnd()
Returns the index of the end state. |
double |
getLogStationaryProb(int length)
Returns the logarithm of the stationary probability of generating a sequence of length characters under the HMM. |
abstract int |
getStart()
Returns the index of the start state. |
abstract int[][] |
getStateEmit()
Abstract function that specifies the emission of each state in the HMM in the form of an array A: A[s][i]=1 iff state i emits into sequence s (s=0 is the parent sequence; for pair-HMMs s=1 is the child sequence, for 3-seq HMMs s=1 is left and s=2 is right child). |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public double[] params
| Constructor Detail |
|---|
public Hmm()
| Method Detail |
|---|
public abstract int[][] getStateEmit()
public abstract int[] getEmitPatt2State()
public abstract int getStart()
public abstract int getEnd()
public double getLogStationaryProb(int length)
length characters under the HMM.
length - The length of the sequence whose stationary
probability is to be computed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||