edu.cmu.sphinx.linguist.acoustic.tiedstate
Class SenoneSequence

java.lang.Object
  extended byedu.cmu.sphinx.linguist.acoustic.tiedstate.SenoneSequence
All Implemented Interfaces:
java.io.Serializable

public class SenoneSequence
extends java.lang.Object
implements java.io.Serializable

Contains an ordered list of senones.

See Also:
Serialized Form

Constructor Summary
SenoneSequence(Senone[] sequence)
          Constructs a senone sequence
 
Method Summary
static SenoneSequence create(java.util.List senoneList)
          a factory method that creates a SeononeSequence from a list of senones.
 void dump(java.lang.String msg)
          Dumps this senone sequence
 boolean equals(java.lang.Object o)
          Returns true if the objects are equal
 Senone[] getSenones()
          Returns the ordered set of senones for this sequence
 int hashCode()
          Returns the hashCode for this object
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SenoneSequence

public SenoneSequence(Senone[] sequence)
Constructs a senone sequence

Parameters:
sequence - the ordered set of senones for this sequence
Method Detail

create

public static SenoneSequence create(java.util.List senoneList)
a factory method that creates a SeononeSequence from a list of senones.

Parameters:
senoneList - the list of senones
Returns:
a composite senone

getSenones

public Senone[] getSenones()
Returns the ordered set of senones for this sequence

Returns:
the ordered set of senones for this sequence

hashCode

public int hashCode()
Returns the hashCode for this object

Returns:
the object hashcode

equals

public boolean equals(java.lang.Object o)
Returns true if the objects are equal

Returns:
true if the objects are equal

dump

public void dump(java.lang.String msg)
Dumps this senone sequence

Parameters:
msg - a string annotation