Home | History | Annotate | Download | only in fst

Lines Matching defs:Arc

45 template<class Arc>
46 void Closure(MutableFst<Arc> *fst, ClosureType closure_type) {
47 typedef typename Arc::StateId StateId;
48 typedef typename Arc::Label Label;
49 typedef typename Arc::Weight Weight;
53 for (StateIterator< MutableFst<Arc> > siter(*fst);
59 fst->AddArc(s, Arc(0, 0, final, start));
67 fst->AddArc(nstart, Arc(0, 0, Weight::One(), start));
75 template<class Arc>
76 void Closure(RationalFst<Arc> *fst, ClosureType closure_type) {
102 // input state or arc is assumed and exclusive of caching.
108 typedef A Arc;