|
Sautrela | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.gtts.sautrela.wfsa.models.DefaultTransition<S,Y>
public class DefaultTransition<S extends State,Y extends Symbol>
| Constructor Summary | |
|---|---|
DefaultTransition(S source,
Y symbol,
S destination,
double prob)
Creates a new instance of DefaultTransition |
|
| Method Summary | |
|---|---|
int |
compareTo(Transition<S,Y> t)
Inverse probability order is used when comparing two transitions. |
boolean |
equals(java.lang.Object o)
|
S |
getDestination()
Returns the destination State of this transition |
java.lang.String |
getName()
Returns the name of this transition. |
double |
getProbability()
Returns the logProb of this transition |
S |
getSource()
Returns the source State of this transition |
Y |
getSymbol()
Returns the emitted Symbol of this transition |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultTransition(S source,
Y symbol,
S destination,
double prob)
| Method Detail |
|---|
public S getSource()
TransitionState of this transition
getSource in interface Transition<S extends State,Y extends Symbol>State of this transitionpublic S getDestination()
TransitionState of this transition
getDestination in interface Transition<S extends State,Y extends Symbol>State of this transitionpublic Y getSymbol()
TransitionSymbol of this transition
getSymbol in interface Transition<S extends State,Y extends Symbol>Symbol of this transitionpublic double getProbability()
TransitionlogProb of this transition
getProbability in interface Transition<S extends State,Y extends Symbol>logProb of this transitionpublic java.lang.String getName()
Transitionname of this transition. The name of a
transition will be used at decoding stage
getName in interface Transition<S extends State,Y extends Symbol>name of this transitionpublic java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(Transition<S,Y> t)
compareTo in interface java.lang.Comparable<Transition<S extends State,Y extends Symbol>>public boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
Sautrela | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||