Home
last modified time | relevance | path

Searched refs:fdistance_ (Results 1 – 2 of 2) sorted by relevance

/external/openfst/src/include/fst/
Dprune.h72 : idistance_(idistance), fdistance_(fdistance) {} in PruneCompare()
76 x < fdistance_.size() ? fdistance_[x] : Weight::Zero()); in operator()
78 y < fdistance_.size() ? fdistance_[y] : Weight::Zero()); in operator()
84 const vector<Weight> &fdistance_; variable
/external/openfst/src/include/fst/extensions/pdt/
Dexpand.h359 queue_(state_table_, stack_, stack_length_, distance_, fdistance_) {
397 distance_(d), fdistance_(fd) {} in StackCompare()
408 Weight w1 = (s1 < distance_.size()) && (s1 < fdistance_.size()) ? in operator()
409 Times(distance_[s1], fdistance_[s1]) : Weight::Zero(); in operator()
410 Weight w2 = (s2 < distance_.size()) && (s2 < fdistance_.size()) ? in operator()
411 Times(distance_[s2], fdistance_[s2]) : Weight::Zero(); in operator()
427 const vector<Weight> &fdistance_; variable
472 vector<Weight> fdistance_; // Distance to final states in efst_/ofst variable
587 return s < fdistance_.size() ? fdistance_[s] : Weight::Zero(); in FinalDistance()
593 while (fdistance_.size() <= s) fdistance_.push_back(Weight::Zero()); in SetFinalDistance()
[all …]