Searched refs:TropicalWeightTpl (Results 1 – 4 of 4) sorted by relevance
189 class TropicalWeightTpl : public FloatWeightTpl<T> {193 typedef TropicalWeightTpl<T> ReverseWeight;195 TropicalWeightTpl() : FloatWeightTpl<T>() {} in TropicalWeightTpl() function197 TropicalWeightTpl(T f) : FloatWeightTpl<T>(f) {} in TropicalWeightTpl() function199 TropicalWeightTpl(const TropicalWeightTpl<T> &w) : FloatWeightTpl<T>(w) {} in TropicalWeightTpl() function201 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 …]
33 template <class W> class TropicalWeightTpl; variable38 typedef TropicalWeightTpl<float> TropicalWeight;
50 typedef TropicalWeightTpl<T> Weight;
34 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()