Searched refs:LogWeightTpl (Results 1 – 5 of 5) sorted by relevance
313 class LogWeightTpl : public FloatWeightTpl<T> {317 typedef LogWeightTpl ReverseWeight;319 LogWeightTpl() : FloatWeightTpl<T>() {} in LogWeightTpl() function321 LogWeightTpl(T f) : FloatWeightTpl<T>(f) {} in LogWeightTpl() function323 LogWeightTpl(const LogWeightTpl<T> &w) : FloatWeightTpl<T>(w) {} in LogWeightTpl() function325 static const LogWeightTpl<T> Zero() { in Zero()326 return LogWeightTpl<T>(FloatLimits<T>::PosInfinity()); in Zero()329 static const LogWeightTpl<T> One() { in One()330 return LogWeightTpl<T>(0.0F); in One()333 static const LogWeightTpl<T> NoWeight() { in NoWeight()[all …]
33 : public PairWeight<TropicalWeight, LogWeightTpl<T> > {36 typedef LogWeightTpl<T> X2;197 return w1.Value2() == LogWeightTpl<T>::Zero()198 && w2.Value2() == LogWeightTpl<T>::Zero();210 return (w1.Value2() == LogWeightTpl<T>::Zero()) &&211 (w2.Value2() == LogWeightTpl<T>::Zero());
82 typedef LogWeightTpl<T> Weight;307 LogWeightTpl<T>::Zero() : in operator()308 LogWeightTpl<T>(static_cast<T>(n))); in operator()
34 template <class W> class LogWeightTpl; variable39 typedef LogWeightTpl<float> LogWeight;
39 using fst::LogWeightTpl;83 WeightTester<LogWeightTpl<T>, LogWeightGenerator_<T> > in TestTemplatedWeights()116 CHECK(LogWeightTpl<double>::Type() != LogWeightTpl<float>::Type()); in main()