Lines Matching refs:Zero
58 bool fp = false, Weight w = Weight::Zero(),
100 Weight f_distance = Weight::Zero(); in SingleShortestPath()
111 if (opts.weight_threshold != Weight::Zero() || in SingleShortestPath()
126 distance->push_back(Weight::Zero()); in SingleShortestPath()
129 arc_parent.push_back(Arc(kNoLabel, kNoLabel, Weight::Zero(), kNoStateId)); in SingleShortestPath()
133 arc_parent.push_back(Arc(kNoLabel, kNoLabel, Weight::Zero(), kNoStateId)); in SingleShortestPath()
142 if (ifst.Final(s) != Weight::Zero()) { in SingleShortestPath()
160 distance->push_back(Weight::Zero()); in SingleShortestPath()
163 arc_parent.push_back(Arc(kNoLabel, kNoLabel, Weight::Zero(), in SingleShortestPath()
223 px.first < distance_.size() ? distance_[px.first] : Weight::Zero(); in operator()
225 py.first < distance_.size() ? distance_[py.first] : Weight::Zero(); in operator()
281 typename Arc::Weight weight_threshold = Arc::Weight::Zero(),
319 distance[ifst.Start()] == Weight::Zero() ||
329 pairs.push_back(Pair(kNoStateId, Weight::Zero()));
340 p.first < distance.size() ? distance[p.first] : Weight::Zero();
370 if (finalw != Weight::Zero()) {
445 Weight d = Weight::Zero(); in ShortestPath()
487 typename Arc::Weight weight_threshold = Arc::Weight::Zero(),