Home
last modified time | relevance | path

Searched refs:Final (Results 1 – 25 of 138) sorted by relevance

123456

/external/openfst/src/include/fst/
Dreweight.h93 fst->SetFinal(state, Divide(fst->Final(state), weight, DIVIDE_LEFT)); in Reweight()
96 fst->SetFinal(state, Times(weight, fst->Final(state))); in Reweight()
103 fst->SetFinal(state, Times(Weight::Zero(), fst->Final(state))); in Reweight()
124 fst->SetFinal(state, Times(startweight, fst->Final(state))); in Reweight()
128 fst->Final(state))); in Reweight()
Dstate-map.h112 fst->SetFinal(s, mapper->Final(s)); in StateMap()
166 ofst->SetFinal(s, mapper->Final(s)); in StateMap()
245 Weight Final(StateId s) { in Final() function
247 SetFinal(s, mapper_->Final(s)); in Final()
248 return CacheImpl<B>::Final(s); in Final()
419 Weight Final(StateId s) const { return fst_.Final(s); } in Final() function
457 Weight Final(StateId s) const { return fst_.Final(s); } in Final() function
541 Weight Final(StateId s) const { return fst_.Final(s); } in Final() function
Drmfinalepsilon.h54 if (fst->Final(s) != Weight::Zero()) { in RmFinalEpsilon()
73 Weight w(fst->Final(s)); in RmFinalEpsilon()
82 w = Plus(Times(fst->Final(arc.nextstate), arc.weight), w); in RmFinalEpsilon()
Darc-map.h144 A final_arc = (*mapper)(A(0, 0, fst->Final(s), kNoStateId)); in ArcMap()
155 A final_arc = (*mapper)(A(0, 0, fst->Final(s), kNoStateId)); in ArcMap()
173 A final_arc = (*mapper)(A(0, 0, fst->Final(s), kNoStateId)); in ArcMap()
250 B final_arc = (*mapper)(A(0, 0, ifst.Final(s), kNoStateId)); in ArcMap()
259 B final_arc = (*mapper)(A(0, 0, ifst.Final(s), kNoStateId)); in ArcMap()
275 B final_arc = (*mapper)(A(0, 0, ifst.Final(s), kNoStateId)); in ArcMap()
375 Weight Final(StateId s) { in Final() function
380 B final_arc = (*mapper_)(A(0, 0, fst_->Final(FindIState(s)), in Final()
393 B final_arc = (*mapper_)(A(0, 0, fst_->Final(FindIState(s)), in Final()
408 return CacheImpl<B>::Final(s); in Final()
[all …]
Drandgen.h57 if (fst.Final(s) != Weight::Zero()) in operator()
85 sum += exp(-to_log_weight_(fst.Final(s)).Value()); in operator()
126 double sum = to_log_weight_(accumulator->Sum(fst.Final(s), &aiter, 0, in operator()
192 fst_.Final(rstate.state_id) == Weight::Zero()) || in Sample()
271 fst_.Final(rstate.state_id) == Weight::Zero()) || in Sample()
398 Weight Final(StateId s) { in Final() function
402 return CacheImpl<B>::Final(s); in Final()
627 if (ifst_->Final(arc.nextstate) == Weight::Zero()) { in TreeArc()
647 if (p != kNoStateId && ifst_->Final(s) == Weight::Zero()) in FinishState()
Dpush.h54 sum = Plus(sum, Times(distance[s], fst.Final(s))); in ComputeTotalWeight()
72 Divide(fst->Final(sit.Value()), w, DIVIDE_RIGHT)); in RemoveWeight()
83 fst->SetFinal(start, Divide(fst->Final(start), w, DIVIDE_LEFT)); in RemoveWeight()
Dstatesort.h66 Weight final1 = fst->Final(s1), final2 = Weight::Zero(); in StateSort()
75 final2 = fst->Final(s2); in StateSort()
Dequal.h56 Weight final1 = fst1.Final(s1);
57 Weight final2 = fst2.Final(s2);
Dedit-fst.h125 Weight Final(StateId s, const WrappedFstT *wrapped) const { in Final() function
130 wrapped->Final(s) : edits_.Final(it->second); in Final()
170 Weight old_weight = Final(s, wrapped); in SetFinal()
303 edits_.SetFinal(new_internal_id, wrapped->Final(s)); in GetEditableInternalId()
459 Weight Final(StateId s) const { in Final() function
460 return data_->Final(s, wrapped_); in Final()
Dconcat.h80 fst1->SetFinal(s1, fst2.Final(s2)); in Concat()
93 Weight final = fst1->Final(s1); in Concat()
145 Weight final = fst1.Final(s1); in Concat()
/external/srec/tools/thirdparty/OpenFst/fst/lib/
Dreweight.h82 Divide(fst->Final(state), potential[state], DIVIDE_LEFT)); in Reweight()
84 fst->SetFinal(state, Times(potential[state], fst->Final(state))); in Reweight()
104 fst->SetFinal(state, Times(potential[state], fst->Final(state))); in Reweight()
108 fst->Final(state))); in Reweight()
Drmfinalepsilon.h48 if (fst->Final(s) != Weight::Zero()) { in RmFinalEpsilon()
67 Weight w(fst->Final(s)); in RmFinalEpsilon()
76 w = Plus(Times(fst->Final(arc.nextstate), arc.weight), w); in RmFinalEpsilon()
Dmap.h107 A final_arc = (*mapper)(A(0, 0, fst->Final(s), kNoStateId)); in Map()
114 A final_arc = (*mapper)(A(0, 0, fst->Final(s), kNoStateId)); in Map()
132 A final_arc = (*mapper)(A(0, 0, fst->Final(s), kNoStateId)); in Map()
190 B final_arc = (*mapper)(A(0, 0, ifst.Final(s), kNoStateId)); in Map()
196 B final_arc = (*mapper)(A(0, 0, ifst.Final(s), kNoStateId)); in Map()
212 B final_arc = (*mapper)(A(0, 0, ifst.Final(s), kNoStateId)); in Map()
301 Weight Final(StateId s) { in Final() function
306 B final_arc = (*mapper_)(A(0, 0, fst_->Final(FindIState(s)), in Final()
316 B final_arc = (*mapper_)(A(0, 0, fst_->Final(FindIState(s)), in Final()
331 return CacheImpl<B>::Final(s); in Final()
[all …]
Drmepsilon.h75 const Weight &Final() const { return final_; } in Final() function
182 final_ = Plus(final_, Times((*distance_)[state], fst_.Final(state))); in Expand()
250 fst->SetFinal(state, rmeps_state.Final()); in RmEpsilon()
356 Weight Final(StateId s) { in Final() function
360 return CacheImpl<A>::Final(s); in Final()
389 SetFinal(s, rmeps_state_.Final()); in Expand()
451 virtual Weight Final(StateId s) const { return impl_->Final(s); } in Final() function
Darcsort.h116 Weight Final(StateId s) { in Final() function
118 SetFinal(s, fst_->Final(s)); in Final()
119 return CacheImpl<A>::Final(s); in Final()
209 virtual Weight Final(StateId s) const { return impl_->Final(s); } in Final() function
Dfactor-weight.h188 Weight Final(StateId s) { in Final() function
194 : (Weight) Times(e.weight, fst_->Final(e.state)); in Final()
201 return CacheImpl<A>::Final(s); in Final()
278 (fst_->Final(e.state) != Weight::Zero())) { in Expand()
281 : Times(e.weight, fst_->Final(e.state)); in Expand()
362 virtual Weight Final(StateId s) const { return impl_->Final(s); } in Final() function
Dreplace.h240 Weight Final(StateId s) { in Final() function
247 if (fst->Final(fst_state) != Weight::Zero() && stack.Depth() == 0) in Final()
248 SetFinal(s, fst->Final(fst_state)); in Final()
252 return CacheImpl<A>::Final(s); in Final()
307 if (fst->Final(fst_state) != Weight::Zero() && stack.Depth()) { in Expand()
313 AddArc(s, A(0, 0, fst->Final(fst_state), nextstate)); in Expand()
565 virtual Weight Final(StateId s) const { in Final() function
566 return impl_->Final(s); in Final()
Drandgen.h51 if (fst.Final(s) != Weight::Zero()) in operator()
77 sum += exp(-fst.Final(s).Value()); in operator()
136 ifst.Final(opts.source) == Weight::Zero()) // Non-coaccessible in RandGen()
Dcomplement.h76 Weight Final(StateId s) const { in Final() function
77 if (s == 0 || fst_->Final(s - 1) == Weight::Zero()) in Final()
134 virtual Weight Final(StateId s) const { return impl_->Final(s); } in Final() function
Dstatesort.h57 Weight final1 = fst->Final(s1), final2 = Weight::Zero(); in StateSort()
66 final2 = fst->Final(s2); in StateSort()
Dsynchronize.h106 Weight Final(StateId s) { in Final() function
109 Weight w = e.state == kNoStateId ? Weight::One() : fst_->Final(e.state); in Final()
115 return CacheImpl<A>::Final(s); in Final()
230 Weight w = e.state == kNoStateId ? Weight::One() : fst_->Final(e.state); in Expand()
345 virtual Weight Final(StateId s) const { return impl_->Final(s); } in Final() function
Dequal.h53 Weight final1 = fst1.Final(s1); in Equal()
54 Weight final2 = fst2.Final(s2); in Equal()
/external/clang/test/SemaTemplate/
Dclass-template-ctor-initializer.cpp46 class Final : public Derived<Base> { class
52 Final final; in main()
/external/chromium/base/
Dsha1_portable.cc42 void Final();
118 void SecureHashAlgorithm::Final() { in Final() function in base::SecureHashAlgorithm
210 sha.Final(); in SHA1HashBytes()
/external/openfst/src/include/fst/extensions/pdt/
Dreplace.h101 if (ifst->Final(is) != Weight::Zero()) { in Replace()
103 ofst->SetFinal(os, ifst->Final(is)); in Replace()
104 fst_final[fst_id].push_back(make_pair(os, ifst->Final(is))); in Replace()

123456