Lines Matching refs:opts
69 // state to each state in 'ifst'. 'opts' is used to specify options
81 ShortestPathOptions<Arc, Queue, ArcFilter> &opts) {
98 Queue *state_queue = opts.state_queue;
99 StateId source = opts.source == kNoStateId ? ifst.Start() : opts.source;
105 if (opts.nshortest != 1) {
111 if (opts.weight_threshold != Weight::Zero() ||
112 opts.state_threshold != kNoStateId) {
152 if (opts.first_path)
392 // 'ifst'. 'opts' is used to specify options such as the number of
415 ShortestPathOptions<Arc, Queue, ArcFilter> &opts) {
420 size_t n = opts.nshortest;
422 SingleShortestPath(ifst, ofst, distance, opts);
433 if (!opts.has_distance) {
434 ShortestDistance(ifst, distance, opts);
455 if (!opts.unique) {
456 NShortestPath(rfst, ofst, *distance, n, opts.delta,
457 opts.weight_threshold, opts.state_threshold);
460 DeterminizeFstOptions<ReverseArc> dopts(opts.delta);
462 NShortestPath(dfst, ofst, ddistance, n, opts.delta,
463 opts.weight_threshold, opts.state_threshold);
493 AnyArcFilter<Arc> > opts(&state_queue, arc_filter, n, unique, false,
496 ShortestPath(ifst, ofst, &distance, opts);