Searched refs:TropicalWeight (Results 1 - 14 of 14) sorted by relevance
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | float-weight.h | 116 class TropicalWeight : public FloatWeight { class in namespace:fst 118 typedef TropicalWeight ReverseWeight; 120 TropicalWeight() : FloatWeight() {} function in class:fst::TropicalWeight 122 TropicalWeight(float f) : FloatWeight(f) {} function in class:fst::TropicalWeight 124 TropicalWeight(const TropicalWeight &w) : FloatWeight(w) {} function in class:fst::TropicalWeight 126 static const TropicalWeight Zero() { return TropicalWeight(kPosInfinity); } 128 static const TropicalWeight One() { return TropicalWeight(0. [all...] |
H A D | fst-decl.h | 28 class TropicalWeight;
|
H A D | random-weight.h | 39 typedef TropicalWeight Weight;
|
H A D | arc.h | 32 typedef TropicalWeight Weight;
|
H A D | vector-fst.h | 403 // TropicalWeight version. 405 TropicalWeight WeightFromString<TropicalWeight>::operator()(const string &s) { 408 return TropicalWeight(f);
|
/external/openfst/src/include/fst/ |
H A D | signed-log-weight.h | 19 // The sign is a TropicalWeight: 20 // positive, TropicalWeight.Value() > 0.0, recommended value 1.0 21 // negative, TropicalWeight.Value() <= 0.0, recommended value -1.0 33 : public PairWeight<TropicalWeight, LogWeightTpl<T> > { 35 typedef TropicalWeight X1; 97 h1 = TropicalWeight(1.0).Hash(); 99 h1 = TropicalWeight(-1.0).Hash(); 161 return SignedLogWeightTpl<T>(TropicalWeight(1.0), (f1 + f2)); 163 return SignedLogWeightTpl<T>(TropicalWeight(-1.0), (f1 + f2)); 177 return SignedLogWeightTpl<T>(TropicalWeight(1. [all...] |
H A D | float-weight.h | 239 typedef TropicalWeightTpl<float> TropicalWeight; typedef in namespace:fst 568 struct WeightConvert<LogWeight, TropicalWeight> { 569 TropicalWeight operator()(LogWeight w) const { return w.Value(); } 573 struct WeightConvert<Log64Weight, TropicalWeight> { 574 TropicalWeight operator()(Log64Weight w) const { return w.Value(); } 579 struct WeightConvert<TropicalWeight, LogWeight> { 580 LogWeight operator()(TropicalWeight w) const { return w.Value(); } 590 struct WeightConvert<TropicalWeight, Log64Weight> { 591 Log64Weight operator()(TropicalWeight w) const { return w.Value(); }
|
H A D | fst-decl.h | 38 typedef TropicalWeightTpl<float> TropicalWeight; typedef in namespace:fst 43 typedef ArcTpl<TropicalWeight> StdArc;
|
H A D | random-weight.h | 304 TropicalWeight(-1.0) : 305 TropicalWeight(1.0),
|
H A D | arc.h | 67 typedef ArcTpl<TropicalWeight> StdArc;
|
H A D | vector-fst.h | 391 // TropicalWeight version. 393 TropicalWeight WeightFromString<TropicalWeight>::operator()(const string &s) { 396 return TropicalWeight(f);
|
/external/openfst/src/test/ |
H A D | weight_test.cc | 32 using fst::TropicalWeight; 113 CHECK(TropicalWeight::Type() == "tropical"); 118 TropicalWeight tw(15.0); 131 typedef GallicWeight<int, TropicalWeight> TropicalGallicWeight; 140 typedef ProductWeight<TropicalWeight, TropicalWeight> TropicalProductWeight; 149 typedef PowerWeight<TropicalWeight, 3> TropicalCubeWeight; 158 typedef ProductWeight<TropicalWeight, TropicalProductWeight> 169 typedef ProductWeight<TropicalProductWeight, TropicalWeight> 244 typedef LexicographicWeight<TropicalWeight, TropicalWeigh [all...] |
H A D | algo_test.cc | 57 using fst::TropicalWeight; 130 typedef LexicographicArc<TropicalWeight, TropicalWeight> 141 typedef PowerWeight<TropicalWeight, 3> TropicalCubeWeight;
|
H A D | fst_test.cc | 34 typedef ProductWeight<TropicalWeight, LogWeight> Weight;
|
Completed in 800 milliseconds