Home
last modified time | relevance | path

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

/external/openfst/src/include/fst/
Dpair-weight.h37 template<class W1, class W2> class PairWeight; variable
39 istream &operator>>(istream &strm, PairWeight<W1, W2> &w);
42 class PairWeight {
44 friend istream &operator>><W1, W2>(istream&, PairWeight<W1, W2>&);
46 typedef PairWeight<typename W1::ReverseWeight,
50 PairWeight() {} in PairWeight() function
52 PairWeight(const PairWeight& w) : value1_(w.value1_), value2_(w.value2_) {} in PairWeight() function
54 PairWeight(W1 w1, W2 w2) : value1_(w1), value2_(w2) {} in PairWeight() function
56 static const PairWeight<W1, W2> &Zero() { in Zero()
57 static const PairWeight<W1, W2> zero(W1::Zero(), W2::Zero()); in Zero()
[all …]
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<W1, W2>::Reverse;
[all …]
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()) { } in ExpectationWeight()
67 : PairWeight<X1, X2> (w) { } in ExpectationWeight()
69 ExpectationWeight(const PairWeight<X1, X2>& w) in ExpectationWeight()
70 : PairWeight<X1, X2> (w) { } in ExpectationWeight()
[all …]
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) {} in ProductWeight()
50 ProductWeight(W1 w1, W2 w2) : PairWeight<W1, W2>(w1, w2) {} in ProductWeight()
53 static const ProductWeight<W1, W2> zero(PairWeight<W1, W2>::Zero()); in Zero()
58 static const ProductWeight<W1, W2> one(PairWeight<W1, W2>::One()); in One()
[all …]
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>() {} in SignedLogWeightTpl()
49 : PairWeight<X1, X2> (w) { } in SignedLogWeightTpl()
51 SignedLogWeightTpl(const PairWeight<X1, X2>& w) in SignedLogWeightTpl()
52 : PairWeight<X1, X2> (w) { } in SignedLogWeightTpl()
[all …]