| Modifier and Type | Method and Description |
|---|---|
float[] |
calculateComponentScore(Data feature)
Gets the scores for each mixture component in this HMM state
|
boolean |
equals(java.lang.Object other)
Determines if two HMMStates are equal
|
HMM |
getHMM()
Gets the HMM associated with this state
|
float[] |
getLogMixtureWeights() |
MixtureComponent[] |
getMixtureComponents()
Returns the mixture components associated with this Gaussian
|
long |
getMixtureId()
Gets the id of the mixture
|
float |
getScore(Data feature)
Gets the score for this HMM state
|
Senone |
getSenone()
Gets the senone for this HMM state
|
int |
getState()
Gets the state
|
HMMStateArc[] |
getSuccessors()
Retrieves the state of successor states for this state
|
int |
hashCode()
Returns the hashcode for this state
|
boolean |
isEmitting()
Determines if this HMMState is an emitting state
|
boolean |
isExitState()
Determines if this state is an exit state of the HMM
|
java.lang.String |
toString()
returns a string representation of this object
|
public HMM getHMM()
public int getState()
public float getScore(Data feature)
public float[] calculateComponentScore(Data feature)
calculateComponentScore in interface HMMStatefeature - the feature to be scoredpublic Senone getSenone()
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - the state to compare this one topublic int hashCode()
hashCode in class java.lang.Objectpublic final boolean isEmitting()
isEmitting in interface HMMStatepublic HMMStateArc[] getSuccessors()
getSuccessors in interface HMMStatepublic boolean isExitState()
isExitState in interface HMMStatepublic java.lang.String toString()
toString in class java.lang.Objectpublic MixtureComponent[] getMixtureComponents()
HMMStategetMixtureComponents in interface HMMStatepublic long getMixtureId()
HMMStategetMixtureId in interface HMMStatepublic float[] getLogMixtureWeights()
getLogMixtureWeights in interface HMMState