Searched refs:startweight (Results 1 – 1 of 1) sorted by relevance
/external/openfst/src/include/fst/ |
D | reweight.h | 106 typename Arc::Weight startweight = fst->Start() < potential.size() ? in Reweight() local 108 if ((startweight != Weight::One()) && (startweight != Weight::Zero())) { in Reweight() 116 arc.weight = Times(startweight, arc.weight); in Reweight() 119 Divide(Weight::One(), startweight, DIVIDE_RIGHT), in Reweight() 124 fst->SetFinal(state, Times(startweight, fst->Final(state))); in Reweight() 126 fst->SetFinal(state, Times(Divide(Weight::One(), startweight, in Reweight() 131 Weight w = type == REWEIGHT_TO_INITIAL ? startweight : in Reweight() 132 Divide(Weight::One(), startweight, DIVIDE_RIGHT); in Reweight()
|