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 HMMState
feature
- the feature to be scoredpublic Senone getSenone()
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- the state to compare this one topublic int hashCode()
hashCode
in class java.lang.Object
public final boolean isEmitting()
isEmitting
in interface HMMState
public HMMStateArc[] getSuccessors()
getSuccessors
in interface HMMState
public boolean isExitState()
isExitState
in interface HMMState
public java.lang.String toString()
toString
in class java.lang.Object
public MixtureComponent[] getMixtureComponents()
HMMState
getMixtureComponents
in interface HMMState
public long getMixtureId()
HMMState
getMixtureId
in interface HMMState
public float[] getLogMixtureWeights()
getLogMixtureWeights
in interface HMMState