Class ScoreScriptUtils.DecayNumericLinear

  • Enclosing class:
    ScoreScriptUtils

    public static final class ScoreScriptUtils.DecayNumericLinear
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      DecayNumericLinear​(double origin, double scale, double offset, double decay)  
    • Method Summary

      Modifier and Type Method Description
      double decayNumericLinear​(double docValue)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DecayNumericLinear

        public DecayNumericLinear​(double origin,
                                  double scale,
                                  double offset,
                                  double decay)
    • Method Detail

      • decayNumericLinear

        public double decayNumericLinear​(double docValue)