Lines Matching defs:ClosureFst
104 class ClosureFst : public RationalFst<A> {
110 ClosureFst(const Fst<A> &fst, ClosureType closure_type) {
114 ClosureFst(const Fst<A> &fst, const ClosureFstOptions &opts)
120 ClosureFst(const ClosureFst<A> &fst, bool safe = false)
123 // Get a copy of this ClosureFst. See Fst<>::Copy() for further doc.
124 virtual ClosureFst<A> *Copy(bool safe = false) const {
125 return new ClosureFst<A>(*this, safe);
130 // Specialization for ClosureFst.
132 class StateIterator< ClosureFst<A> > : public StateIterator< RationalFst<A> > {
134 explicit StateIterator(const ClosureFst<A> &fst)
139 // Specialization for ClosureFst.
141 class ArcIterator< ClosureFst<A> > : public ArcIterator< RationalFst<A> > {
145 ArcIterator(const ClosureFst<A> &fst, StateId s)
151 typedef ClosureFst<StdArc> StdClosureFst;