Lines Matching refs:IntersectFst
41 class IntersectFst : public ComposeFst<A> {
49 IntersectFst(const Fst<A> &fst1, const Fst<A> &fst2)
52 LOG(FATAL) << "IntersectFst: arguments not both acceptors";
60 IntersectFst(const Fst<A> &fst1, const Fst<A> &fst2,
64 LOG(FATAL) << "IntersectFst: arguments not both acceptors";
71 IntersectFst(const IntersectFst<A> &fst) : ComposeFst<A>(fst) {}
73 virtual IntersectFst<A> *Copy() const {
74 return new IntersectFst<A>(*this);
79 // Specialization for IntersectFst.
81 class StateIterator< IntersectFst<A> >
84 explicit StateIterator(const IntersectFst<A> &fst)
89 // Specialization for IntersectFst.
91 class ArcIterator< IntersectFst<A> >
96 ArcIterator(const IntersectFst<A> &fst, StateId s)
101 typedef IntersectFst<StdArc> StdIntersectFst;
123 *ofst = IntersectFst<Arc>(ifst1, ifst2, nopts);