Home | History | Annotate | Download | only in pdt

Lines Matching refs:Distance

51 // tree info 'Distance()', Parent(), and ArcParent() information keyed
57 // (b) the Distance() is from this 'start' state to the search state.
62 // (a) the Distance() is from the Parent() 'start' state to the
113 SearchData() : distance(Weight::Zero()),
118 Weight distance; // Distance to this state from PDT 'start' state
148 Weight Distance(SearchState s) const {
150 return data->distance;
153 Weight Distance(const ParenSpec &paren) const {
155 return data->distance;
180 data->distance = w;
185 data->distance = w;
524 // Computes the shortest distance stored in a recursive way. Each
555 Weight w = Times(sp_data_.Distance(s),
575 Weight w = Times(sp_data_.Distance(s), arc.weight);
595 // shortest distance to them.
602 Weight pdist = sp_data_.Distance(paren);
606 Weight dist = sp_data_.Distance(d);
626 Weight cpw = Times(w, Times(sp_data_.Distance(cpstate),
662 Weight dist = sp_data_.Distance(d);
683 // since the shortest distance is stored recursively.