Lines Matching refs:Arc
36 template <class Arc>
37 void Union(MutableFst<Arc> *fst1, const Fst<Arc> &fst2) { in Union()
38 typedef typename Arc::StateId StateId; in Union()
39 typedef typename Arc::Label Label; in Union()
40 typedef typename Arc::Weight Weight; in Union()
51 for (StateIterator< Fst<Arc> > siter(fst2); in Union()
57 for (ArcIterator< Fst<Arc> > aiter(fst2, s2); in Union()
60 Arc arc = aiter.Value(); in Union()
73 fst1->AddArc(start1, Arc(0, 0, Weight::One(), start2 + numstates1)); in Union()
77 fst1->AddArc(nstart1, Arc(0, 0, Weight::One(), start1)); in Union()
78 fst1->AddArc(nstart1, Arc(0, 0, Weight::One(), start2 + numstates1)); in Union()
86 template<class Arc>
87 void Union(RationalFst<Arc> *fst1, const Fst<Arc> &fst2) { in Union()
111 typedef A Arc; typedef