Home
last modified time | relevance | path

Searched refs:TropicalWeightTpl (Results 1 – 4 of 4) sorted by relevance

/external/openfst/src/include/fst/
Dfloat-weight.h189 class TropicalWeightTpl : public FloatWeightTpl<T> {
193 typedef TropicalWeightTpl<T> ReverseWeight;
195 TropicalWeightTpl() : FloatWeightTpl<T>() {} in TropicalWeightTpl() function
197 TropicalWeightTpl(T f) : FloatWeightTpl<T>(f) {} in TropicalWeightTpl() function
199 TropicalWeightTpl(const TropicalWeightTpl<T> &w) : FloatWeightTpl<T>(w) {} in TropicalWeightTpl() function
201 static const TropicalWeightTpl<T> Zero() { in Zero()
202 return TropicalWeightTpl<T>(FloatLimits<T>::PosInfinity()); } in Zero()
204 static const TropicalWeightTpl<T> One() { in One()
205 return TropicalWeightTpl<T>(0.0F); } in One()
207 static const TropicalWeightTpl<T> NoWeight() { in NoWeight()
[all …]
Dfst-decl.h33 template <class W> class TropicalWeightTpl; variable
38 typedef TropicalWeightTpl<float> TropicalWeight;
Drandom-weight.h50 typedef TropicalWeightTpl<T> Weight;
/external/openfst/src/test/
Dweight_test.cc34 using fst::TropicalWeightTpl;
78 WeightTester<TropicalWeightTpl<T>, TropicalWeightGenerator_<T> > in TestTemplatedWeights()
114 CHECK(TropicalWeightTpl<double>::Type() != TropicalWeightTpl<float>::Type()); in main()
117 TropicalWeightTpl<double> w(15.0); in main()