Home | History | Annotate | Download | only in fst

Lines Matching refs:RmEpsilonFst

377 // Implementation of delayed RmEpsilonFst.
523 class RmEpsilonFst : public ImplToFst< RmEpsilonFstImpl<A> > {
525 friend class ArcIterator< RmEpsilonFst<A> >;
526 friend class StateIterator< RmEpsilonFst<A> >;
533 RmEpsilonFst(const Fst<A> &fst)
536 RmEpsilonFst(const Fst<A> &fst, const RmEpsilonFstOptions &opts)
540 RmEpsilonFst(const RmEpsilonFst<A> &fst, bool safe = false)
543 // Get a copy of this RmEpsilonFst. See Fst<>::Copy() for further doc.
544 virtual RmEpsilonFst<A> *Copy(bool safe = false) const {
545 return new RmEpsilonFst<A>(*this, safe);
558 void operator=(const RmEpsilonFst<A> &fst); // disallow
561 // Specialization for RmEpsilonFst.
563 class StateIterator< RmEpsilonFst<A> >
564 : public CacheStateIterator< RmEpsilonFst<A> > {
566 explicit StateIterator(const RmEpsilonFst<A> &fst)
567 : CacheStateIterator< RmEpsilonFst<A> >(fst, fst.GetImpl()) {}
571 // Specialization for RmEpsilonFst.
573 class ArcIterator< RmEpsilonFst<A> >
574 : public CacheArcIterator< RmEpsilonFst<A> > {
578 ArcIterator(const RmEpsilonFst<A> &fst, StateId s)
579 : CacheArcIterator< RmEpsilonFst<A> >(fst.GetImpl(), s) {
590 void RmEpsilonFst<A>::InitStateIterator(StateIteratorData<A> *data) const {
591 data->base = new StateIterator< RmEpsilonFst<A> >(*this);
596 typedef RmEpsilonFst<StdArc> StdRmEpsilonFst;