Home
last modified time | relevance | path

Searched refs:arc_selector (Results 1 – 4 of 4) sorted by relevance

/external/openfst/src/include/fst/script/
Drandgen.h43 if (opts.arc_selector == UNIFORM_ARC_SELECTOR) { in RandGen()
44 UniformArcSelector<Arc> arc_selector(seed); in RandGen()
46 ropts(arc_selector, opts.max_length, in RandGen()
49 } else if (opts.arc_selector == FAST_LOG_PROB_ARC_SELECTOR) { in RandGen()
50 FastLogProbArcSelector<Arc> arc_selector(seed); in RandGen()
52 ropts(arc_selector, opts.max_length, in RandGen()
56 LogProbArcSelector<Arc> arc_selector(seed); in RandGen()
58 ropts(arc_selector, opts.max_length, in RandGen()
Drandequivalent.h59 if (opts.arc_selector == UNIFORM_ARC_SELECTOR) { in RandEquivalent()
60 UniformArcSelector<Arc> arc_selector(seed); in RandEquivalent()
62 ropts(arc_selector, opts.max_length, opts.npath); in RandEquivalent()
66 } else if (opts.arc_selector == FAST_LOG_PROB_ARC_SELECTOR) { in RandEquivalent()
67 FastLogProbArcSelector<Arc> arc_selector(seed); in RandEquivalent()
69 ropts(arc_selector, opts.max_length, opts.npath); in RandEquivalent()
74 LogProbArcSelector<Arc> arc_selector(seed); in RandEquivalent()
76 ropts(arc_selector, opts.max_length, opts.npath); in RandEquivalent()
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Drandgen.h100 const S &arc_selector; // How an arc is selected at a state member
109 : arc_selector(sel), max_length(len), npath(n), in arc_selector() function
139 size_t n = opts.arc_selector(ifst, opts.source); in RandGen()
/external/openfst/src/include/fst/
Drandgen.h169 ArcSampler(const Fst<A> &fst, const S &arc_selector,
172 arc_selector_(arc_selector), in fst_()
244 ArcSampler(const Fst<A> &fst, const S &arc_selector, int max_length = INT_MAX)
246 arc_selector_(arc_selector), in fst_()
588 const S &arc_selector; // How an arc is selected at a state member
597 : arc_selector(sel), in arc_selector() function
688 Sampler* arc_sampler = new Sampler(ifst, opts.arc_selector, opts.max_length); in RandGen()