Home
last modified time | relevance | path

Searched refs:NoWeight (Results 1 – 21 of 21) sorted by relevance

/external/openfst/src/test/
Dweight-tester.h82 CHECK(!Weight::NoWeight().Member()); in TestSemiring()
83 CHECK(!Plus(w1, Weight::NoWeight()).Member()); in TestSemiring()
84 CHECK(!Plus(Weight::NoWeight(), w1).Member()); in TestSemiring()
85 CHECK(!Times(w1, Weight::NoWeight()).Member()); in TestSemiring()
86 CHECK(!Times(Weight::NoWeight(), w1).Member()); in TestSemiring()
136 CHECK(!Divide(w1, Weight::NoWeight(), DIVIDE_LEFT).Member()); in TestDivision()
137 CHECK(!Divide(Weight::NoWeight(), w1, DIVIDE_LEFT).Member()); in TestDivision()
144 CHECK(!Divide(w1, Weight::NoWeight(), DIVIDE_RIGHT).Member()); in TestDivision()
145 CHECK(!Divide(Weight::NoWeight(), w1, DIVIDE_RIGHT).Member()); in TestDivision()
/external/openfst/src/include/fst/
Dsigned-log-weight.h67 static const SignedLogWeightTpl<T> &NoWeight() { in NoWeight() function
68 static const SignedLogWeightTpl<T> no_weight(X1(1.0), X2::NoWeight()); in NoWeight()
111 return SignedLogWeightTpl<T>::NoWeight(); in Plus()
155 return SignedLogWeightTpl<T>::NoWeight(); in Times()
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 …]
Dlexicographic-weight.h48 using PairWeight<W1, W2>::NoWeight;
66 SetValue1(W1::NoWeight()); in LexicographicWeight()
71 SetValue2(W2::NoWeight()); in LexicographicWeight()
85 static const LexicographicWeight<W1, W2> &NoWeight() { in NoWeight() function
87 PairWeight<W1, W2>::NoWeight()); in NoWeight()
124 return LexicographicWeight<W1, W2>::NoWeight(); in Plus()
Dfloat-weight.h207 static const TropicalWeightTpl<T> NoWeight() { in NoWeight() function
245 return TropicalWeightTpl<T>::NoWeight(); in Plus()
263 return TropicalWeightTpl<T>::NoWeight(); in Times()
288 return TropicalWeightTpl<T>::NoWeight();
333 static const LogWeightTpl<T> NoWeight() { in NoWeight() function
398 return LogWeightTpl<T>::NoWeight(); in Times()
423 return LogWeightTpl<T>::NoWeight();
467 static const MinMaxWeightTpl<T> NoWeight() { in NoWeight() function
506 return MinMaxWeightTpl<T>::NoWeight(); in Plus()
525 return MinMaxWeightTpl<T>::NoWeight(); in Times()
[all …]
Dexpectation-weight.h85 static const ExpectationWeight<X1, X2> &NoWeight() { in NoWeight() function
86 static const ExpectationWeight<X1, X2> no_weight(X1::NoWeight(), in NoWeight()
87 X2::NoWeight()); in NoWeight()
137 return ExpectationWeight<X1, X2>::NoWeight();
Dstring-weight.h96 static const StringWeight<L, S> &NoWeight() { in NoWeight() function
373 return StringWeight<L, S>::NoWeight(); in Plus()
384 return StringWeight<L, S>::NoWeight(); in Plus()
396 return StringWeight<L, STRING_LEFT>::NoWeight(); in Plus()
417 return StringWeight<L, STRING_RIGHT>::NoWeight(); in Plus()
437 return StringWeight<L, S>::NoWeight(); in Times()
459 return StringWeight<L, S>::NoWeight(); in Divide()
463 return StringWeight<L, S>::NoWeight(); in Divide()
489 return StringWeight<L, STRING_RIGHT>::NoWeight(); in Divide()
493 return StringWeight<L, STRING_RIGHT>::NoWeight(); in Divide()
[all …]
Dproduct-weight.h39 using PairWeight<W1, W2>::NoWeight;
62 static const ProductWeight<W1, W2> &NoWeight() { in NoWeight() function
64 PairWeight<W1, W2>::NoWeight()); in NoWeight()
Dpower-weight.h43 using TupleWeight<W, n>::NoWeight;
66 static const PowerWeight<W, n> &NoWeight() { in NoWeight() function
67 static const PowerWeight<W, n> no_weight(TupleWeight<W, n>::NoWeight()); in NoWeight()
Dshortest-distance.h254 distance->resize(1, Arc::Weight::NoWeight()); in ShortestDistance()
310 distance->resize(1, Arc::Weight::NoWeight());
330 return Arc::Weight::NoWeight();
339 return Arc::Weight::NoWeight();
Dsparse-power-weight.h84 using SparseTupleWeight<W, K>::NoWeight;
112 static const SparsePowerWeight<W, K> &NoWeight() { in NoWeight() function
114 SparseTupleWeight<W, K>::NoWeight()); in NoWeight()
Dpair-weight.h66 static const PairWeight<W1, W2> &NoWeight() { in NoWeight() function
67 static const PairWeight<W1, W2> no_weight(W1::NoWeight(), W2::NoWeight()); in NoWeight()
Dweight.h167 return W2::NoWeight(); in operator()
Daccumulator.h211 if (error_) return Weight::NoWeight(); in Sum()
318 return Weight::NoWeight(); in LogMinus()
573 return Weight::NoWeight(); in LogMinus()
714 if (error_) return Weight::NoWeight(); in Sum()
721 if (error_) return Weight::NoWeight(); in Sum()
Dtuple-weight.h74 static const TupleWeight<W, n> &NoWeight() { in NoWeight() function
75 static const TupleWeight<W, n> no_weight(W::NoWeight()); in NoWeight()
Dsparse-tuple-weight.h106 static const SparseTupleWeight<W, K> &NoWeight() { in NoWeight() function
107 static SparseTupleWeight<W, K> no_weight(W::NoWeight()); in NoWeight()
Dutil.h256 return Weight::NoWeight(); in StrToWeight()
Dencode.h452 return A(kNoLabel, kNoLabel, Weight::NoWeight(), arc.nextstate); in operator()
Dvector-fst.h388 return W::NoWeight(); in operator()
Ddeterminize.h78 return Weight::NoWeight(); in operator()
/external/openfst/src/include/fst/script/
Dcompile-impl.h195 w = Weight::NoWeight(); in StrToWeight()
/external/openfst/
DNEWS8 * Added NoWeight() method to FST weight requirements that returns