Home
last modified time | relevance | path

Searched refs:weight_threshold (Results 1 – 18 of 18) sorted by relevance

/external/openfst/src/include/fst/script/
Dshortest-path.h38 const WeightClass weight_threshold; member
48 weight_threshold(w), state_threshold(s) { } in ShortestDistanceOptions()
66 typename Arc::Weight weight_threshold = in ShortestPath() local
67 *(opts.weight_threshold.GetWeight<Weight>()); in ShortestPath()
77 weight_threshold, opts.state_threshold); in ShortestPath()
89 weight_threshold, opts.state_threshold); in ShortestPath()
101 weight_threshold, opts.state_threshold); in ShortestPath()
113 weight_threshold, opts.state_threshold); in ShortestPath()
125 weight_threshold, opts.state_threshold); in ShortestPath()
137 weight_threshold, opts.state_threshold); in ShortestPath()
[all …]
Dprune.h33 WeightClass weight_threshold; member
40 : weight_threshold(w), in weight_threshold() function
59 Weight weight_threshold = *(opts.weight_threshold.GetWeight<Weight>()); in ConvertPruneOptions() local
71 weight_threshold, state_threshold, AnyArcFilter<A>(), distance, in ConvertPruneOptions()
140 const WeightClass &weight_threshold,
145 void Prune(MutableFstClass *fst, const WeightClass& weight_threshold,
Ddisambiguate.h30 WeightClass weight_threshold; member
38 : delta(d), weight_threshold(w), state_threshold(n), in delta()
53 detargs.weight_threshold = in Disambiguate()
54 *(opts.weight_threshold.GetWeight<typename Arc::Weight>()); in Disambiguate()
Ddeterminize.h30 WeightClass weight_threshold; member
38 : delta(d), weight_threshold(w), state_threshold(n), in delta()
53 detargs.weight_threshold = in Determinize()
54 *(opts.weight_threshold.GetWeight<typename Arc::Weight>()); in Determinize()
Drmepsilon.h46 WeightClass weight_threshold; member
54 connect(c), weight_threshold(w), state_threshold(n) { } in ShortestDistanceOptions()
72 *(opts.weight_threshold.GetWeight<Weight>()); in RmEpsilonHelper()
197 const WeightClass &weight_threshold =
/external/openfst/src/script/
Dprune.cc43 const WeightClass& weight_threshold, in Prune() argument
45 PruneArgs3 args(ifst, ofst, weight_threshold, state_threshold, delta); in Prune()
51 void Prune(MutableFstClass *fst, const WeightClass& weight_threshold, in Prune() argument
53 PruneArgs4 args(fst, weight_threshold, state_threshold, delta); in Prune()
Dshortest-path.cc35 WeightClass weight_threshold, int64 state_threshold) { in ShortestPath() argument
38 ShortestPathArgs2 args(ifst, ofst, n, unique, first_path, weight_threshold, in ShortestPath()
Drmepsilon.cc34 const WeightClass &weight_threshold, in RmEpsilon() argument
36 RmEpsilonArgs2 args(fst, connect, weight_threshold, state_threshold, delta); in RmEpsilon()
/external/openfst/src/include/fst/
Dprune.h41 Weight weight_threshold; variable
54 : weight_threshold(w), in weight_threshold() function
136 Weight limit = Times((*fdistance)[fst->Start()], opts.weight_threshold); in Prune()
198 typename Arc::Weight weight_threshold,
201 PruneOptions<Arc, AnyArcFilter<Arc> > opts(weight_threshold, state_threshold,
237 if (less(opts.weight_threshold, Weight::One()) || in Prune()
258 opts.weight_threshold); in Prune()
329 typename Arc::Weight weight_threshold,
332 PruneOptions<Arc, AnyArcFilter<Arc> > opts(weight_threshold, state_threshold,
Dshortest-path.h53 Weight weight_threshold; // pruning weight threshold. member
62 weight_threshold(w), state_threshold(s) {}
111 if (opts.weight_threshold != Weight::Zero() || in SingleShortestPath()
281 typename Arc::Weight weight_threshold = Arc::Weight::Zero(),
320 less(weight_threshold, Weight::One()) ||
332 Weight limit = Times(distance[ifst.Start()], weight_threshold);
457 opts.weight_threshold, opts.state_threshold); in ShortestPath()
463 opts.weight_threshold, opts.state_threshold); in ShortestPath()
487 typename Arc::Weight weight_threshold = Arc::Weight::Zero(),
494 kDelta, first_path, weight_threshold,
Drmepsilon.h56 Weight weight_threshold; // Pruning weight threshold. variable
64 connect(c), weight_threshold(w), state_threshold(n) {}
321 if (opts.weight_threshold != Weight::Zero() || in RmEpsilon()
323 Prune(fst, opts.weight_threshold, opts.state_threshold); in RmEpsilon()
324 if (opts.connect && (opts.weight_threshold == Weight::Zero() || in RmEpsilon()
351 typename Arc::Weight weight_threshold = Arc::Weight::Zero(),
361 opts(&state_queue, delta, connect, weight_threshold, state_threshold);
Ddeterminize.h949 Weight weight_threshold; // Pruning weight threshold. member
956 : delta(d), weight_threshold(w), state_threshold(n), in delta()
992 if (opts.weight_threshold != Weight::Zero() ||
998 PruneOptions< Arc, AnyArcFilter<Arc> > popts(opts.weight_threshold,
1005 Prune(ofst, opts.weight_threshold, opts.state_threshold);
/external/openfst/src/bin/
Dfstprune.cc53 WeightClass weight_threshold = FLAGS_weight.empty() ? in main() local
57 s::PruneOptions opts(weight_threshold, FLAGS_nstate, 0, FLAGS_delta); in main()
Dfstrmepsilon.cc57 WeightClass weight_threshold = FLAGS_weight.empty() ? in main() local
81 weight_threshold, FLAGS_nstate); in main()
Dfstshortestpath.cc57 WeightClass weight_threshold = FLAGS_weight.empty() ? in main() local
85 false, weight_threshold, FLAGS_nstate); in main()
/external/openfst/src/extensions/pdt/
Dpdtexpand.cc60 s::WeightClass weight_threshold = FLAGS_weight.empty() ? in main() local
66 FLAGS_connect, FLAGS_keep_parentheses, weight_threshold)); in main()
/external/openfst/src/include/fst/extensions/pdt/
Dpdtscript.h87 WeightClass weight_threshold; member
91 : connect(c), keep_parentheses(k), weight_threshold(w) {} in connect()
112 *(args->arg4.weight_threshold.GetWeight<typename Arc::Weight>()))); in PdtExpand()
Dexpand.h918 typename Arc::Weight weight_threshold; member
922 : connect(c), keep_parentheses(k), weight_threshold(w) {} in connect()
945 if (opts.weight_threshold == Weight::Zero()) { in Expand()
950 pruned_expand.Expand(ofst, opts.weight_threshold); in Expand()