Lines Matching full:weight
45 typedef typename Arc::Weight Weight;
57 Weight Final(StateId s) const { return states_[s]->final; }
65 void SetFinal(StateId s, Weight w) { states_[s]->final = w; }
168 typedef typename A::Weight Weight;
171 VectorState() : final(Weight::Zero()), niepsilons(0), noepsilons(0) {}
173 Weight final; // Final weight
198 typedef typename A::Weight Weight;
218 void SetFinal(StateId s, Weight w) {
219 Weight ow = BaseImpl::Final(s);
339 typename A::Weight final;
356 arc.weight.Read(strm);
378 // Converts a string into a weight.
560 arc.weight.Write(strm);
627 typedef typename A::Weight Weight;
661 if (oarc.weight != Weight::Zero() && oarc.weight != Weight::One())
682 if (arc.weight != Weight::Zero() && arc.weight != Weight::One()) {