edu.cmu.sphinx.linguist.acoustic
Class HMMStateArc

java.lang.Object
  extended byedu.cmu.sphinx.linguist.acoustic.HMMStateArc

public class HMMStateArc
extends java.lang.Object

Represents a transition to single state in an HMM All probabilities are maintained in linear base


Constructor Summary
HMMStateArc(HMMState hmmState, float probability)
          Constructs an HMMStateArc
 
Method Summary
 HMMState getHMMState()
          Gets the HMM associated with this state
 float getLogProbability()
          Gets log transition probability
 java.lang.String toString()
          returns a string represntation of the arc
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HMMStateArc

public HMMStateArc(HMMState hmmState,
                   float probability)
Constructs an HMMStateArc

Parameters:
hmmState - destination state for this arc
probability - the probability for this transition
Method Detail

getHMMState

public HMMState getHMMState()
Gets the HMM associated with this state

Returns:
the HMM

getLogProbability

public float getLogProbability()
Gets log transition probability

Returns:
the probability in the LogMath log domain

toString

public java.lang.String toString()
returns a string represntation of the arc