Lines Matching refs:Arc
55 template <class Arc, class ArcFilter>
56 void Prune(MutableFst<Arc> *fst, in Prune()
57 const PruneOptions<Arc, ArcFilter> &opts) { in Prune() argument
58 typedef typename Arc::Weight Weight; in Prune()
59 typedef typename Arc::StateId StateId; in Prune()
97 for (MutableArcIterator< MutableFst<Arc> > it(fst, state); in Prune()
100 Arc arc = it.Value(); in Prune()
127 template <class Arc>
128 void Prune(MutableFst<Arc> *fst, typename Arc::Weight threshold) { in Prune()
129 PruneOptions<Arc, AnyArcFilter<Arc> > opts(threshold, AnyArcFilter<Arc>()); in Prune()
140 template <class Arc, class ArcFilter>
141 void Prune(const Fst<Arc> &ifst, in Prune()
142 MutableFst<Arc> *ofst, in Prune()
143 const PruneOptions<Arc, ArcFilter> &opts) { in Prune() argument
144 typedef typename Arc::Weight Weight; in Prune()
145 typedef typename Arc::StateId StateId; in Prune()
177 for (StateIterator< Fst<Arc> > sit(ifst); in Prune()
196 for (ArcIterator< Fst<Arc> > ait(ifst, state); in Prune()
199 Arc arc = ait.Value(); in Prune()
237 template <class Arc>
238 void Prune(const Fst<Arc> &ifst, in Prune()
239 MutableFst<Arc> *ofst, in Prune()
240 typename Arc::Weight threshold) { in Prune()
241 PruneOptions<Arc, AnyArcFilter<Arc> > opts(threshold, AnyArcFilter<Arc>()); in Prune()