Lines Matching refs:weight
39 // An arc of weight w, with an origin state of potential p and
73 typename Arc::Weight weight = potential[state];
74 if (weight != Weight::Zero()) {
85 arc.weight = Divide(Times(arc.weight, nextweight), weight,
88 arc.weight = Divide(Times(weight, arc.weight), nextweight,
93 fst->SetFinal(state, Divide(fst->Final(state), weight, DIVIDE_LEFT));
96 fst->SetFinal(state, Times(weight, fst->Final(state)));
116 arc.weight = Times(startweight, arc.weight);
118 arc.weight = Times(
120 arc.weight);