Searched refs:ProductWeight (Results 1 - 10 of 10) sorted by relevance

/external/openfst/src/include/fst/
H A Dproduct-weight.h35 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 Dstring-weight.h542 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 Darc.h191 typedef ProductWeight<W1, W2> Weight;
H A Drandom-weight.h185 class W = ProductWeight<typename G1::Weight, typename G2::Weight> >
H A Dsigned-log-weight.h77 ProductWeight<X1, X2> Quantize(float delta = kDelta) const {
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dproduct-weight.h30 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 Drandom-weight.h129 typedef ProductWeight<W1, W2> Weight;
H A Dstring-weight.h507 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 Dweight_test.cc56 using fst::ProductWeight;
140 typedef ProductWeight<TropicalWeight, TropicalWeight> TropicalProductWeight;
158 typedef ProductWeight<TropicalWeight, TropicalProductWeight>
169 typedef ProductWeight<TropicalProductWeight, TropicalWeight>
H A Dfst_test.cc34 typedef ProductWeight<TropicalWeight, LogWeight> Weight;

Completed in 225 milliseconds