Lines Matching refs:opts
348 RandGenFstImpl(const Fst<A> &fst, const RandGenFstOptions<S> &opts)
349 : CacheImpl<B>(opts),
351 arc_sampler_(opts.arc_sampler),
352 npath_(opts.npath),
353 weighted_(opts.weighted),
354 remove_total_weight_(opts.remove_total_weight),
521 RandGenFst(const Fst<A> &fst, const RandGenFstOptions<S> &opts)
522 : ImplToFst<Impl>(new Impl(fst, opts)) {}
682 const RandGenOptions<Selector> &opts) {
688 Sampler* arc_sampler = new Sampler(ifst, opts.arc_selector, opts.max_length);
690 opts.npath, opts.weighted,
691 opts.remove_total_weight);
693 if (opts.weighted) {
706 RandGenOptions< UniformArcSelector<IArc> > opts(uniform_selector);
707 RandGen(ifst, ofst, opts);