Searched refs:TropicalWeight (Results 1 – 5 of 5) sorted by relevance
116 class TropicalWeight : public FloatWeight {118 typedef TropicalWeight ReverseWeight;120 TropicalWeight() : FloatWeight() {} in TropicalWeight() function122 TropicalWeight(float f) : FloatWeight(f) {} in TropicalWeight() function124 TropicalWeight(const TropicalWeight &w) : FloatWeight(w) {} in TropicalWeight() function126 static const TropicalWeight Zero() { return TropicalWeight(kPosInfinity); } in Zero()128 static const TropicalWeight One() { return TropicalWeight(0.0F); } in One()140 TropicalWeight Quantize(float delta = kDelta) const {141 return TropicalWeight(floor(Value()/delta + 0.5F) * delta);144 TropicalWeight Reverse() const { return *this; } in Reverse()[all …]
28 class TropicalWeight; variable
39 typedef TropicalWeight Weight;
32 typedef TropicalWeight Weight;
405 TropicalWeight WeightFromString<TropicalWeight>::operator()(const string &s) { in operator()408 return TropicalWeight(f); in operator()