Home | History | Annotate | Download | only in fst

Lines Matching refs:FactorWeightFst

198       LOG(WARNING) << "FactorWeightFst: factor mode is set to 0: "
386 // FactorWeightFst takes as template parameter a FactorIterator as
399 class FactorWeightFst : public ImplToFst< FactorWeightFstImpl<A, F> > {
401 friend class ArcIterator< FactorWeightFst<A, F> >;
402 friend class StateIterator< FactorWeightFst<A, F> >;
410 FactorWeightFst(const Fst<A> &fst)
413 FactorWeightFst(const Fst<A> &fst, const FactorWeightOptions<A> &opts)
417 FactorWeightFst(const FactorWeightFst<A, F> &fst, bool copy)
420 // Get a copy of this FactorWeightFst. See Fst<>::Copy() for further doc.
421 virtual FactorWeightFst<A, F> *Copy(bool copy = false) const {
422 return new FactorWeightFst<A, F>(*this, copy);
435 void operator=(const FactorWeightFst<A, F> &fst); // Disallow
439 // Specialization for FactorWeightFst.
441 class StateIterator< FactorWeightFst<A, F> >
442 : public CacheStateIterator< FactorWeightFst<A, F> > {
444 explicit StateIterator(const FactorWeightFst<A, F> &fst)
445 : CacheStateIterator< FactorWeightFst<A, F> >(fst, fst.GetImpl()) {}
449 // Specialization for FactorWeightFst.
451 class ArcIterator< FactorWeightFst<A, F> >
452 : public CacheArcIterator< FactorWeightFst<A, F> > {
456 ArcIterator(const FactorWeightFst<A, F> &fst, StateId s)
457 : CacheArcIterator< FactorWeightFst<A, F> >(fst.GetImpl(), s) {
467 void FactorWeightFst<A, F>::InitStateIterator(StateIteratorData<A> *data) const
469 data->base = new StateIterator< FactorWeightFst<A, F> >(*this);