Sautrela

edu.gtts.sautrela.wfsa
Interface NdWFSA<S extends State,Y extends Symbol,T extends Transition<S,Y>>

All Superinterfaces:
WFSA<S,Y,T>
All Known Implementing Classes:
CHMM, HMM, LMM, TreeModel

public interface NdWFSA<S extends State,Y extends Symbol,T extends Transition<S,Y>>
extends WFSA<S,Y,T>

Non-Deterministic Weighted Finite-State Automata

Author:
mpenagar

Nested Class Summary
 
Nested classes/interfaces inherited from interface edu.gtts.sautrela.wfsa.WFSA
WFSA.Factory
 
Method Summary
 T[] getTrans(S from, Y symbol)
          Returns all possible transitions for the given source state and symbol.
 
Methods inherited from interface edu.gtts.sautrela.wfsa.WFSA
dumpTrainCounts, getAlphabet, getFinProb, getIniState, getName, getRandomTrans, getTrans, incrementTrainCount, incrementTrainCount, initTrainCounts, toXML
 

Method Detail

getTrans

T[] getTrans(S from,
             Y symbol)
Returns all possible transitions for the given source state and symbol. The array should be ordered in descending probability (the most probable transition is the first and the less probable is the last).

Parameters:
from - the source State
symbol - the observed symbol
Returns:
an array containing all possible transitions. If there is no transition, an empty array must be returned.

Sautrela