Home | History | Annotate | Download | only in fst

Lines Matching refs:potential

34 // Reweight FST according to the potentials defined by the POTENTIAL
39 // An arc of weight w, with an origin state of potential p and
40 // destination state of potential q, is reweighted by p\wq when
45 const vector<typename Arc::Weight> &potential,
71 if (state == potential.size())
73 typename Arc::Weight weight = potential[state];
79 if (arc.nextstate >= potential.size())
81 typename Arc::Weight nextweight = potential[arc.nextstate];
106 typename Arc::Weight startweight = fst->Start() < potential.size() ?
107 potential[fst->Start()] : Weight::Zero();