Interface ImpactHandler<Tuple_ extends Tuple>


@NullMarked public interface ImpactHandler<Tuple_ extends Tuple>
  • Method Details

    • impactNaked

      ScoreImpact<?> impactNaked(WeightedScoreImpacter<?,?> impacter, Tuple_ tuple)
      Impacts the score, providing neither constraint match information, neither justification for it.
      Parameters:
      impacter - knows which level(s) of the score to impact, and using which type of number
      tuple - the tuple that triggered the impact
      Returns:
      run to undo the impact
    • impactWithoutJustification

      ScoreImpact<?> impactWithoutJustification(WeightedScoreImpacter<?,?> impacter, Tuple_ tuple)
      Impacts the score, providing constraint match information but justification for it.
      Parameters:
      impacter - knows which level(s) of the score to impact, and using which type of number
      tuple - the tuple that triggered the impact
      Returns:
      run to undo the impact
    • impactFull

      ScoreImpact<?> impactFull(WeightedScoreImpacter<?,?> impacter, Tuple_ tuple)
      Impacts the score, providing all available metadata.
      Parameters:
      impacter - knows which level(s) of the score to impact, and using which type of number
      tuple - the tuple that triggered the impact
      Returns:
      run to undo the impact