/external/openfst/src/include/fst/ |
expanded-fst.h | 95 typename A::Weight Final(const ExpandedFst<A> &fst, typename A::StateId s) { 128 typedef typename Arc::Weight Weight;
|
compose.h | 119 typedef typename A::Weight Weight; 160 Weight Final(StateId s) { 162 Weight final = ComputeFinal(s); 196 virtual Weight ComputeFinal(StateId s) = 0; 210 typedef typename Arc::Weight Weight; 299 Weight::One(), sb); 334 Arc oarc(arc1.ilabel, arc2.olabel, Times(arc1.weight, arc2.weight), [all...] |
epsnormalize.h | 29 #include <fst/factor-weight.h> 63 typename Arc::Weight, STRING_RIGHT_RESTRICT> >
|
weight.h | 0 // weight.h 19 // General weight set and associated semiring operation definitions. 31 // A Weight class must have binary functions =Plus= and =Times= and 35 // In addition, the following should be defined for a Weight: 39 // >>: reads textual representation of a weight. 40 // <<: prints textual representation of a weight. 41 // Read(istream &strm): reads binary representation of a weight. 42 // Write(ostream &strm): writes binary representation of a weight. 43 // Hash: maps weight to size_t. 54 // ReverseWeight: the type of the corresponding reverse weight [all...] |
label-reachable.h | 138 // position and accumulated arc weight of the matches can be 149 typedef typename A::Weight Weight; 312 reach_weight_ = Weight::Zero(); 336 // If the 'arc.weight' wasn't computed by the call 339 // flags to compute the arc weight value. 343 reach_weight_ = accumulator_->Sum(reach_weight_, arcb.weight); 350 reach_weight_ = accumulator_->Sum(reach_weight_, arc.weight); 390 Weight ReachWeight() const { return reach_weight_; } 435 Weight final = fst_->Final(s) [all...] |
connect.h | 39 typedef typename Arc::Weight Weight; 124 typedef typename A::Weight Weight; 258 if (fst_->Final(s) != Weight::Zero())
|
cache.h | 93 // you must set the final weight even if the state is non-final to 108 typedef typename Arc::Weight Weight; 219 void SetFinal(StateId s, Weight w) { 372 // Is the final weight of state s cached? 394 Weight Final(StateId s) const { 473 static const uint32 kCacheFinal = 0x0001; // Final weight has been cached 613 typedef typename A::Weight Weight; 616 CacheState() : final(Weight::Zero()), flags(0), ref_count(0) { [all...] |
util.h | 243 // Utilities for converting between int64 or Weight and string. 248 template <typename Weight> 249 Weight StrToWeight(const string &s, const string &src, size_t nline) { 250 Weight w; 254 FSTERROR() << "StrToWeight: Bad weight = \"" << s 256 return Weight::NoWeight(); 263 template <typename Weight> 264 void WeightToStr(Weight w, string *s) {
|
intersect.h | 67 typedef typename A::Weight Weight;
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
mutable-fst.h | 36 typedef typename A::Weight Weight; 42 virtual void SetFinal(StateId, Weight) = 0; // Set a state's final weight
|
arcsort.h | 87 typedef typename A::Weight Weight; 116 Weight Final(StateId s) { 192 typedef typename A::Weight Weight; 209 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 67 typedef typename Arc::Weight Weight; 164 void SetFinal(StateId s, Weight w) { 205 // Is the final weight of state s cached? 228 Weight Final(StateId s) const { 312 static const uint32 kCacheFinal = 0x0001; // Final weight has been cached 350 typedef typename A::Weight Weight; 353 CacheState() : final(Weight::Zero()), flags(0), ref_count(0) { [all...] |
compose.h | 101 typedef typename A::Weight Weight; 137 Weight Final(StateId s) { 139 Weight final = ComputeFinal(s); 177 virtual Weight ComputeFinal(StateId s) = 0; 332 typedef typename A::Weight Weight; 437 arc.weight = Times(arcb.weight, arca.weight); [all...] |
const-fst.h | 40 typedef typename A::Weight Weight; 58 Weight Final(StateId s) const { return states_[s].final; } 91 Weight final; // Final weight 96 State() : final(Weight::Zero()), niepsilons(0), noepsilons(0) {} 228 typedef typename A::Weight Weight; 243 virtual Weight Final(StateId s) const { return impl_->Final(s); }
|
difference.h | 49 typedef typename A::Weight Weight;
|
intersect.h | 46 typedef typename A::Weight Weight;
|
replace.h | 74 typedef typename A::Weight Weight; 193 depfst.AddArc(i - 1, A(arc.olabel, arc.olabel, Weight::One(), j)); 200 depfst.SetFinal(root_ - 1, Weight::One()); 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) 250 SetFinal(s, Weight::Zero()); 307 if (fst->Final(fst_state) != Weight::Zero() && stack.Depth()) { 323 AddArc(s, A(arc.ilabel, arc.olabel, arc.weight, nextstate)) [all...] |
relabel.h | 160 typedef typename A::Weight Weight; 239 Weight Final(StateId s) { 325 typedef typename A::Weight Weight; 360 virtual Weight Final(StateId s) const { return impl_->Final(s); }
|
/external/openfst/src/test/ |
fst_test.h | 45 typedef typename Arc::Weight Weight; 83 CHECK_EQ(arc.weight, NthWeight(na)); 309 // (3) weight = NthWeight(i) 328 Weight NthWeight(int n) const { 329 Weight w = Weight::Zero(); 331 w = Plus(w, Weight::One());
|
/external/chromium_org/third_party/WebKit/Source/web/ |
WebFontDescription.cpp | 48 weight = static_cast<Weight>(desc.weight()); 66 desc.setWeight(static_cast<FontWeight>(weight));
|
/external/libvpx/libvpx/vp8/encoder/ |
mcomp.h | 36 extern int vp8_mv_bit_cost(int_mv *mv, int_mv *ref, int *mvcost[2], int Weight);
|
/external/llvm/include/llvm/Analysis/ |
BranchProbabilityInfo.h | 86 /// \brief Get the raw edge weight calculated for the edge. 88 /// This returns the raw edge weight. It is guaranteed to fall between 1 and 89 /// UINT32_MAX. Note that the raw edge weight is not meaningful in isolation. 95 /// \brief Get the raw edge weight calculated for the block pair. 101 /// \brief Set the raw edge weight for a given edge. 103 /// This allows a pass to explicitly set the edge weight for an edge. It can 108 uint32_t Weight); 115 // Default weight value. Used when we don't have information about the edge. 117 // the successors have a weight yet. But it doesn't make sense when providing 118 // weight to an edge that may have siblings with non-zero weights. This ca [all...] |
/external/openfst/src/include/fst/script/ |
determinize.h | 23 #include <fst/script/weight-class.h> 54 *(opts.weight_threshold.GetWeight<typename Arc::Weight>());
|
disambiguate.h | 23 #include <fst/script/weight-class.h> 54 *(opts.weight_threshold.GetWeight<typename Arc::Weight>());
|
/external/openfst/src/include/fst/extensions/pdt/ |
compose.h | 48 typedef typename Arc::Weight Weight; 62 loop_.weight = Weight::One(); 284 typedef typename Arc::Weight Weight; 377 void FilterFinal(Weight *w1, Weight *w2) const { 379 *w1 = Weight::Zero();
|