Interface ScoreHolder<Score_ extends Score<Score_>>

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      void penalize​(org.kie.api.runtime.rule.RuleContext kcontext)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Penalize a match by the ConstraintWeight negated.
      void reward​(org.kie.api.runtime.rule.RuleContext kcontext)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Reward a match by the ConstraintWeight.
    • Method Detail

      • penalize

        void penalize​(org.kie.api.runtime.rule.RuleContext kcontext)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Penalize a match by the ConstraintWeight negated.
        Parameters:
        kcontext - never null, the magic variable in DRL
      • reward

        void reward​(org.kie.api.runtime.rule.RuleContext kcontext)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Reward a match by the ConstraintWeight.
        Parameters:
        kcontext - never null, the magic variable in DRL