Searched refs:distance_ (Results 1 – 3 of 3) sorted by relevance
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
D | shortest-distance.h | 65 : fst_(fst.Copy()), distance_(distance), state_queue_(opts.state_queue), in ShortestDistanceState() 68 distance_->clear(); in ShortestDistanceState() 79 vector<Weight> *distance_; variable 106 distance_->clear(); in ShortestDistance() 114 while ((StateId)distance_->size() <= source) { in ShortestDistance() 115 distance_->push_back(Weight::Zero()); in ShortestDistance() 124 (*distance_)[source] = Weight::One(); in ShortestDistance() 133 while ((StateId)distance_->size() <= s) { in ShortestDistance() 134 distance_->push_back(Weight::Zero()); in ShortestDistance() 147 while ((StateId)distance_->size() <= arc.nextstate) { in ShortestDistance() [all …]
|
D | rmepsilon.h | 65 : fst_(fst), distance_(distance), sd_state_(fst_, distance, opts, true) { in RmEpsilonState() 117 vector<Weight> *distance_; variable 155 arc.weight = Times((*distance_)[state], arc.weight); in Expand() 182 final_ = Plus(final_, Times((*distance_)[state], fst_.Final(state))); in Expand() 336 &distance_, in RmEpsilonFstImpl() 400 vector<Weight> distance_; variable
|
D | shortest-path.h | 176 : pairs_(pairs), distance_(distance), superfinal_(sfinal), delta_(d) {} in ShortestPathCompare() 181 Weight wx = Times(distance_[px.first], px.second); in operator() 182 Weight wy = Times(distance_[py.first], py.second); in operator() 197 const vector<Weight> &distance_; variable
|