/external/srec/tools/grxmlcompile/ |
H A D | fst-io.h | 46 typedef typename A::Weight Weight; typedef in class:fst::FstPrinter 122 if (arc.weight != Weight::One()) 127 Weight final = fst_.Final(s); 128 if (final != Weight::Zero() || !output) { 130 if (final != Weight::One()) { 210 typedef typename A::Weight Weight; typedef in class:fst::FstReader 243 fst_.SetFinal(s, Weight::One()); 252 arc.weight = Weight [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | arc.h | 32 typedef TropicalWeight Weight; typedef in struct:fst::StdArc 35 StdArc(Label i, Label o, Weight w, StateId s) 47 Weight weight; // Transition weight 56 typedef LogWeight Weight; typedef in struct:fst::LogArc 59 LogArc(Label i, Label o, Weight w, StateId s) 71 Weight weight; // Transition weight 81 typedef StringWeight<int, S> Weight; typedef in class:fst::StringArc 84 StringArc(Label i, Label o, Weight w, StateId s) 100 Weight weight; // Transition weight 112 typedef GallicWeight<Label, typename A::Weight, typedef in struct:fst::GallicArc 144 typedef typename AWeight::ReverseWeight Weight; typedef in struct:fst::ReverseArc [all...] |
H A D | arcsort.h | 87 typedef typename A::Weight Weight; typedef in class:fst::ArcSortFstImpl 116 Weight Final(StateId s) { 192 typedef typename A::Weight Weight; typedef in class:fst::ArcSortFst 209 virtual Weight Final(StateId s) const { return impl_->Final(s); }
|
H A D | cache.h | 67 typedef typename Arc::Weight Weight; typedef in class:fst::CacheBaseImpl 164 void SetFinal(StateId s, Weight w) { 228 Weight Final(StateId s) const { 350 typedef typename A::Weight Weight; typedef in struct:fst::CacheState 353 CacheState() : final(Weight::Zero()), flags(0), ref_count(0) {} 361 Weight final; // Final weight
|
H A D | closure.h | 32 // transduced to itself with weight Weight::One() as well. 42 typedef typename Arc::Weight Weight; typedef 50 Weight final = fst->Final(s); 51 if (final != Weight::Zero()) 57 fst->SetFinal(nstart, Weight::One()); 59 fst->AddArc(nstart, Arc(0, 0, Weight::One(), start)); 88 // to itself with weight Weight::One() as well.
|
H A D | complement.h | 54 typedef typename A::Weight Weight; typedef in class:fst::ComplementFstImpl 76 Weight Final(StateId s) const { 77 if (s == 0 || fst_->Final(s - 1) == Weight::Zero()) 78 return Weight::One(); 80 return Weight::Zero(); 115 typedef typename A::Weight Weight; typedef in class:fst::ComplementFst 134 virtual Weight Final(StateId s) const { return impl_->Final(s); } 219 typedef typename A::Weight Weigh typedef in class:fst::ArcIterator [all...] |
H A D | compose.h | 100 typedef typename A::Weight Weight; typedef in class:fst::ComposeFstImplBase 136 Weight Final(StateId s) { 138 Weight final = ComputeFinal(s); 176 virtual Weight ComputeFinal(StateId s) = 0; 329 typedef typename A::Weight Weight; typedef in class:fst::ComposeFstImpl 478 bool finala = fsta->Final(sa) != Weight::Zero(); 499 A earcb(0, 0, Weight::One(), sb); 559 A loop(match_labelb, match_labelb, Weight 685 typedef typename A::Weight Weight; typedef in class:fst::ComposeFst [all...] |
H A D | concat.h | 42 typedef typename Arc::Weight Weight; typedef 70 Weight final = fst1->Final(s1); 71 if (final != Weight::Zero()) { 72 fst1->SetFinal(s1, Weight::Zero()); 110 typedef typename A::Weight Weight; typedef in class:fst::ConcatFst
|
H A D | connect.h | 34 typedef typename Arc::Weight Weight; typedef in class:fst::SccVisitor 130 if (fst_->Final(s) != Weight::Zero())
|
H A D | const-fst.h | 40 typedef typename A::Weight Weight; typedef in class:fst::ConstFstImpl 58 Weight Final(StateId s) const { return states_[s].final; } 91 Weight final; // Final weight 96 State() : final(Weight::Zero()), niepsilons(0), noepsilons(0) {} 230 typedef typename A::Weight Weight; typedef in class:fst::ConstFst 245 virtual Weight Final(StateId s) const { return impl_->Final(s); }
|
H A D | determinize.h | 47 typedef W Weight; typedef in class:fst::DefaultCommonDivisor 60 typedef StringWeight<L, S> Weight; typedef in class:fst::LabelCommonDivisor 62 Weight operator()(const Weight &w1, const Weight &w2) const { 67 LOG(FATAL) << "LabelCommonDivisor: Weight needs to be left semiring"; 70 return Weight::One(); 71 else if (w1 == Weight::Zero()) 72 return Weight(iter2.Value()); 73 else if (w2 == Weight 89 typedef GallicWeight<L, W, S> Weight; typedef in class:fst::GallicCommonDivisor 129 typedef typename A::Weight Weight; typedef in class:fst::DeterminizeFstImplBase 208 typedef typename A::Weight Weight; typedef in class:fst::DeterminizeFsaImpl 476 typedef typename A::Weight Weight; typedef in class:fst::DeterminizeFstImpl 540 typedef typename A::Weight Weight; typedef in class:fst::DeterminizeFst [all...] |
H A D | difference.h | 49 typedef typename A::Weight Weight; typedef in class:fst::DifferenceFst
|
H A D | encode.h | 44 typedef typename A::Weight Weight; typedef in class:fst::EncodeTable 49 Tuple(Label ilabel_, Label olabel_, Weight weight_) 56 Weight weight; 112 flags_ & kEncodeWeights ? arc.weight : Weight::One()); 207 typedef typename A::Weight Weight; typedef in class:fst::EncodeMapper 235 arc.weight == Weight::Zero())) { 241 flags_ & kEncodeWeights ? Weight::One() : arc.weight,
|
H A D | epsnormalize.h | 59 typename Arc::Weight, STRING_RIGHT_RESTRICT> >
|
H A D | equal.h | 30 typedef typename Arc::Weight Weight; typedef 53 Weight final1 = fst1.Final(s1); 54 Weight final2 = fst2.Final(s2);
|
H A D | equivalent.h | 47 typedef typename Arc::Weight Weight; typedef in struct:fst::EquivalenceUtil 76 false : (fa.Final(UnMapState(s)) != Weight::Zero()); 113 typedef typename Arc::Weight Weight; typedef 193 if (arc.weight != Weight::Zero()) { // Zero-weight arcs 205 if (arc.weight != Weight::Zero()) { // Zero-weight arcs
|
H A D | factor-weight.h | 147 typedef typename A::Weight Weight; typedef in class:fst::FactorWeightFstImpl 154 Element(StateId s, Weight w) : state(s), weight(w) {} 157 Weight weight; // Residual weight 180 StateId start = FindState(Element(fst_->Start(), Weight::One())); 186 Weight Final(StateId s) { 190 Weight w = e.state == kNoStateId 192 : (Weight) Times(e.weight, fst_->Final(e.state)); 194 if (w != Weight::Zero() && f.Done()) 197 this->SetFinal(s, Weight 343 typedef typename A::Weight Weight; typedef in class:fst::FactorWeightFst [all...] |
H A D | fst.h | 121 typedef typename A::Weight Weight; typedef in class:fst::Fst 128 virtual Weight Final(StateId) const = 0; // State's final weight 398 typedef typename A::Weight Weight; typedef in class:fst::FstImpl
|
H A D | intersect.h | 46 typedef typename A::Weight Weight; typedef in class:fst::IntersectFst
|
H A D | map.h | 83 typedef typename A::Weight Weight; typedef 94 fst->SetFinal(superfinal, Weight::One()); 119 fst->SetFinal(superfinal, Weight::One()); 123 fst->SetFinal(s, Weight::Zero()); 134 final_arc.weight != Weight::Zero()) 137 fst->SetFinal(s, Weight::Zero()); 160 typedef typename A::Weight Weight; typedef 177 ofst->SetFinal(superfinal, B::Weight 266 typedef typename B::Weight Weight; typedef in class:fst::MapFstImpl 460 typedef typename B::Weight Weight; typedef in class:fst::MapFst 851 typedef typename A::Weight Weight; typedef in struct:fst::PlusMapper 875 typedef typename A::Weight Weight; typedef in struct:fst::TimesMapper [all...] |
H A D | minimize.h | 49 typedef typename A::Weight Weight; typedef in class:fst::StateComparator 121 typedef typename A::Weight Weight; typedef in class:fst::CyclicMinimizer 303 typedef typename A::Weight Weight; typedef in class:fst::AcyclicMinimizer 536 typename A::Weight, STRING_LEFT> > fwfst(gfst);
|
H A D | mutable-fst.h | 36 typedef typename A::Weight Weight; typedef in class:fst::MutableFst 42 virtual void SetFinal(StateId, Weight) = 0; // Set a state's final weight
|
H A D | prune.h | 31 typedef typename A::Weight Weight; typedef in class:fst::PruneOptions 34 Weight threshold; 39 vector<Weight> *idistance; 42 vector<Weight> *fdistance; 44 PruneOptions(const Weight& t, ArcFilter f, vector<Weight> *id = 0, 45 vector<Weight> *fd = 0) 58 typedef typename Arc::Weight Weight; typedef 144 typedef typename Arc::Weight Weight; typedef [all...] |
H A D | push.h | 37 // Weight needs to be left distributive when pushing towards the 42 vector<typename Arc::Weight> distance; 52 // to PTYPE in the direction defined by RTYPE. Weight needs to be 66 vector<typename GallicArc<Arc, stype>::Weight> gdistance; 80 typename Arc::Weight, stype> > fwfst(gfst);
|
H A D | queue.h | 247 typedef typename L::Weight Weight; typedef in class:fst::StateWeightCompare 250 StateWeightCompare(const vector<Weight>* weights, const L &less) 258 const vector<Weight>* weights_; 263 // Shortest-first queue discipline, templated on the StateId and Weight is 502 // the Weight type has the path property, will entertain the 505 AutoQueue(const Fst<Arc> &fst, const vector<typename Arc::Weight> *distance, 507 typedef typename Arc::Weight Weight; typedef 508 typedef StateWeightCompare< StateId, NaturalLess<Weight> > Compar 653 typedef typename A::Weight Weight; typedef [all...] |