public class SingleHMM
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
HMMSet |
hmmset |
float[][] |
trans |
int |
trIdx |
Constructor and Description |
---|
SingleHMM(int nbStates) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseName() |
java.lang.String |
getLeft() |
java.lang.String |
getName() |
int |
getNbEmittingStates() |
int |
getNstates() |
java.lang.String |
getRight() |
HMMState |
getState(int idx)
May return null if the state is non-emitting
|
float |
getTrans(int i,
int j) |
int |
getTransIdx() |
boolean |
isEmitting(int idx) |
void |
setName(java.lang.String s) |
void |
setState(int idx,
HMMState st) |
void |
setTrans(float[][] tr) |
void |
setTrans(int i) |
public float[][] trans
public int trIdx
public HMMSet hmmset
public void setName(java.lang.String s)
public java.lang.String getName()
public java.lang.String getBaseName()
public java.lang.String getLeft()
public java.lang.String getRight()
public void setState(int idx, HMMState st)
public boolean isEmitting(int idx)
public void setTrans(float[][] tr)
public void setTrans(int i)
public int getTransIdx()
public float getTrans(int i, int j)
public HMMState getState(int idx)
idx
- index of the statepublic int getNstates()
public int getNbEmittingStates()