Lines Matching refs:IntersectFst
58 class IntersectFst : public ComposeFst<A> {
70 IntersectFst(const Fst<A> &fst1, const Fst<A> &fst2,
76 FSTERROR() << "IntersectFst: input FSTs are not acceptors";
82 IntersectFst(const Fst<A> &fst1, const Fst<A> &fst2,
88 FSTERROR() << "IntersectFst: input FSTs are not acceptors";
94 IntersectFst(const IntersectFst<A> &fst, bool safe = false) :
97 // Get a copy of this IntersectFst. See Fst<>::Copy() for further doc.
98 virtual IntersectFst<A> *Copy(bool safe = false) const {
99 return new IntersectFst<A>(*this, safe);
104 // Specialization for IntersectFst.
106 class StateIterator< IntersectFst<A> >
109 explicit StateIterator(const IntersectFst<A> &fst)
114 // Specialization for IntersectFst.
116 class ArcIterator< IntersectFst<A> >
121 ArcIterator(const IntersectFst<A> &fst, StateId s)
126 typedef IntersectFst<StdArc> StdIntersectFst;
151 *ofst = IntersectFst<Arc>(ifst1, ifst2, nopts);
155 *ofst = IntersectFst<Arc>(ifst1, ifst2, iopts);
159 *ofst = IntersectFst<Arc>(ifst1, ifst2, iopts);
163 *ofst = IntersectFst<Arc>(ifst1, ifst2, iopts);