Class MatchCaseSecondaryQuerylet

    • Constructor Summary

      Constructors 
      Constructor Description
      MatchCaseSecondaryQuerylet​(NetricsQuery qlet, double threshold, double reward, java.lang.Double penalty)
      Creates a MatchCase secondary querylet.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • MatchCaseSecondaryQuerylet

        public MatchCaseSecondaryQuerylet​(NetricsQuery qlet,
                                          double threshold,
                                          double reward,
                                          java.lang.Double penalty)
        Creates a MatchCase secondary querylet.
        Parameters:
        qlet - The underlying querylet.
        threshold - If the score for qlet is below this value, penalty is applied to the MatchCase score. The actual penalty is scaled based on where the score for qlet falls between the threshold and 0.0. threshold must be >= 0.0 and <= 1.0.
        If the score for qlet is above this value, reward is applied to the MatchCase score. The actual reward is scaled based on where the score for qlet falls between the threshold and 1.0.
        reward - Increases the score if the score for qlet is above the threshold. Must be >= 0.0 and <= 1.0.
        penalty - Decreases the score if the score for qlet is below the threshold. If null, penalty will be the same as reward. If not null, must be >= 0.0 and <= 1.0. The actual reward is scaled based on where the score for qlet falls between 0.0 and the threshold.