/external/openfst/src/include/fst/ |
H A D | product-weight.h | 35 class ProductWeight : public PairWeight<W1, W2> { class in namespace:fst 43 typedef ProductWeight<typename W1::ReverseWeight, typename W2::ReverseWeight> 46 ProductWeight() {} function in class:fst::ProductWeight 48 ProductWeight(const PairWeight<W1, W2>& w) : PairWeight<W1, W2>(w) {} function in class:fst::ProductWeight 50 ProductWeight(W1 w1, W2 w2) : PairWeight<W1, W2>(w1, w2) {} function in class:fst::ProductWeight 52 static const ProductWeight<W1, W2> &Zero() { 53 static const ProductWeight<W1, W2> zero(PairWeight<W1, W2>::Zero()); 57 static const ProductWeight<W1, W2> &One() { 58 static const ProductWeight<W1, W2> one(PairWeight<W1, W2>::One()); 62 static const ProductWeight<W 92 Plus(const ProductWeight<W1, W2> &w, const ProductWeight<W1, W2> &v) argument 99 Times(const ProductWeight<W1, W2> &w, const ProductWeight<W1, W2> &v) argument 106 Divide(const ProductWeight<W1, W2> &w, const ProductWeight<W1, W2> &v, DivideType typ = DIVIDE_ANY) argument [all...] |
H A D | string-weight.h | 542 struct GallicWeight : public ProductWeight<StringWeight<L, S>, W> { 549 : ProductWeight<StringWeight<L, S>, W>(w1, w2) {} 552 : ProductWeight<StringWeight<L, S>, W>(s, nread) {} 554 GallicWeight(const ProductWeight<StringWeight<L, S>, W> &w) argument 555 : ProductWeight<StringWeight<L, S>, W>(w) {}
|
H A D | arc.h | 191 typedef ProductWeight<W1, W2> Weight;
|
H A D | random-weight.h | 185 class W = ProductWeight<typename G1::Weight, typename G2::Weight> >
|
H A D | signed-log-weight.h | 77 ProductWeight<X1, X2> Quantize(float delta = kDelta) const {
|
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
H A D | product-weight.h | 30 class ProductWeight { class in namespace:fst 32 typedef ProductWeight<typename W1::ReverseWeight, typename W2::ReverseWeight> 35 ProductWeight() {} function in class:fst::ProductWeight 37 ProductWeight(W1 w1, W2 w2) : value1_(w1), value2_(w2) {} function in class:fst::ProductWeight 39 static const ProductWeight<W1, W2> &Zero() { 40 static const ProductWeight<W1, W2> zero(W1::Zero(), W2::Zero()); 44 static const ProductWeight<W1, W2> &One() { 45 static const ProductWeight<W1, W2> one(W1::One(), W2::One()); 64 ProductWeight<W1, W2> &operator=(const ProductWeight<W argument 105 operator ==(const ProductWeight<W1, W2> &w, const ProductWeight<W1, W2> &v) argument 111 operator !=(const ProductWeight<W1, W2> &w1, const ProductWeight<W1, W2> &w2) argument 118 ApproxEqual(const ProductWeight<W1, W2> &w1, const ProductWeight<W1, W2> &w2, float delta = kDelta) argument 125 operator <<(ostream &strm, const ProductWeight<W1, W2> &w) argument 171 Plus(const ProductWeight<W1, W2> &w, const ProductWeight<W1, W2> &v) argument 178 Times(const ProductWeight<W1, W2> &w, const ProductWeight<W1, W2> &v) argument 185 Divide(const ProductWeight<W1, W2> &w, const ProductWeight<W1, W2> &v, DivideType typ = DIVIDE_ANY) argument [all...] |
H A D | random-weight.h | 129 typedef ProductWeight<W1, W2> Weight;
|
H A D | string-weight.h | 507 struct GallicWeight : public ProductWeight<StringWeight<L, S>, W> { 514 : ProductWeight<StringWeight<L, S>, W>(w1, w2) {} 517 : ProductWeight<StringWeight<L, S>, W>(s, nread) {} 519 GallicWeight(const ProductWeight<StringWeight<L, S>, W> &w) argument 520 : ProductWeight<StringWeight<L, S>, W>(w) {}
|
/external/openfst/src/test/ |
H A D | weight_test.cc | 56 using fst::ProductWeight; 140 typedef ProductWeight<TropicalWeight, TropicalWeight> TropicalProductWeight; 158 typedef ProductWeight<TropicalWeight, TropicalProductWeight> 169 typedef ProductWeight<TropicalProductWeight, TropicalWeight>
|
H A D | fst_test.cc | 34 typedef ProductWeight<TropicalWeight, LogWeight> Weight;
|