Randomly selects a transition using the uniform distribution. More...
|UniformArcSelector (int seed=time(0))|
|size_t||operator() (const Fst< A > &fst, StateId s) const|
Randomly selects a transition using the uniform distribution.
ARC SELECTORS - these function objects are used to select a random transition to take from an FST's state. They should return a number N s.t. 0 <= N <= NumArcs(). If N < NumArcs(), then the N-th transition is selected. If N == NumArcs(), then the final weight at that state is selected (i.e., the 'super-final' transition is selected). It can be assumed these will not be called unless either there are transitions leaving the state and/or the state is final.
|size_t fst::UniformArcSelector< A >::operator()||(||const Fst< A > &||fst,|