Searched refs:arc_selector (Results 1 - 4 of 4) sorted by relevance
/external/openfst/src/include/fst/script/ |
H A D | randgen.h | 43 if (opts.arc_selector == UNIFORM_ARC_SELECTOR) { 44 UniformArcSelector<Arc> arc_selector(seed); 46 ropts(arc_selector, opts.max_length, 49 } else if (opts.arc_selector == FAST_LOG_PROB_ARC_SELECTOR) { 50 FastLogProbArcSelector<Arc> arc_selector(seed); 52 ropts(arc_selector, opts.max_length, 56 LogProbArcSelector<Arc> arc_selector(seed); 58 ropts(arc_selector, opts.max_length,
|
H A D | randequivalent.h | 59 if (opts.arc_selector == UNIFORM_ARC_SELECTOR) { 60 UniformArcSelector<Arc> arc_selector(seed); 62 ropts(arc_selector, opts.max_length, opts.npath); 66 } else if (opts.arc_selector == FAST_LOG_PROB_ARC_SELECTOR) { 67 FastLogProbArcSelector<Arc> arc_selector(seed); 69 ropts(arc_selector, opts.max_length, opts.npath); 74 LogProbArcSelector<Arc> arc_selector(seed); 76 ropts(arc_selector, opts.max_length, opts.npath);
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | randgen.h | 100 const S &arc_selector; // How an arc is selected at a state member in struct:fst::RandGenOptions 109 : arc_selector(sel), max_length(len), npath(n), 139 size_t n = opts.arc_selector(ifst, opts.source);
|
/external/openfst/src/include/fst/ |
H A D | randgen.h | 169 ArcSampler(const Fst<A> &fst, const S &arc_selector, argument 172 arc_selector_(arc_selector), 244 ArcSampler(const Fst<A> &fst, const S &arc_selector, int max_length = INT_MAX) argument 246 arc_selector_(arc_selector), 588 const S &arc_selector; // How an arc is selected at a state member in struct:fst::RandGenOptions 597 : arc_selector(sel), 688 Sampler* arc_sampler = new Sampler(ifst, opts.arc_selector, opts.max_length);
|
Completed in 247 milliseconds