Home | History | Annotate | Download | only in lib

Lines Matching refs:Arc

31 // Typically, a = a.Reverse() and Arc = RevArc (e.g. for
33 // only form a left or right semiring, the output arc type must match
34 // the input arc type except having the reversed Weight type.
35 template<class Arc, class RevArc>
36 void Reverse(const Fst<Arc> &ifst, MutableFst<RevArc> *ofst) {
37 typedef typename Arc::StateId StateId;
38 typedef typename Arc::Weight Weight;
48 for (StateIterator< Fst<Arc> > siter(ifst);
64 for (ArcIterator< Fst<Arc> > aiter(ifst, is);
67 const Arc &iarc = aiter.Value();