Lines Matching refs:RandGenFst
509 class RandGenFst : public ImplToFst< RandGenFstImpl<A, B, S> > {
511 friend class ArcIterator< RandGenFst<A, B, S> >;
512 friend class StateIterator< RandGenFst<A, B, S> >;
521 RandGenFst(const Fst<A> &fst, const RandGenFstOptions<S> &opts) in RandGenFst() function
525 RandGenFst(const RandGenFst<A, B, S> &fst, bool safe = false)
529 virtual RandGenFst<A, B, S> *Copy(bool safe = false) const {
530 return new RandGenFst<A, B, S>(*this, safe);
543 void operator=(const RandGenFst<A, B, S> &fst); // Disallow
550 class StateIterator< RandGenFst<A, B, S> >
551 : public CacheStateIterator< RandGenFst<A, B, S> > {
553 explicit StateIterator(const RandGenFst<A, B, S> &fst) in StateIterator()
554 : CacheStateIterator< RandGenFst<A, B, S> >(fst, fst.GetImpl()) {} in StateIterator()
563 class ArcIterator< RandGenFst<A, B, S> >
564 : public CacheArcIterator< RandGenFst<A, B, S> > {
568 ArcIterator(const RandGenFst<A, B, S> &fst, StateId s) in ArcIterator()
569 : CacheArcIterator< RandGenFst<A, B, S> >(fst.GetImpl(), s) { in ArcIterator()
580 void RandGenFst<A, B, S>::InitStateIterator(StateIteratorData<B> *data) const in InitStateIterator()
582 data->base = new StateIterator< RandGenFst<A, B, S> >(*this); in InitStateIterator()
684 typedef RandGenFst<IArc, OArc, Sampler> RandFst; in RandGen()