OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:startweight
(Results
1 - 1
of
1
) sorted by null
/external/openfst/src/include/fst/
reweight.h
106
typename Arc::Weight
startweight
= fst->Start() < potential.size() ?
local
108
if ((
startweight
!= Weight::One()) && (
startweight
!= Weight::Zero())) {
116
arc.weight = Times(
startweight
, arc.weight);
119
Divide(Weight::One(),
startweight
, DIVIDE_RIGHT),
124
fst->SetFinal(state, Times(
startweight
, fst->Final(state)));
126
fst->SetFinal(state, Times(Divide(Weight::One(),
startweight
,
131
Weight w = type == REWEIGHT_TO_INITIAL ?
startweight
:
132
Divide(Weight::One(),
startweight
, DIVIDE_RIGHT);
Completed in 38 milliseconds