Searched refs:PairWeight (Results 1 - 5 of 5) sorted by relevance

/external/openfst/src/include/fst/
H A Dpair-weight.h37 template<class W1, class W2> class PairWeight;
39 istream &operator>>(istream &strm, PairWeight<W1, W2> &w);
42 class PairWeight { class in namespace:fst
44 friend istream &operator>><W1, W2>(istream&, PairWeight<W1, W2>&);
46 typedef PairWeight<typename W1::ReverseWeight,
50 PairWeight() {} function in class:fst::PairWeight
52 PairWeight(const PairWeight& w) : value1_(w.value1_), value2_(w.value2_) {} function in class:fst::PairWeight
54 PairWeight(W1 w1, W2 w2) : value1_(w1), value2_(w2) {} function in class:fst::PairWeight
56 static const PairWeight<W
81 operator =(const PairWeight<W1, W2> &w) argument
213 operator ==(const PairWeight<W1, W2> &w, const PairWeight<W1, W2> &v) argument
219 operator !=(const PairWeight<W1, W2> &w1, const PairWeight<W1, W2> &w2) argument
226 ApproxEqual(const PairWeight<W1, W2> &w1, const PairWeight<W1, W2> &w2, float delta = kDelta) argument
234 operator <<(ostream &strm, const PairWeight<W1, W2> &w) argument
[all...]
H A Dexpectation-weight.h49 class ExpectationWeight : public PairWeight<X1, X2> {
51 using PairWeight<X1, X2>::Value1;
52 using PairWeight<X1, X2>::Value2;
54 using PairWeight<X1, X2>::Reverse;
55 using PairWeight<X1, X2>::Quantize;
56 using PairWeight<X1, X2>::Member;
64 ExpectationWeight() : PairWeight<X1, X2>(Zero()) { }
67 : PairWeight<X1, X2> (w) { }
69 ExpectationWeight(const PairWeight<X1, X2>& w) argument
70 : PairWeight<X
[all...]
H A Dproduct-weight.h35 class ProductWeight : public PairWeight<W1, W2> {
37 using PairWeight<W1, W2>::Zero;
38 using PairWeight<W1, W2>::One;
39 using PairWeight<W1, W2>::NoWeight;
40 using PairWeight<W1, W2>::Quantize;
41 using PairWeight<W1, W2>::Reverse;
48 ProductWeight(const PairWeight<W1, W2>& w) : PairWeight<W1, W2>(w) {} argument
50 ProductWeight(W1 w1, W2 w2) : PairWeight<W1, W2>(w1, w2) {}
53 static const ProductWeight<W1, W2> zero(PairWeight<W
[all...]
H A Dlexicographic-weight.h40 class LexicographicWeight : public PairWeight<W1, W2> {
42 using PairWeight<W1, W2>::Value1;
43 using PairWeight<W1, W2>::Value2;
44 using PairWeight<W1, W2>::SetValue1;
45 using PairWeight<W1, W2>::SetValue2;
46 using PairWeight<W1, W2>::Zero;
47 using PairWeight<W1, W2>::One;
48 using PairWeight<W1, W2>::NoWeight;
49 using PairWeight<W1, W2>::Quantize;
50 using PairWeight<W
58 LexicographicWeight(const PairWeight<W1, W2>& w) argument
[all...]
H A Dsigned-log-weight.h33 : public PairWeight<TropicalWeight, LogWeightTpl<T> > {
37 using PairWeight<X1, X2>::Value1;
38 using PairWeight<X1, X2>::Value2;
40 using PairWeight<X1, X2>::Reverse;
41 using PairWeight<X1, X2>::Quantize;
42 using PairWeight<X1, X2>::Member;
46 SignedLogWeightTpl() : PairWeight<X1, X2>() {}
49 : PairWeight<X1, X2> (w) { }
51 SignedLogWeightTpl(const PairWeight<X1, X2>& w) argument
52 : PairWeight<X
[all...]

Completed in 83 milliseconds