Lines Matching defs:weight
1 // factor-weight.h
50 // A factor iterator takes as argument a weight w and returns a
156 Element(StateId s, Weight w) : state(s), weight(w) {}
159 Weight weight; // Residual weight
165 SetType("factor-weight");
193 ? e.weight
194 : (Weight) Times(e.weight, fst_->Final(e.state));
232 if (final_only_ && e.weight == Weight::One()) {
262 Weight w = Times(e.weight, arc.weight);
280 ? e.weight
281 : Times(e.weight, fst_->Final(e.state));
299 return x.state == y.state && x.weight == y.weight;
307 return static_cast<size_t>(x.state * kPrime + x.weight.Hash());
329 // defined above. The result of weight factoring is a transducer