Searched refs:TupleWeight (Results 1 – 2 of 2) sorted by relevance
/external/openfst/src/include/fst/ |
D | tuple-weight.h | 36 template<class W, unsigned int n> class TupleWeight; variable 38 istream &operator>>(istream &strm, TupleWeight<W, n> &w); 42 class TupleWeight { 44 typedef TupleWeight<typename W::ReverseWeight, n> ReverseWeight; 46 TupleWeight() {} in TupleWeight() function 48 TupleWeight(const TupleWeight &w) { in TupleWeight() function 54 TupleWeight(Iterator begin, Iterator end) { in TupleWeight() function 59 TupleWeight(const W &w) { in TupleWeight() function 64 static const TupleWeight<W, n> &Zero() { in Zero() 65 static const TupleWeight<W, n> zero(W::Zero()); in Zero() [all …]
|
D | power-weight.h | 39 class PowerWeight : public TupleWeight<W, n> { 41 using TupleWeight<W, n>::Zero; 42 using TupleWeight<W, n>::One; 43 using TupleWeight<W, n>::NoWeight; 44 using TupleWeight<W, n>::Quantize; 45 using TupleWeight<W, n>::Reverse; 51 PowerWeight(const TupleWeight<W, n> &w) : TupleWeight<W, n>(w) {} in PowerWeight() 54 PowerWeight(Iterator begin, Iterator end) : TupleWeight<W, n>(begin, end) {} in PowerWeight() 57 static const PowerWeight<W, n> zero(TupleWeight<W, n>::Zero()); in Zero() 62 static const PowerWeight<W, n> one(TupleWeight<W, n>::One()); in One() [all …]
|