HomeSort by relevance Sort by last modified time
    Searched defs:Final (Results 26 - 50 of 52) sorted by null

12 3

  /external/srec/tools/thirdparty/OpenFst/fst/lib/
relabel.h 239 Weight Final(StateId s) {
241 SetFinal(s, fst_->Final(s));
243 return CacheImpl<A>::Final(s);
360 virtual Weight Final(StateId s) const { return impl_->Final(s); }
cache.h 50 // final weight even if the state is non-final to mark it as
166 state->final = w;
205 // Is the final weight of state s cached?
228 Weight Final(StateId s) const {
230 return state->final;
312 static const uint32 kCacheFinal = 0x0001; // Final weight has been cached
353 CacheState() : final(Weight::Zero()), flags(0), ref_count(0) {}
361 Weight final; // Final weigh member in struct:fst::CacheState
    [all...]
factor-weight.h 37 bool final_only; // only factor final weights when true
188 Weight Final(StateId s) {
194 : (Weight) Times(e.weight, fst_->Final(e.state));
201 return CacheImpl<A>::Final(s);
278 (fst_->Final(e.state) != Weight::Zero())) {
281 : Times(e.weight, fst_->Final(e.state));
362 virtual Weight Final(StateId s) const { return impl_->Final(s); }
rmepsilon.h 68 // Compute arcs and final weight for state 's'
74 // Returns final weight of expanded state.
75 const Weight &Final() const { return final_; }
130 Weight final_; // Final weight of state being expanded
182 final_ = Plus(final_, Times((*distance_)[state], fst_.Final(state)));
250 fst->SetFinal(state, rmeps_state.Final());
356 Weight Final(StateId s) {
360 return CacheImpl<A>::Final(s);
389 SetFinal(s, rmeps_state_.Final());
451 virtual Weight Final(StateId s) const { return impl_->Final(s);
    [all...]
synchronize.h 106 Weight Final(StateId s) {
109 Weight w = e.state == kNoStateId ? Weight::One() : fst_->Final(e.state);
115 return CacheImpl<A>::Final(s);
230 Weight w = e.state == kNoStateId ? Weight::One() : fst_->Final(e.state);
345 virtual Weight Final(StateId s) const { return impl_->Final(s); }
determinize.h 157 Weight Final(StateId s) {
159 Weight final = ComputeFinal(s); local
160 this->SetFinal(s, final);
162 return CacheImpl<A>::Final(s);
253 Weight final = Weight::Zero(); local
258 final = Plus(final, Times(element.weight,
259 fst_->Final(element.state_id)));
261 return final;
496 virtual Weight ComputeFinal(StateId s) { return from_fst_->Final(s);
    [all...]
map.h 28 // This determines how final weights are mapped.
31 // A final weight is mapped into a final weight. An error
35 // A final weight is mapped to an arc to the superfinal state
36 // when the result cannot be represented as a final weight.
40 // A final weight is mapped to an arc to the superfinal state
41 // unless the result can be represented as a final weight of weight
47 // Mapper Interface - class determinies how arcs and final weights
54 // // Specifies final action the mapper requires (see above).
55 // // The mapper will be passed final weights as arcs of th
    [all...]
replace.h 239 // return final weight of state (kInfWeight means state is not final)
240 Weight Final(StateId s) {
247 if (fst->Final(fst_state) != Weight::Zero() && stack.Depth() == 0)
248 SetFinal(s, fst->Final(fst_state));
252 return CacheImpl<A>::Final(s);
305 // if state is final, pop up stack
307 if (fst->Final(fst_state) != Weight::Zero() && stack.Depth()) {
313 AddArc(s, A(0, 0, fst->Final(fst_state), nextstate));
565 virtual Weight Final(StateId s) const
    [all...]
vector-fst.h 51 Weight Final(StateId s) const { return states_[s]->final; }
59 void SetFinal(StateId s, Weight w) { states_[s]->final = w; }
165 VectorState() : final(Weight::Zero()), niepsilons(0), noepsilons(0) {}
167 Weight final; // Final weight member in struct:fst::VectorState
214 Weight ow = this->Final(s);
334 BaseImpl::SetFinal(s, fst.Final(s));
362 state->final.Read(strm);
431 state->final.Write(strm)
    [all...]
compose.h 137 Weight Final(StateId s) {
139 Weight final = ComputeFinal(s); local
140 this->SetFinal(s, final);
142 return CacheImpl<A>::Final(s);
481 bool finala = fsta->Final(sa) != Weight::Zero();
633 Weight final = Times(ComposeFstImplBase<A>::fst1_->Final(tuple.state_id1), local
634 ComposeFstImplBase<A>::fst2_->Final(tuple.state_id2));
635 return final;
709 virtual Weight Final(StateId s) const { return impl_->Final(s);
    [all...]
  /external/openfst/src/include/fst/
const-fst.h 80 Weight Final(StateId s) const { return states_[s].final; }
113 Weight final; // Final weight member in struct:fst::ConstFstImpl::State
118 State() : final(Weight::Zero()), niepsilons(0), noepsilons(0) {}
182 states_[s].final = fst.Final(s);
385 state.final = fst.Final(siter.Value());
factor-weight.h 47 uint32 mode; // factor arc weights and/or final weights
48 Label final_ilabel; // input label of arc created when factoring final w's
49 Label final_olabel; // output label of arc created when factoring final w's
199 << "factoring neither arc weights nor final weights.";
230 Weight Final(StateId s) {
236 : (Weight) Times(e.weight, fst_->Final(e.state));
243 return CacheImpl<A>::Final(s);
331 (fst_->Final(e.state) != Weight::Zero()))) {
334 : Times(e.weight, fst_->Final(e.state));
371 uint32 mode_; // factoring arc and/or final weight
    [all...]
rmepsilon.h 83 // Compute arcs and final weight for state 's'
89 // Returns final weight of expanded state.
90 const Weight &Final() const { return final_; }
147 Weight final_; // Final weight of state being expanded
208 final_ = Plus(final_, Times((*distance_)[state], fst_.Final(state)));
300 fst->SetFinal(state, rmeps_state.Final());
439 Weight Final(StateId s) {
443 return CacheImpl<A>::Final(s);
482 SetFinal(s, rmeps_state_.Final());
compose.h 160 Weight Final(StateId s) {
162 Weight final = ComputeFinal(s); local
163 SetFinal(s, final);
165 return CacheImpl<A>::Final(s);
356 Weight final1 = internal::Final(fst1_, s1);
361 Weight final2 = internal::Final(fst2_, s2);
edit-fst.h 125 Weight Final(StateId s, const WrappedFstT *wrapped) const {
130 wrapped->Final(s) : edits_.Final(it->second);
168 // Sets the final state for this fst.
170 Weight old_weight = Final(s, wrapped);
201 // grab the final arc associated with this state in edits_
300 // copy the final weight
303 edits_.SetFinal(new_internal_id, wrapped->Final(s));
321 // A mapping from external state id's to final state weights assigned to
322 // those states. The states in this map are *only* those whose final weigh
    [all...]
randgen.h 40 // transition is selected. If N == NumArcs(), then the final weight at
41 // that state is selected (i.e., the 'super-final' transition is selected).
43 // are transitions leaving the state and/or the state is final.
57 if (fst.Final(s) != Weight::Zero())
85 sum += exp(-to_log_weight_(fst.Final(s)).Value());
126 double sum = to_log_weight_(accumulator->Sum(fst.Final(s), &aiter, 0,
186 // 'super-final') transitions leaving that state or if the
192 fst_.Final(rstate.state_id) == Weight::Zero()) ||
212 // If N == NumArcs(s), then the final weight at that state is
213 // specified (i.e., the 'super-final' transition is specified)
    [all...]
vector-fst.h 57 Weight Final(StateId s) const { return states_[s]->final; }
65 void SetFinal(StateId s, Weight w) { states_[s]->final = w; }
171 VectorState() : final(Weight::Zero()), niepsilons(0), noepsilons(0) {}
173 Weight final; // Final weight member in struct:fst::VectorState
219 Weight ow = BaseImpl::Final(s);
307 BaseImpl::SetFinal(s, fst.Final(s));
339 typename A::Weight final; local
340 if (!final.Read(strm)) break
    [all...]
arc-map.h 39 // This determines how final weights are mapped.
41 // A final weight is mapped into a final weight. An error
45 // A final weight is mapped to an arc to the superfinal state
46 // when the result cannot be represented as a final weight.
50 // A final weight is mapped to an arc to the superfinal state
51 // unless the result can be represented as a final weight of weight
70 // ArcMapper Interface - class determinies how arcs and final weights
81 // // Specifies final action the mapper requires (see above).
82 // // The mapper will be passed final weights as arcs of th
    [all...]
cache.h 93 // you must set the final weight even if the state is non-final to
221 state->final = w;
372 // Is the final weight of state s cached?
394 Weight Final(StateId s) const {
396 return state->final;
473 static const uint32 kCacheFinal = 0x0001; // Final weight has been cached
616 CacheState() : final(Weight::Zero()), flags(0), ref_count(0) {}
624 Weight final; // Final weigh member in struct:fst::CacheState
    [all...]
compact-fst.h 51 // Compactor Interface - class determinies how arcs and final weights
54 // Final weights are treated as transitions to the superfinal state,
62 // non-Zero() final weight as a transition). A typical example is a
117 // transitions (including superfinal transition when 's' is final), are
126 // In both cases, the superfinal transitons (when 's' is final, i.e.
127 // 'Final(s) != Weight::Zero()') is stored first.
226 if (fst.Final(s) != Weight::Zero()) ++nfinals;
248 if (fst.Final(s) != Weight::Zero())
250 fst.Final(s), kNoStateId));
288 // For strings, allow implicit final weight
    [all...]
determinize.h 332 Label subsequential_label; // Label used for residual final output
409 Weight Final(StateId s) {
411 Weight final = ComputeFinal(s); local
412 SetFinal(s, final);
414 return CacheImpl<A>::Final(s);
537 Weight final = Weight::Zero(); local
542 final = Plus(final, Times(element.weight,
543 GetFst().Final(element.state_id)));
544 if (!final.Member()
    [all...]
fst.h 172 virtual Weight Final(StateId) const = 0; // State's final weight
540 // General case - requires non-abstract, 'final' methods. Use for inlining.
542 typename F::Arc::Weight Final(const F &fst, typename F::Arc::StateId s) {
543 return fst.F::Final(s);
564 typename A::Weight Final(const Fst<A> &fst, typename A::StateId s) {
565 return fst.Final(s);
845 virtual Weight Final(StateId s) const { return impl_->Final(s); }
  /external/openfst/src/include/fst/extensions/ngram/
ngram-fst.h 140 Weight Final(StateId state) const {
356 if (fst.Final(i) != Weight::Zero()) {
359 context_fst.SetFinal(context_fst.AddState(), fst.Final(i));
463 const Weight &final = context_fst.Final(state); local
464 if (final != Weight::Zero()) {
466 final_probs[final_bit] = final;
  /external/openfst/src/include/fst/extensions/pdt/
expand.h 137 Weight Final(StateId s) {
140 Weight w = fst_->Final(tuple.state_id);
146 return CacheImpl<A>::Final(s);
472 vector<Weight> fdistance_; // Distance to final states in efst_/ofst
494 // the shortest-distance from '(s, current_stack_id_)' to the final
501 // states and weight to final states for source state
584 // Returns the shortest distance from 's' to the final states in 'ofst_'.
590 // Sets the shortest distance from 's' to the final states in 'ofst_' to 'w'.
629 // to the final state, updates with new estimate.
712 // Makes 's' final in 'ofst_' if shortest accepting path ending in 's
716 Weight final = efst_.Final(s); local
    [all...]
  /external/llvm/lib/Analysis/
DependenceAnalysis.cpp     [all...]

Completed in 1082 milliseconds

12 3