/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
rmfinalepsilon.h | 17 // Function to remove of final states that have epsilon only input arcs. 42 // Find potential list of removable final states. These are final states 43 // that have no outgoing transitions or final states that have a 48 if (fst->Final(s) != Weight::Zero()) { 63 // Move the final weight. Complexity O(E) 67 Weight w(fst->Final(s)); 76 w = Plus(Times(fst->Final(arc.nextstate), arc.weight), w);
|
reweight.h | 32 // distributive when reweighting towards the final states. 37 // towards the final states. 49 LOG(FATAL) << "Reweight: Reweighting to the final states requires " 82 Divide(fst->Final(state), potential[state], DIVIDE_LEFT)); 84 fst->SetFinal(state, Times(potential[state], fst->Final(state))); 104 fst->SetFinal(state, Times(potential[state], fst->Final(state))); 108 fst->Final(state)));
|
statesort.h | 57 Weight final1 = fst->Final(s1), final2 = Weight::Zero(); 66 final2 = fst->Final(s2);
|
randgen.h | 34 // transition is selected. If N == NumArcs(), then the final weight at 35 // that state is selected (i.e., the 'super-final' transition is selected). 37 // are transitions leaving the state and/or the state is final. 51 if (fst.Final(s) != Weight::Zero()) 77 sum += exp(-fst.Final(s).Value()); 136 ifst.Final(opts.source) == Weight::Zero()) // Non-coaccessible 140 if (n == ifst.NumArcs(opts.source)) { // Take 'super-final' transition
|
equal.h | 53 Weight final1 = fst1.Final(s1); 54 Weight final2 = fst2.Final(s2); 56 VLOG(1) << "Equal: mismatched final weights:"
|
complement.h | 32 // completes the (deterministic) FSA and then exchanges final and 33 // non-final states. Completion, i.e. ensuring that all labels can be 75 // Exchange final and non-final states; make rho destination state final. 76 Weight Final(StateId s) const { 77 if (s == 0 || fst_->Final(s - 1) == Weight::Zero()) 134 virtual Weight Final(StateId s) const { return impl_->Final(s); }
|
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...] |
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); }
|
arcsort.h | 116 Weight Final(StateId s) { 118 SetFinal(s, fst_->Final(s)); 119 return CacheImpl<A>::Final(s); 209 virtual Weight Final(StateId s) const { return impl_->Final(s); }
|
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); }
|
concat.h | 58 fst1->SetFinal(s1, fst2.Final(s2)); 70 Weight final = fst1->Final(s1); local 71 if (final != Weight::Zero()) { 74 fst1->AddArc(s1, Arc(0, 0, final, start2 + numstates1));
|
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...] |
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...] |
reverse.h | 58 Weight final = ifst.Final(is); local 59 if (final != Weight::Zero()) { 60 RevArc oarc(0, 0, final.Reverse(), os);
|
prune.h | 40 // If non-zero, passes in pre-computed shortest distance to final states 109 if (less(ceiling, Times((*idistance)[state], fst->Final(state)))) 193 if (!less(ceiling, Times((*idistance)[state], ifst.Final(state)))) 194 ofst->SetFinal(copy[state], ifst.Final(state));
|
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); }
|
determinize.h | 157 Weight Final(StateId s) { 159 Weight final = ComputeFinal(s); local 160 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...] |
closure.h | 50 Weight final = fst->Final(s); local 51 if (final != Weight::Zero()) 52 fst->AddArc(s, Arc(0, 0, final, start));
|
const-fst.h | 58 Weight Final(StateId s) const { return states_[s].final; } 91 Weight final; // Final weight member in struct:fst::ConstFstImpl::State 96 State() : final(Weight::Zero()), niepsilons(0), noepsilons(0) {} 141 states_[s].final = fst.Final(s); 243 virtual Weight Final(StateId s) const { return impl_->Final(s); }
|
/external/chromium/base/crypto/ |
signature_creator.h | 41 bool Final(std::vector<uint8>* signature);
|
signature_creator_nss.cc | 63 bool SignatureCreator::Final(std::vector<uint8>* signature) {
|
signature_creator_unittest.cc | 33 ASSERT_TRUE(signer->Final(&signature));
|
signature_creator_win.cc | 46 bool SignatureCreator::Final(std::vector<uint8>* signature) {
|
signature_creator_mac.cc | 73 bool SignatureCreator::Final(std::vector<uint8>* signature) {
|
/external/chromium/base/ |
sha1.cc | 25 // sha.Final(); 41 void Final(); 112 void SecureHashAlgorithm::Final() { 196 sha.Final();
|