Uses of Class
ai.timefold.solver.constraint.streams.common.inliner.ScoreContext
-
Packages that use ScoreContext Package Description ai.timefold.solver.constraint.streams.common.inliner -
-
Uses of ScoreContext in ai.timefold.solver.constraint.streams.common.inliner
Classes in ai.timefold.solver.constraint.streams.common.inliner with type parameters of type ScoreContext Modifier and Type Interface Description interfaceWeightedScoreImpacter<Score_ extends Score<Score_>,Context_ extends ScoreContext<Score_,?>>There are several valid ways how an impacter could be called from a constraint stream:.penalize(..., (int) 1).penalizeLong(..., (int) 1).penalizeLong(..., (long) 1).penalizeBigDecimal(..., (int) 1).penalizeBigDecimal(..., (long) 1).penalizeBigDecimal(..., BigDecimal.ONE)Plus reward variants of the above. An implementation of this interface can throw anUnsupportedOperationExceptionfor the method types it doesn't support.static interfaceWeightedScoreImpacter.BigDecimalImpactFunction<Score_ extends Score<Score_>,Context_ extends ScoreContext<Score_,?>>static interfaceWeightedScoreImpacter.IntImpactFunction<Score_ extends Score<Score_>,Context_ extends ScoreContext<Score_,?>>static interfaceWeightedScoreImpacter.LongImpactFunction<Score_ extends Score<Score_>,Context_ extends ScoreContext<Score_,?>>Methods in ai.timefold.solver.constraint.streams.common.inliner with type parameters of type ScoreContext Modifier and Type Method Description static <Score_ extends Score<Score_>,Context_ extends ScoreContext<Score_,?>>
WeightedScoreImpacter<Score_,Context_>WeightedScoreImpacter. of(Context_ context, WeightedScoreImpacter.BigDecimalImpactFunction<Score_,Context_> impactFunction)static <Score_ extends Score<Score_>,Context_ extends ScoreContext<Score_,?>>
WeightedScoreImpacter<Score_,Context_>WeightedScoreImpacter. of(Context_ context, WeightedScoreImpacter.IntImpactFunction<Score_,Context_> impactFunction)static <Score_ extends Score<Score_>,Context_ extends ScoreContext<Score_,?>>
WeightedScoreImpacter<Score_,Context_>WeightedScoreImpacter. of(Context_ context, WeightedScoreImpacter.LongImpactFunction<Score_,Context_> impactFunction)
-