/external/openfst/src/test/ |
H A D | weight-tester.h | 82 CHECK(!Weight::NoWeight().Member()); 83 CHECK(!Plus(w1, Weight::NoWeight()).Member()); 84 CHECK(!Plus(Weight::NoWeight(), w1).Member()); 85 CHECK(!Times(w1, Weight::NoWeight()).Member()); 86 CHECK(!Times(Weight::NoWeight(), w1).Member()); 136 CHECK(!Divide(w1, Weight::NoWeight(), DIVIDE_LEFT).Member()); 137 CHECK(!Divide(Weight::NoWeight(), w1, DIVIDE_LEFT).Member()); 144 CHECK(!Divide(w1, Weight::NoWeight(), DIVIDE_RIGHT).Member()); 145 CHECK(!Divide(Weight::NoWeight(), w1, DIVIDE_RIGHT).Member());
|
/external/openfst/src/include/fst/ |
H A D | expectation-weight.h | 85 static const ExpectationWeight<X1, X2> &NoWeight() { function in class:fst::ExpectationWeight 86 static const ExpectationWeight<X1, X2> no_weight(X1::NoWeight(), 87 X2::NoWeight()); 137 return ExpectationWeight<X1, X2>::NoWeight();
|
H A D | signed-log-weight.h | 67 static const SignedLogWeightTpl<T> &NoWeight() { function in class:fst::SignedLogWeightTpl 68 static const SignedLogWeightTpl<T> no_weight(X1(1.0), X2::NoWeight()); 111 return SignedLogWeightTpl<T>::NoWeight(); 155 return SignedLogWeightTpl<T>::NoWeight(); 171 return SignedLogWeightTpl<T>::NoWeight(); 239 return TropicalWeight::NoWeight(); 248 return TropicalWeight::NoWeight(); 258 return LogWeight::NoWeight(); 267 return LogWeight::NoWeight(); 277 return Log64Weight::NoWeight(); [all...] |
H A D | lexicographic-weight.h | 48 using PairWeight<W1, W2>::NoWeight; 66 SetValue1(W1::NoWeight()); 71 SetValue2(W2::NoWeight()); 85 static const LexicographicWeight<W1, W2> &NoWeight() { function in class:fst::LexicographicWeight 87 PairWeight<W1, W2>::NoWeight()); 124 return LexicographicWeight<W1, W2>::NoWeight();
|
H A D | product-weight.h | 39 using PairWeight<W1, W2>::NoWeight; 62 static const ProductWeight<W1, W2> &NoWeight() { function in class:fst::ProductWeight 64 PairWeight<W1, W2>::NoWeight());
|
H A D | string-weight.h | 96 static const StringWeight<L, S> &NoWeight() { function in class:fst::StringWeight 373 return StringWeight<L, S>::NoWeight(); 384 return StringWeight<L, S>::NoWeight(); 396 return StringWeight<L, STRING_LEFT>::NoWeight(); 417 return StringWeight<L, STRING_RIGHT>::NoWeight(); 437 return StringWeight<L, S>::NoWeight(); 459 return StringWeight<L, S>::NoWeight(); 463 return StringWeight<L, S>::NoWeight(); 489 return StringWeight<L, STRING_RIGHT>::NoWeight(); 493 return StringWeight<L, STRING_RIGHT>::NoWeight(); [all...] |
H A D | float-weight.h | 207 static const TropicalWeightTpl<T> NoWeight() { function in class:fst::TropicalWeightTpl 245 return TropicalWeightTpl<T>::NoWeight(); 263 return TropicalWeightTpl<T>::NoWeight(); 288 return TropicalWeightTpl<T>::NoWeight(); 333 static const LogWeightTpl<T> NoWeight() { function in class:fst::LogWeightTpl 398 return LogWeightTpl<T>::NoWeight(); 423 return LogWeightTpl<T>::NoWeight(); 467 static const MinMaxWeightTpl<T> NoWeight() { function in class:fst::MinMaxWeightTpl 506 return MinMaxWeightTpl<T>::NoWeight(); 525 return MinMaxWeightTpl<T>::NoWeight(); [all...] |
H A D | weight.h | 37 // NoWeight: static member function that returns an element that is 167 return W2::NoWeight();
|
H A D | shortest-distance.h | 254 distance->resize(1, Arc::Weight::NoWeight()); 310 distance->resize(1, Arc::Weight::NoWeight()); 330 return Arc::Weight::NoWeight(); 339 return Arc::Weight::NoWeight();
|
H A D | power-weight.h | 43 using TupleWeight<W, n>::NoWeight; 66 static const PowerWeight<W, n> &NoWeight() { function in class:fst::PowerWeight 67 static const PowerWeight<W, n> no_weight(TupleWeight<W, n>::NoWeight());
|
H A D | sparse-power-weight.h | 84 using SparseTupleWeight<W, K>::NoWeight; 112 static const SparsePowerWeight<W, K> &NoWeight() { function in class:fst::SparsePowerWeight 114 SparseTupleWeight<W, K>::NoWeight());
|
H A D | pair-weight.h | 66 static const PairWeight<W1, W2> &NoWeight() { function in class:fst::PairWeight 67 static const PairWeight<W1, W2> no_weight(W1::NoWeight(), W2::NoWeight());
|
H A D | tuple-weight.h | 74 static const TupleWeight<W, n> &NoWeight() { function in class:fst::TupleWeight 75 static const TupleWeight<W, n> no_weight(W::NoWeight());
|
H A D | accumulator.h | 211 if (error_) return Weight::NoWeight(); 318 return Weight::NoWeight(); 573 return Weight::NoWeight(); 714 if (error_) return Weight::NoWeight(); 721 if (error_) return Weight::NoWeight();
|
H A D | sparse-tuple-weight.h | 106 static const SparseTupleWeight<W, K> &NoWeight() { function in class:fst::SparseTupleWeight 107 static SparseTupleWeight<W, K> no_weight(W::NoWeight());
|
H A D | util.h | 256 return Weight::NoWeight();
|
H A D | encode.h | 452 return A(kNoLabel, kNoLabel, Weight::NoWeight(), arc.nextstate);
|
H A D | vector-fst.h | 388 return W::NoWeight();
|
H A D | determinize.h | 78 return Weight::NoWeight();
|
/external/openfst/src/include/fst/script/ |
H A D | compile-impl.h | 195 w = Weight::NoWeight();
|