Searched refs:LogWeight (Results 1 – 5 of 5) sorted by relevance
182 class LogWeight : public FloatWeight {184 typedef LogWeight ReverseWeight;186 LogWeight() : FloatWeight() {} in LogWeight() function188 LogWeight(float f) : FloatWeight(f) {} in LogWeight() function190 LogWeight(const LogWeight &w) : FloatWeight(w) {} in LogWeight() function192 static const LogWeight Zero() { return LogWeight(kPosInfinity); } in Zero()194 static const LogWeight One() { return LogWeight(0.0F); } in One()206 LogWeight Quantize(float delta = kDelta) const {207 return LogWeight(floor(Value()/delta + 0.5F) * delta);210 LogWeight Reverse() const { return *this; } in Reverse()[all …]
27 class LogWeight; variable
66 typedef LogWeight Weight;
56 typedef LogWeight Weight;
413 LogWeight WeightFromString<LogWeight>::operator()(const string &s) { in operator()416 return LogWeight(f); in operator()