Lines Matching defs:FactorWeightFst
199 LOG(WARNING) << "FactorWeightFst: factor mode is set to 0: "
387 // FactorWeightFst takes as template parameter a FactorIterator as
400 class FactorWeightFst : public ImplToFst< FactorWeightFstImpl<A, F> > {
402 friend class ArcIterator< FactorWeightFst<A, F> >;
403 friend class StateIterator< FactorWeightFst<A, F> >;
411 FactorWeightFst(const Fst<A> &fst)
414 FactorWeightFst(const Fst<A> &fst, const FactorWeightOptions<A> &opts)
418 FactorWeightFst(const FactorWeightFst<A, F> &fst, bool copy)
421 // Get a copy of this FactorWeightFst. See Fst<>::Copy() for further doc.
422 virtual FactorWeightFst<A, F> *Copy(bool copy = false) const {
423 return new FactorWeightFst<A, F>(*this, copy);
436 void operator=(const FactorWeightFst<A, F> &fst); // Disallow
440 // Specialization for FactorWeightFst.
442 class StateIterator< FactorWeightFst<A, F> >
443 : public CacheStateIterator< FactorWeightFst<A, F> > {
445 explicit StateIterator(const FactorWeightFst<A, F> &fst)
446 : CacheStateIterator< FactorWeightFst<A, F> >(fst, fst.GetImpl()) {}
450 // Specialization for FactorWeightFst.
452 class ArcIterator< FactorWeightFst<A, F> >
453 : public CacheArcIterator< FactorWeightFst<A, F> > {
457 ArcIterator(const FactorWeightFst<A, F> &fst, StateId s)
458 : CacheArcIterator< FactorWeightFst<A, F> >(fst.GetImpl(), s) {
468 void FactorWeightFst<A, F>::InitStateIterator(StateIteratorData<A> *data) const
470 data->base = new StateIterator< FactorWeightFst<A, F> >(*this);