Home | History | Annotate | Download | only in script

Lines Matching full:opts

50 //  If the original opts.distance is not NULL, a new distance will be
55 const PruneOptions &opts) {
59 Weight weight_threshold = *(opts.weight_threshold.GetWeight<Weight>());
60 StateId state_threshold = opts.state_threshold;
63 if (opts.distance) {
64 distance = new vector<Weight>(opts.distance->size());
65 for (unsigned i = 0; i < opts.distance->size(); ++i) {
66 (*distance)[i] = *((*opts.distance)[i].GetWeight<Weight>());
72 opts.delta);
85 fst::PruneOptions<Arc, AnyArcFilter<Arc> > opts =
87 Prune(ofst, opts);
88 delete opts.distance;
100 fst::PruneOptions<Arc, AnyArcFilter<Arc> > opts =
102 Prune(ifst, ofst, opts);
103 delete opts.distance;
132 void Prune(MutableFstClass *fst, const PruneOptions &opts);
136 const PruneOptions &opts);