Home | History | Annotate | Download | only in lib

Lines Matching refs:Final

239   // return final weight of state (kInfWeight means state is not final)
240 Weight Final(StateId s) {
247 if (fst->Final(fst_state) != Weight::Zero() && stack.Depth() == 0)
248 SetFinal(s, fst->Final(fst_state));
252 return CacheImpl<A>::Final(s);
305 // if state is final, pop up stack
307 if (fst->Final(fst_state) != Weight::Zero() && stack.Depth()) {
313 AddArc(s, A(0, 0, fst->Final(fst_state), nextstate));
565 virtual Weight Final(StateId s) const {
566 return impl_->Final(s);