Uses of Interface
ai.timefold.solver.core.api.score.Score
Packages that use Score
Package
Description
Domain annotations and support classes for a planning solution.
Classes used for
Score calculation.The
ConstraintStream API for bi-tuples.The
ConstraintStream API for four matched facts.The
ConstraintStream API for tri-tuples.The
ConstraintStream API for uni-tuples.Solver, SolverFactory, ...Event listeners for
Solver.This package contains performance-sensitive code.
Contains streams that serve as bridges.
-
Uses of Score in ai.timefold.solver.core.api.domain.solution
Classes in ai.timefold.solver.core.api.domain.solution with type parameters of type ScoreModifier and TypeInterfaceDescriptioninterfaceConstraintWeightOverrides<Score_ extends Score<Score_>>Used to override constraint weights defined in Constraint Streams, e.g., inUniConstraintStream.penalize(Score).Methods in ai.timefold.solver.core.api.domain.solution with type parameters of type ScoreModifier and TypeMethodDescriptionstatic <Score_ extends Score<Score_>>
ConstraintWeightOverrides<Score_>ConstraintWeightOverrides.none()static <Score_ extends Score<Score_>>
ConstraintWeightOverrides<Score_> -
Uses of Score in ai.timefold.solver.core.api.score
Classes in ai.timefold.solver.core.api.score with type parameters of type ScoreModifier and TypeInterfaceDescriptioninterfaceA Score is result of the score function (AKA fitness function) on a single possible solution.interfaceScoreExplanation<Solution_,Score_ extends Score<Score_>> Build bySolutionManager.explain(Object)to holdConstraintMatchTotals andIndictments necessary to explain the quality of a particularScore.interfaceScoreManager<Solution_,Score_ extends Score<Score_>> Deprecated, for removal: This API element is subject to removal in a future version.Subinterfaces of Score in ai.timefold.solver.core.api.scoreModifier and TypeInterfaceDescriptioninterfaceIBendableScore<Score_ extends IBendableScore<Score_>>Bendable score is aScorewhoseIBendableScore.hardLevelsSize()andIBendableScore.softLevelsSize()are only known at runtime.Classes in ai.timefold.solver.core.api.score that implement ScoreModifier and TypeClassDescriptionclassAbstractBendableScore<Score_ extends AbstractBendableScore<Score_>>Deprecated, for removal: This API element is subject to removal in a future version.ImplementIBendableScoreinstead.classAbstractScore<Score_ extends AbstractScore<Score_>>Deprecated, for removal: This API element is subject to removal in a future version.ImplementScoreinstead.Methods in ai.timefold.solver.core.api.score with type parameters of type ScoreModifier and TypeMethodDescriptionstatic <Solution_,Score_ extends Score<Score_>>
ScoreManager<Solution_,Score_> ScoreManager.create(SolverFactory<Solution_> solverFactory) Deprecated, for removal: This API element is subject to removal in a future version.Uses aSolverFactoryto build aScoreManager.static <Solution_,Score_ extends Score<Score_>, ProblemId_>
ScoreManager<Solution_,Score_> ScoreManager.create(SolverManager<Solution_, ProblemId_> solverManager) Deprecated, for removal: This API element is subject to removal in a future version.Uses aSolverManagerto build aScoreManager. -
Uses of Score in ai.timefold.solver.core.api.score.analysis
Classes in ai.timefold.solver.core.api.score.analysis with type parameters of type ScoreModifier and TypeClassDescriptionfinal recordConstraintAnalysis<Score_ extends Score<Score_>>Note: Users should never create instances of this type directly.final recordMatchAnalysis<Score_ extends Score<Score_>>Note: Users should never create instances of this type directly.final recordScoreAnalysis<Score_ extends Score<Score_>>Represents the breakdown of aScoreinto individualConstraintAnalysisinstances, one for each constraint. -
Uses of Score in ai.timefold.solver.core.api.score.buildin.bendable
Classes in ai.timefold.solver.core.api.score.buildin.bendable that implement Score -
Uses of Score in ai.timefold.solver.core.api.score.buildin.bendablebigdecimal
Classes in ai.timefold.solver.core.api.score.buildin.bendablebigdecimal that implement ScoreModifier and TypeClassDescriptionfinal classThisScoreis based on n levels ofBigDecimalconstraints. -
Uses of Score in ai.timefold.solver.core.api.score.buildin.bendablelong
Classes in ai.timefold.solver.core.api.score.buildin.bendablelong that implement ScoreModifier and TypeClassDescriptionfinal classThisScoreis based on n levels of long constraints. -
Uses of Score in ai.timefold.solver.core.api.score.buildin.hardmediumsoft
Classes in ai.timefold.solver.core.api.score.buildin.hardmediumsoft that implement ScoreModifier and TypeClassDescriptionfinal classThisScoreis based on 3 levels of int constraints: hard, medium and soft. -
Uses of Score in ai.timefold.solver.core.api.score.buildin.hardmediumsoftbigdecimal
Classes in ai.timefold.solver.core.api.score.buildin.hardmediumsoftbigdecimal that implement ScoreModifier and TypeClassDescriptionfinal classThisScoreis based on 3 levels ofBigDecimalconstraints: hard, medium and soft. -
Uses of Score in ai.timefold.solver.core.api.score.buildin.hardmediumsoftlong
Classes in ai.timefold.solver.core.api.score.buildin.hardmediumsoftlong that implement ScoreModifier and TypeClassDescriptionfinal classThisScoreis based on 3 levels of long constraints: hard, medium and soft. -
Uses of Score in ai.timefold.solver.core.api.score.buildin.hardsoft
Classes in ai.timefold.solver.core.api.score.buildin.hardsoft that implement ScoreModifier and TypeClassDescriptionfinal classThisScoreis based on 2 levels of int constraints: hard and soft. -
Uses of Score in ai.timefold.solver.core.api.score.buildin.hardsoftbigdecimal
Classes in ai.timefold.solver.core.api.score.buildin.hardsoftbigdecimal that implement ScoreModifier and TypeClassDescriptionfinal classThisScoreis based on 2 levels ofBigDecimalconstraints: hard and soft. -
Uses of Score in ai.timefold.solver.core.api.score.buildin.hardsoftlong
Classes in ai.timefold.solver.core.api.score.buildin.hardsoftlong that implement ScoreModifier and TypeClassDescriptionfinal classThisScoreis based on 2 levels of long constraints: hard and soft. -
Uses of Score in ai.timefold.solver.core.api.score.buildin.simple
Classes in ai.timefold.solver.core.api.score.buildin.simple that implement Score -
Uses of Score in ai.timefold.solver.core.api.score.buildin.simplebigdecimal
Classes in ai.timefold.solver.core.api.score.buildin.simplebigdecimal that implement ScoreModifier and TypeClassDescriptionfinal classThisScoreis based on 1 level ofBigDecimalconstraints. -
Uses of Score in ai.timefold.solver.core.api.score.buildin.simplelong
Classes in ai.timefold.solver.core.api.score.buildin.simplelong that implement Score -
Uses of Score in ai.timefold.solver.core.api.score.calculator
Classes in ai.timefold.solver.core.api.score.calculator with type parameters of type ScoreModifier and TypeInterfaceDescriptioninterfaceConstraintMatchAwareIncrementalScoreCalculator<Solution_,Score_ extends Score<Score_>> Allows aIncrementalScoreCalculatorto reportConstraintMatchTotals for explaining a score (= which score constraints match for how much) and also for score corruption analysis.interfaceEasyScoreCalculator<Solution_,Score_ extends Score<Score_>> Used for easy javaScorecalculation.interfaceIncrementalScoreCalculator<Solution_,Score_ extends Score<Score_>> Used for incremental javaScorecalculation. -
Uses of Score in ai.timefold.solver.core.api.score.constraint
Classes in ai.timefold.solver.core.api.score.constraint with type parameters of type ScoreModifier and TypeClassDescriptionfinal classConstraintMatch<Score_ extends Score<Score_>>Retrievable fromConstraintMatchTotal.getConstraintMatchSet()andIndictment.getConstraintMatchSet().interfaceConstraintMatchTotal<Score_ extends Score<Score_>>interfaceIndictment<Score_ extends Score<Score_>> -
Uses of Score in ai.timefold.solver.core.api.score.stream
Methods in ai.timefold.solver.core.api.score.stream with type parameters of type ScoreModifier and TypeMethodDescriptiondefault <Score_ extends Score<Score_>>
@Nullable Score_Constraint.getConstraintWeight()Returns the weight of the constraint as defined in theConstraintProvider, without any overrides.<Score_ extends Score<Score_>>
Score_DefaultConstraintJustification.getImpact()Methods in ai.timefold.solver.core.api.score.stream with parameters of type ScoreModifier and TypeMethodDescription@NonNull ConstraintDeprecated, for removal: This API element is subject to removal in a future version.PreferUniConstraintStream.impact(Score)and equivalent bi/tri/... overloads.@NonNull ConstraintConstraintStream.impact(@NonNull String constraintPackage, @NonNull String constraintName, @NonNull Score<?> constraintWeight) Deprecated, for removal: This API element is subject to removal in a future version.PreferUniConstraintStream.impact(Score)and equivalent bi/tri/... overloads.static @NonNull DefaultConstraintJustificationstatic @NonNull DefaultConstraintJustificationstatic @NonNull DefaultConstraintJustificationstatic @NonNull DefaultConstraintJustificationstatic @NonNull DefaultConstraintJustificationDefaultConstraintJustification.of(Score<?> impact, Object factA, Object factB, Object factC, Object factD) static @NonNull DefaultConstraintJustification@NonNull ConstraintDeprecated, for removal: This API element is subject to removal in a future version.PreferUniConstraintStream.penalize(Score)and equivalent bi/tri/... overloads.@NonNull ConstraintConstraintStream.penalize(@NonNull String constraintPackage, @NonNull String constraintName, @NonNull Score<?> constraintWeight) Deprecated, for removal: This API element is subject to removal in a future version.PreferUniConstraintStream.penalize(Score)and equivalent bi/tri/... overloads.@NonNull ConstraintDeprecated, for removal: This API element is subject to removal in a future version.PreferUniConstraintStream.reward(Score)and equivalent bi/tri/... overloads.@NonNull ConstraintConstraintStream.reward(@NonNull String constraintPackage, @NonNull String constraintName, @NonNull Score<?> constraintWeight) Deprecated, for removal: This API element is subject to removal in a future version.PreferUniConstraintStream.reward(Score)and equivalent bi/tri/... overloads. -
Uses of Score in ai.timefold.solver.core.api.score.stream.bi
Classes in ai.timefold.solver.core.api.score.stream.bi with type parameters of type ScoreModifier and TypeInterfaceDescriptioninterfaceBiConstraintBuilder<A,B, Score_ extends Score<Score_>> Used to build aConstraintout of aBiConstraintStream, applying optional configuration.Methods in ai.timefold.solver.core.api.score.stream.bi with type parameters of type ScoreModifier and TypeMethodDescriptiondefault <Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> BiConstraintStream.impact(@NonNull Score_ constraintWeight) Positively or negatively impacts theScoreby the constraintWeight for each match and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> BiConstraintStream.impact(@NonNull Score_ constraintWeight, @NonNull ToIntBiFunction<A, B> matchWeigher) Positively or negatively impacts theScoreby constraintWeight multiplied by matchWeight for each match and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> BiConstraintStream.impactBigDecimal(@NonNull Score_ constraintWeight, @NonNull BiFunction<A, B, BigDecimal> matchWeigher) As defined byBiConstraintStream.impact(Score, ToIntBiFunction), with an impact of typeBigDecimal.<Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> BiConstraintStream.impactLong(@NonNull Score_ constraintWeight, @NonNull ToLongBiFunction<A, B> matchWeigher) As defined byBiConstraintStream.impact(Score, ToIntBiFunction), with an impact of type long.<Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> BiConstraintStream.penalize(@NonNull Score_ constraintWeight, @NonNull ToIntBiFunction<A, B> matchWeigher) Applies a negativeScoreimpact, subtracting the constraintWeight multiplied by the match weight, and returns a builder to apply optional constraint properties.default <Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> BiConstraintStream.penalize(Score_ constraintWeight) As defined byBiConstraintStream.penalize(Score, ToIntBiFunction), where the match weight is one (1).<Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> BiConstraintStream.penalizeBigDecimal(@NonNull Score_ constraintWeight, @NonNull BiFunction<A, B, BigDecimal> matchWeigher) As defined byBiConstraintStream.penalize(Score, ToIntBiFunction), with a penalty of typeBigDecimal.default <Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> BiConstraintStream.penalizeBigDecimal(Score_ constraintWeight) As defined byBiConstraintStream.penalizeBigDecimal(Score, BiFunction), where the match weight is one (1).<Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> BiConstraintStream.penalizeLong(@NonNull Score_ constraintWeight, @NonNull ToLongBiFunction<A, B> matchWeigher) As defined byBiConstraintStream.penalize(Score, ToIntBiFunction), with a penalty of type long.default <Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> BiConstraintStream.penalizeLong(Score_ constraintWeight) As defined byBiConstraintStream.penalizeLong(Score, ToLongBiFunction), where the match weight is one (1).default <Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> BiConstraintStream.reward(@NonNull Score_ constraintWeight) As defined byBiConstraintStream.reward(Score, ToIntBiFunction), where the match weight is one (1).<Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> BiConstraintStream.reward(@NonNull Score_ constraintWeight, @NonNull ToIntBiFunction<A, B> matchWeigher) Applies a positiveScoreimpact, adding the constraintWeight multiplied by the match weight, and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> BiConstraintStream.rewardBigDecimal(@NonNull Score_ constraintWeight, @NonNull BiFunction<A, B, BigDecimal> matchWeigher) As defined byBiConstraintStream.reward(Score, ToIntBiFunction), with a penalty of typeBigDecimal.<Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> BiConstraintStream.rewardLong(@NonNull Score_ constraintWeight, @NonNull ToLongBiFunction<A, B> matchWeigher) As defined byBiConstraintStream.reward(Score, ToIntBiFunction), with a penalty of type long.Methods in ai.timefold.solver.core.api.score.stream.bi with parameters of type ScoreModifier and TypeMethodDescriptiondefault ConstraintBiConstraintStream.impact(String constraintName, Score<?> constraintWeight, ToIntBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintBiConstraintStream.impact(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintBiConstraintStream.impactBigDecimal(String constraintName, Score<?> constraintWeight, BiFunction<A, B, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintBiConstraintStream.impactBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, BiFunction<A, B, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintBiConstraintStream.impactLong(String constraintName, Score<?> constraintWeight, ToLongBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintBiConstraintStream.impactLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintBiConstraintStream.penalize(String constraintName, Score<?> constraintWeight, ToIntBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintBiConstraintStream.penalize(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintBiConstraintStream.penalizeBigDecimal(String constraintName, Score<?> constraintWeight, BiFunction<A, B, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintBiConstraintStream.penalizeBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, BiFunction<A, B, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintBiConstraintStream.penalizeLong(String constraintName, Score<?> constraintWeight, ToLongBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintBiConstraintStream.penalizeLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintBiConstraintStream.reward(String constraintName, Score<?> constraintWeight, ToIntBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintBiConstraintStream.reward(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintBiConstraintStream.rewardBigDecimal(String constraintName, Score<?> constraintWeight, BiFunction<A, B, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintBiConstraintStream.rewardBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, BiFunction<A, B, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintBiConstraintStream.rewardLong(String constraintName, Score<?> constraintWeight, ToLongBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintBiConstraintStream.rewardLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Score in ai.timefold.solver.core.api.score.stream.quad
Classes in ai.timefold.solver.core.api.score.stream.quad with type parameters of type ScoreModifier and TypeInterfaceDescriptioninterfaceQuadConstraintBuilder<A,B, C, D, Score_ extends Score<Score_>> Used to build aConstraintout of aQuadConstraintStream, applying optional configuration.Methods in ai.timefold.solver.core.api.score.stream.quad with type parameters of type ScoreModifier and TypeMethodDescriptionQuadConstraintStream.impact(@NonNull Score_ constraintWeight) Positively or negatively impacts theScoreby the constraintWeight for each match and returns a builder to apply optional constraint properties.QuadConstraintStream.impact(@NonNull Score_ constraintWeight, @NonNull ToIntQuadFunction<A, B, C, D> matchWeigher) Positively or negatively impacts theScoreby constraintWeight multiplied by matchWeight for each match and returns a builder to apply optional constraint properties.QuadConstraintStream.impactBigDecimal(@NonNull Score_ constraintWeight, @NonNull QuadFunction<A, B, C, D, BigDecimal> matchWeigher) As defined byQuadConstraintStream.impact(Score, ToIntQuadFunction), with an impact of typeBigDecimal.QuadConstraintStream.impactLong(@NonNull Score_ constraintWeight, @NonNull ToLongQuadFunction<A, B, C, D> matchWeigher) As defined byQuadConstraintStream.impact(Score, ToIntQuadFunction), with an impact of type long.QuadConstraintStream.penalize(@NonNull Score_ constraintWeight) As defined byQuadConstraintStream.penalize(Score, ToIntQuadFunction), where the match weight is one (1).QuadConstraintStream.penalize(@NonNull Score_ constraintWeight, @NonNull ToIntQuadFunction<A, B, C, D> matchWeigher) Applies a negativeScoreimpact, subtracting the constraintWeight multiplied by the match weight, and returns a builder to apply optional constraint properties.QuadConstraintStream.penalizeBigDecimal(@NonNull Score_ constraintWeight) As defined byQuadConstraintStream.penalizeBigDecimal(Score, QuadFunction), where the match weight is one (1).QuadConstraintStream.penalizeBigDecimal(@NonNull Score_ constraintWeight, @NonNull QuadFunction<A, B, C, D, BigDecimal> matchWeigher) As defined byQuadConstraintStream.penalize(Score, ToIntQuadFunction), with a penalty of typeBigDecimal.QuadConstraintStream.penalizeLong(@NonNull Score_ constraintWeight) As defined byQuadConstraintStream.penalizeLong(Score, ToLongQuadFunction), where the match weight is one (1).QuadConstraintStream.penalizeLong(@NonNull Score_ constraintWeight, @NonNull ToLongQuadFunction<A, B, C, D> matchWeigher) As defined byQuadConstraintStream.penalize(Score, ToIntQuadFunction), with a penalty of type long.QuadConstraintStream.reward(@NonNull Score_ constraintWeight) As defined byQuadConstraintStream.reward(Score, ToIntQuadFunction), where the match weight is one (1).QuadConstraintStream.reward(@NonNull Score_ constraintWeight, @NonNull ToIntQuadFunction<A, B, C, D> matchWeigher) Applies a positiveScoreimpact, adding the constraintWeight multiplied by the match weight, and returns a builder to apply optional constraint properties.QuadConstraintStream.rewardBigDecimal(@NonNull Score_ constraintWeight, @NonNull QuadFunction<A, B, C, D, BigDecimal> matchWeigher) As defined byQuadConstraintStream.reward(Score, ToIntQuadFunction), with a penalty of typeBigDecimal.QuadConstraintStream.rewardLong(@NonNull Score_ constraintWeight, @NonNull ToLongQuadFunction<A, B, C, D> matchWeigher) As defined byQuadConstraintStream.reward(Score, ToIntQuadFunction), with a penalty of type long.Methods in ai.timefold.solver.core.api.score.stream.quad with parameters of type ScoreModifier and TypeMethodDescriptiondefault ConstraintQuadConstraintStream.impact(String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintQuadConstraintStream.impact(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintQuadConstraintStream.impactBigDecimal(String constraintName, Score<?> constraintWeight, QuadFunction<A, B, C, D, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintQuadConstraintStream.impactBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A, B, C, D, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintQuadConstraintStream.impactLong(String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintQuadConstraintStream.impactLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintQuadConstraintStream.penalize(String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintQuadConstraintStream.penalize(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintQuadConstraintStream.penalizeBigDecimal(String constraintName, Score<?> constraintWeight, QuadFunction<A, B, C, D, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintQuadConstraintStream.penalizeBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A, B, C, D, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintQuadConstraintStream.penalizeLong(String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintQuadConstraintStream.penalizeLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintQuadConstraintStream.reward(String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintQuadConstraintStream.reward(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintQuadConstraintStream.rewardBigDecimal(String constraintName, Score<?> constraintWeight, QuadFunction<A, B, C, D, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintQuadConstraintStream.rewardBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A, B, C, D, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintQuadConstraintStream.rewardLong(String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintQuadConstraintStream.rewardLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Score in ai.timefold.solver.core.api.score.stream.tri
Classes in ai.timefold.solver.core.api.score.stream.tri with type parameters of type ScoreModifier and TypeInterfaceDescriptioninterfaceTriConstraintBuilder<A,B, C, Score_ extends Score<Score_>> Used to build aConstraintout of aTriConstraintStream, applying optional configuration.Methods in ai.timefold.solver.core.api.score.stream.tri with type parameters of type ScoreModifier and TypeMethodDescriptiondefault <Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.impact(@NonNull Score_ constraintWeight) Positively or negatively impacts theScoreby the constraintWeight for each match and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.impact(@NonNull Score_ constraintWeight, @NonNull ToIntTriFunction<A, B, C> matchWeigher) Positively or negatively impacts theScoreby constraintWeight multiplied by matchWeight for each match and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.impactBigDecimal(@NonNull Score_ constraintWeight, @NonNull TriFunction<A, B, C, BigDecimal> matchWeigher) As defined byTriConstraintStream.impact(Score, ToIntTriFunction), with an impact of typeBigDecimal.<Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.impactLong(@NonNull Score_ constraintWeight, @NonNull ToLongTriFunction<A, B, C> matchWeigher) As defined byTriConstraintStream.impact(Score, ToIntTriFunction), with an impact of type long.default <Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.penalize(@NonNull Score_ constraintWeight) As defined byTriConstraintStream.penalize(Score, ToIntTriFunction), where the match weight is one (1).<Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.penalize(@NonNull Score_ constraintWeight, @NonNull ToIntTriFunction<A, B, C> matchWeigher) Applies a negativeScoreimpact, subtracting the constraintWeight multiplied by the match weight, and returns a builder to apply optional constraint properties.default <Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.penalizeBigDecimal(@NonNull Score_ constraintWeight) As defined byTriConstraintStream.penalizeBigDecimal(Score, TriFunction), where the match weight is one (1).<Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.penalizeBigDecimal(@NonNull Score_ constraintWeight, @NonNull TriFunction<A, B, C, BigDecimal> matchWeigher) As defined byTriConstraintStream.penalize(Score, ToIntTriFunction), with a penalty of typeBigDecimal.default <Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.penalizeLong(@NonNull Score_ constraintWeight) As defined byTriConstraintStream.penalizeLong(Score, ToLongTriFunction), where the match weight is one (1).<Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.penalizeLong(@NonNull Score_ constraintWeight, @NonNull ToLongTriFunction<A, B, C> matchWeigher) As defined byTriConstraintStream.penalize(Score, ToIntTriFunction), with a penalty of type long.default <Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.reward(@NonNull Score_ constraintWeight) As defined byTriConstraintStream.reward(Score, ToIntTriFunction), where the match weight is one (1).<Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.reward(@NonNull Score_ constraintWeight, @NonNull ToIntTriFunction<A, B, C> matchWeigher) Applies a positiveScoreimpact, adding the constraintWeight multiplied by the match weight, and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.rewardBigDecimal(@NonNull Score_ constraintWeight, @NonNull TriFunction<A, B, C, BigDecimal> matchWeigher) As defined byTriConstraintStream.reward(Score, ToIntTriFunction), with a penalty of typeBigDecimal.<Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.rewardLong(@NonNull Score_ constraintWeight, @NonNull ToLongTriFunction<A, B, C> matchWeigher) As defined byTriConstraintStream.reward(Score, ToIntTriFunction), with a penalty of type long.Methods in ai.timefold.solver.core.api.score.stream.tri with parameters of type ScoreModifier and TypeMethodDescriptiondefault ConstraintTriConstraintStream.impact(String constraintName, Score<?> constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintTriConstraintStream.impact(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintTriConstraintStream.impactBigDecimal(String constraintName, Score<?> constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintTriConstraintStream.impactBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintTriConstraintStream.impactLong(String constraintName, Score<?> constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintTriConstraintStream.impactLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintTriConstraintStream.penalize(String constraintName, Score<?> constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintTriConstraintStream.penalize(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintTriConstraintStream.penalizeBigDecimal(String constraintName, Score<?> constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintTriConstraintStream.penalizeBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintTriConstraintStream.penalizeLong(String constraintName, Score<?> constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintTriConstraintStream.penalizeLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintTriConstraintStream.reward(String constraintName, Score<?> constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintTriConstraintStream.reward(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintTriConstraintStream.rewardBigDecimal(String constraintName, Score<?> constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintTriConstraintStream.rewardBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintTriConstraintStream.rewardLong(String constraintName, Score<?> constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintTriConstraintStream.rewardLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Score in ai.timefold.solver.core.api.score.stream.uni
Classes in ai.timefold.solver.core.api.score.stream.uni with type parameters of type ScoreModifier and TypeInterfaceDescriptioninterfaceUniConstraintBuilder<A,Score_ extends Score<Score_>> Used to build aConstraintout of aUniConstraintStream, applying optional configuration.Methods in ai.timefold.solver.core.api.score.stream.uni with type parameters of type ScoreModifier and TypeMethodDescriptiondefault <Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> UniConstraintStream.impact(@NonNull Score_ constraintWeight) Positively or negatively impacts theScoreby the constraintWeight for each match and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> UniConstraintStream.impact(@NonNull Score_ constraintWeight, @NonNull ToIntFunction<A> matchWeigher) Positively or negatively impacts theScoreby constraintWeight multiplied by matchWeight for each match and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> UniConstraintStream.impactBigDecimal(@NonNull Score_ constraintWeight, @NonNull Function<A, BigDecimal> matchWeigher) As defined byUniConstraintStream.impact(Score, ToIntFunction), with an impact of typeBigDecimal.<Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> UniConstraintStream.impactLong(@NonNull Score_ constraintWeight, @NonNull ToLongFunction<A> matchWeigher) As defined byUniConstraintStream.impact(Score, ToIntFunction), with an impact of type long.default <Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> UniConstraintStream.penalize(@NonNull Score_ constraintWeight) As defined byUniConstraintStream.penalize(Score, ToIntFunction), where the match weight is one (1).<Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> UniConstraintStream.penalize(@NonNull Score_ constraintWeight, @NonNull ToIntFunction<A> matchWeigher) Applies a negativeScoreimpact, subtracting the constraintWeight multiplied by the match weight, and returns a builder to apply optional constraint properties.default <Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> UniConstraintStream.penalizeBigDecimal(@NonNull Score_ constraintWeight) As defined byUniConstraintStream.penalizeBigDecimal(Score, Function), where the match weight is one (1).<Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> UniConstraintStream.penalizeBigDecimal(@NonNull Score_ constraintWeight, @NonNull Function<A, BigDecimal> matchWeigher) As defined byUniConstraintStream.penalize(Score, ToIntFunction), with a penalty of typeBigDecimal.default <Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> UniConstraintStream.penalizeLong(@NonNull Score_ constraintWeight) As defined byUniConstraintStream.penalizeLong(Score, ToLongFunction), where the match weight is one (1).<Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> UniConstraintStream.penalizeLong(@NonNull Score_ constraintWeight, @NonNull ToLongFunction<A> matchWeigher) As defined byUniConstraintStream.penalize(Score, ToIntFunction), with a penalty of type long.default <Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> UniConstraintStream.reward(@NonNull Score_ constraintWeight) As defined byUniConstraintStream.reward(Score, ToIntFunction), where the match weight is one (1).<Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> UniConstraintStream.reward(@NonNull Score_ constraintWeight, @NonNull ToIntFunction<A> matchWeigher) Applies a positiveScoreimpact, adding the constraintWeight multiplied by the match weight, and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> UniConstraintStream.rewardBigDecimal(@NonNull Score_ constraintWeight, @NonNull Function<A, BigDecimal> matchWeigher) As defined byUniConstraintStream.reward(Score, ToIntFunction), with a penalty of typeBigDecimal.<Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> UniConstraintStream.rewardLong(@NonNull Score_ constraintWeight, @NonNull ToLongFunction<A> matchWeigher) As defined byUniConstraintStream.reward(Score, ToIntFunction), with a penalty of type long.Methods in ai.timefold.solver.core.api.score.stream.uni with parameters of type ScoreModifier and TypeMethodDescriptiondefault ConstraintUniConstraintStream.impact(String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintUniConstraintStream.impact(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintUniConstraintStream.impactBigDecimal(String constraintName, Score<?> constraintWeight, Function<A, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintUniConstraintStream.impactBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, Function<A, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintUniConstraintStream.impactLong(String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintUniConstraintStream.impactLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintUniConstraintStream.penalize(String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintUniConstraintStream.penalize(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintUniConstraintStream.penalizeBigDecimal(String constraintName, Score<?> constraintWeight, Function<A, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintUniConstraintStream.penalizeBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, Function<A, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintUniConstraintStream.penalizeLong(String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintUniConstraintStream.penalizeLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintUniConstraintStream.reward(String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintUniConstraintStream.reward(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintUniConstraintStream.rewardBigDecimal(String constraintName, Score<?> constraintWeight, Function<A, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintUniConstraintStream.rewardBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, Function<A, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintUniConstraintStream.rewardLong(String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default ConstraintUniConstraintStream.rewardLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Score in ai.timefold.solver.core.api.solver
Classes in ai.timefold.solver.core.api.solver with type parameters of type ScoreModifier and TypeInterfaceDescriptioninterfaceRecommendedAssignment<Proposition_,Score_ extends Score<Score_>> Represents the result of the Assignment Recommendation API, seeSolutionManager.recommendFit(Object, Object, Function).interfaceRecommendedFit<Proposition_,Score_ extends Score<Score_>> Deprecated, for removal: This API element is subject to removal in a future version.PreferRecommendedAssignmentinstead.interfaceSolutionManager<Solution_,Score_ extends Score<Score_>> Methods in ai.timefold.solver.core.api.solver with type parameters of type ScoreModifier and TypeMethodDescriptionstatic <Solution_,Score_ extends Score<Score_>>
@NonNull SolutionManager<Solution_,Score_> SolutionManager.create(@NonNull SolverFactory<Solution_> solverFactory) Uses aSolverFactoryto build aSolutionManager.static <Solution_,Score_ extends Score<Score_>, ProblemId_>
@NonNull SolutionManager<Solution_,Score_> SolutionManager.create(@NonNull SolverManager<Solution_, ProblemId_> solverManager) Uses aSolverManagerto build aSolutionManager. -
Uses of Score in ai.timefold.solver.core.api.solver.event
Methods in ai.timefold.solver.core.api.solver.event that return ScoreModifier and TypeMethodDescription@NonNull ScoreBestSolutionChangedEvent.getNewBestScore()Returns theScoreof theBestSolutionChangedEvent.getNewBestSolution().Constructors in ai.timefold.solver.core.api.solver.event with parameters of type ScoreModifierConstructorDescriptionBestSolutionChangedEvent(@NonNull Solver<Solution_> solver, long timeMillisSpent, @NonNull Solution_ newBestSolution, @NonNull Score newBestScore) Deprecated, for removal: This API element is subject to removal in a future version.Users should not manually construct instances of this event.BestSolutionChangedEvent(@NonNull Solver<Solution_> solver, long timeMillisSpent, @NonNull Solution_ newBestSolution, @NonNull Score newBestScore, boolean isNewBestSolutionInitialized) Deprecated, for removal: This API element is subject to removal in a future version.Users should not manually construct instances of this event. -
Uses of Score in ai.timefold.solver.core.impl.bavet.common
Methods in ai.timefold.solver.core.impl.bavet.common with type parameters of type ScoreModifier and TypeMethodDescriptionprotected <Score_ extends Score<Score_>>
ConstraintBavetAbstractConstraintStream.buildConstraint(String constraintPackage, String constraintName, String description, String constraintGroup, Score_ constraintWeight, ScoreImpactType impactType, Object justificationFunction, Object indictedObjectsMapping, BavetScoringConstraintStream<Solution_> stream) abstract <Score_ extends Score<Score_>>
voidBavetAbstractConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) -
Uses of Score in ai.timefold.solver.core.impl.constructionheuristic.decider.forager
Methods in ai.timefold.solver.core.impl.constructionheuristic.decider.forager with type parameters of type ScoreModifier and TypeMethodDescriptionprotected <Score_ extends Score<Score_>>
voidDefaultConstructionHeuristicForager.checkPickEarly(ConstructionHeuristicMoveScope<Solution_> moveScope) -
Uses of Score in ai.timefold.solver.core.impl.domain.score.descriptor
Classes in ai.timefold.solver.core.impl.domain.score.descriptor with type parameters of type ScoreMethods in ai.timefold.solver.core.impl.domain.score.descriptor with type parameters of type ScoreModifier and TypeMethodDescriptionstatic <Score_ extends Score<Score_>>
ScoreDescriptor<Score_>ScoreDescriptor.buildScoreDescriptor(DescriptorPolicy descriptorPolicy, Member member, Class<?> solutionClass) -
Uses of Score in ai.timefold.solver.core.impl.domain.solution
Classes in ai.timefold.solver.core.impl.domain.solution with type parameters of type ScoreModifier and TypeClassDescriptionfinal classConstraintConfigurationBasedConstraintWeightSupplier<Score_ extends Score<Score_>,Solution_> Deprecated, for removal: This API element is subject to removal in a future version.UseConstraintWeightOverridesinstead.interfaceConstraintWeightSupplier<Solution_,Score_ extends Score<Score_>> final recordDefaultConstraintWeightOverrides<Score_ extends Score<Score_>>final classOverridesBasedConstraintWeightSupplier<Score_ extends Score<Score_>,Solution_> Methods in ai.timefold.solver.core.impl.domain.solution with type parameters of type ScoreModifier and TypeMethodDescriptionstatic <Solution_,Score_ extends Score<Score_>>
ConstraintWeightSupplier<Solution_,Score_> ConstraintConfigurationBasedConstraintWeightSupplier.create(SolutionDescriptor<Solution_> solutionDescriptor, Class<?> constraintConfigurationClass) Deprecated, for removal: This API element is subject to removal in a future version.static <Solution_,Score_ extends Score<Score_>>
ConstraintWeightSupplier<Solution_,Score_> OverridesBasedConstraintWeightSupplier.create(SolutionDescriptor<Solution_> solutionDescriptor, DescriptorPolicy descriptorPolicy, Field field) -
Uses of Score in ai.timefold.solver.core.impl.domain.solution.descriptor
Methods in ai.timefold.solver.core.impl.domain.solution.descriptor with type parameters of type ScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
ConstraintWeightSupplier<Solution_,Score_> SolutionDescriptor.getConstraintWeightSupplier()<Score_ extends Score<Score_>>
Score_<Score_ extends Score<Score_>>
ScoreDefinition<Score_>SolutionDescriptor.getScoreDefinition()<Score_ extends Score<Score_>>
ScoreDescriptor<Score_>SolutionDescriptor.getScoreDescriptor()<Score_ extends Score<Score_>>
voidCalled when theScorehas been calculated or predicted. -
Uses of Score in ai.timefold.solver.core.impl.exhaustivesearch
Methods in ai.timefold.solver.core.impl.exhaustivesearch with type parameters of type ScoreModifier and TypeMethodDescriptionprotected <Score_ extends Score<Score_>>
voidDefaultExhaustiveSearchPhase.restoreWorkingSolution(ExhaustiveSearchStepScope<Solution_> stepScope) -
Uses of Score in ai.timefold.solver.core.impl.exhaustivesearch.decider
Methods in ai.timefold.solver.core.impl.exhaustivesearch.decider with type parameters of type ScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
ScoreBounder<Score_>ExhaustiveSearchDecider.getScoreBounder() -
Uses of Score in ai.timefold.solver.core.impl.exhaustivesearch.node
Methods in ai.timefold.solver.core.impl.exhaustivesearch.node with type parameters of type ScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
InnerScore<Score_>ExhaustiveSearchNode.getOptimisticBound()<Score_ extends Score<Score_>>
InnerScore<Score_>ExhaustiveSearchNode.getScore()<Score_ extends Score<Score_>>
voidExhaustiveSearchNode.setInitializedScore(Score_ score) -
Uses of Score in ai.timefold.solver.core.impl.exhaustivesearch.node.bounder
Classes in ai.timefold.solver.core.impl.exhaustivesearch.node.bounder with type parameters of type ScoreModifier and TypeInterfaceDescriptioninterfaceScoreBounder<Score_ extends Score<Score_>>final classTrendBasedScoreBounder<Score_ extends Score<Score_>> -
Uses of Score in ai.timefold.solver.core.impl.exhaustivesearch.scope
Methods in ai.timefold.solver.core.impl.exhaustivesearch.scope with type parameters of type ScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
InnerScore<Score_>ExhaustiveSearchPhaseScope.getBestPessimisticBound()<Score_ extends Score<Score_>>
InnerScore<Score_>ExhaustiveSearchStepScope.getStartingStepScore()<Score_ extends Score<Score_>>
voidExhaustiveSearchPhaseScope.registerPessimisticBound(InnerScore<Score_> pessimisticBound) -
Uses of Score in ai.timefold.solver.core.impl.localsearch.decider
Methods in ai.timefold.solver.core.impl.localsearch.decider with type parameters of type ScoreModifier and TypeMethodDescriptionprotected <Score_ extends Score<Score_>>
voidLocalSearchDecider.doMove(LocalSearchMoveScope<Solution_> moveScope) -
Uses of Score in ai.timefold.solver.core.impl.localsearch.decider.acceptor.greatdeluge
Methods in ai.timefold.solver.core.impl.localsearch.decider.acceptor.greatdeluge that return ScoreModifier and TypeMethodDescriptionGreatDelugeAcceptor.getInitialWaterLevel()GreatDelugeAcceptor.getWaterLevelIncrementScore()Methods in ai.timefold.solver.core.impl.localsearch.decider.acceptor.greatdeluge with parameters of type ScoreModifier and TypeMethodDescriptionvoidGreatDelugeAcceptor.setInitialWaterLevel(Score initialLevel) voidGreatDelugeAcceptor.setWaterLevelIncrementScore(Score waterLevelIncrementScore) -
Uses of Score in ai.timefold.solver.core.impl.localsearch.decider.acceptor.simulatedannealing
Fields in ai.timefold.solver.core.impl.localsearch.decider.acceptor.simulatedannealing declared as ScoreMethods in ai.timefold.solver.core.impl.localsearch.decider.acceptor.simulatedannealing with parameters of type ScoreModifier and TypeMethodDescriptionvoidSimulatedAnnealingAcceptor.setStartingTemperature(Score startingTemperature) -
Uses of Score in ai.timefold.solver.core.impl.move.director
Classes in ai.timefold.solver.core.impl.move.director with type parameters of type ScoreModifier and TypeClassDescriptionclassMoveDirector<Solution_,Score_ extends Score<Score_>> static interfaceMoveDirector.TemporaryMovePostprocessor<Solution_,Score_ extends Score<Score_>, Result_> Allows for reading data produced by a temporary move, before it is undone.final classVariableChangeRecordingScoreDirector<Solution_,Score_ extends Score<Score_>> -
Uses of Score in ai.timefold.solver.core.impl.phase
Methods in ai.timefold.solver.core.impl.phase with type parameters of type ScoreModifier and TypeMethodDescriptionprotected <Score_ extends Score<Score_>>
voidAbstractPhase.predictWorkingStepScore(AbstractStepScope<Solution_> stepScope, Object completedAction) -
Uses of Score in ai.timefold.solver.core.impl.phase.scope
Methods in ai.timefold.solver.core.impl.phase.scope with type parameters of type ScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
voidAbstractPhaseScope.assertExpectedWorkingScore(InnerScore<Score_> expectedWorkingScore, Object completedAction) <Score_ extends Score<Score_>>
voidAbstractPhaseScope.assertPredictedScoreFromScratch(InnerScore<Score_> workingScore, Object completedAction) <Score_ extends Score<Score_>>
voidAbstractPhaseScope.assertShadowVariablesAreNotStale(InnerScore<Score_> workingScore, Object completedAction) <Score_ extends Score<Score_>>
voidAbstractPhaseScope.assertWorkingScoreFromScratch(InnerScore<Score_> workingScore, Object completedAction) <Score_ extends Score<Score_>>
InnerScore<Score_>AbstractPhaseScope.calculateScore()<Score_ extends Score<Score_>>
InnerScore<Score_>AbstractPhaseScope.getBestScore()<Score_ extends Score<Score_>>
MoveDirector<Solution_,Score_> AbstractStepScope.getMoveDirector()<Score_ extends Score<Score_>>
InnerScore<Score_>AbstractMoveScope.getScore()<Score_ extends Score<Score_>>
InnerScore<Score_>AbstractStepScope.getScore()<Score_ extends Score<Score_>>
InnerScoreDirector<Solution_,Score_> AbstractMoveScope.getScoreDirector()<Score_ extends Score<Score_>>
InnerScoreDirector<Solution_,Score_> AbstractPhaseScope.getScoreDirector()<Score_ extends Score<Score_>>
InnerScoreDirector<Solution_,Score_> AbstractStepScope.getScoreDirector()<Score_ extends Score<Score_>>
InnerScore<Score_>AbstractPhaseScope.getStartingScore()<Score_ extends Score<Score_>>
voidAbstractMoveScope.setInitializedScore(Score_ score) Methods in ai.timefold.solver.core.impl.phase.scope with parameters of type Score -
Uses of Score in ai.timefold.solver.core.impl.score
Classes in ai.timefold.solver.core.impl.score with type parameters of type ScoreModifier and TypeClassDescriptionfinal classDefaultScoreExplanation<Solution_,Score_ extends Score<Score_>> final classDefaultScoreManager<Solution_,Score_ extends Score<Score_>> Deprecated, for removal: This API element is subject to removal in a future version.UseDefaultSolutionManagerinstead.Methods in ai.timefold.solver.core.impl.score with type parameters of type ScoreModifier and TypeMethodDescriptionScoreUtil.buildShortString(Score<Score_> score, Predicate<Number> notZero, String... levelLabels) DefaultScoreExplanation.explainScore(InnerScore<Score_> workingScore, Collection<ConstraintMatchTotal<Score_>> constraintMatchTotalCollection, Collection<Indictment<Score_>> indictmentCollection) DefaultScoreExplanation.explainScore(InnerScore<Score_> workingScore, Collection<ConstraintMatchTotal<Score_>> constraintMatchTotalCollection, Collection<Indictment<Score_>> indictmentCollection, int indictmentLimit, int constraintMatchLimit) Methods in ai.timefold.solver.core.impl.score with parameters of type ScoreModifier and TypeMethodDescriptionScoreUtil.buildShortString(Score<Score_> score, Predicate<Number> notZero, String... levelLabels) Method parameters in ai.timefold.solver.core.impl.score with type arguments of type ScoreModifier and TypeMethodDescriptionstatic BigDecimalScoreUtil.parseLevelAsBigDecimal(Class<? extends Score<?>> scoreClass, String scoreString, String levelString) static intScoreUtil.parseLevelAsInt(Class<? extends Score<?>> scoreClass, String scoreString, String levelString) static longScoreUtil.parseLevelAsLong(Class<? extends Score<?>> scoreClass, String scoreString, String levelString) static String[]ScoreUtil.parseScoreTokens(Class<? extends Score<?>> scoreClass, String scoreString, String... levelSuffixes) -
Uses of Score in ai.timefold.solver.core.impl.score.constraint
Classes in ai.timefold.solver.core.impl.score.constraint with type parameters of type ScoreModifier and TypeClassDescriptionfinal classDefaultConstraintMatchTotal<Score_ extends Score<Score_>>If possible, prefer usingSolutionManager.analyze(Object)instead.final classDefaultIndictment<Score_ extends Score<Score_>> -
Uses of Score in ai.timefold.solver.core.impl.score.definition
Classes in ai.timefold.solver.core.impl.score.definition with type parameters of type ScoreModifier and TypeClassDescriptionclassAbstractBendableScoreDefinition<Score_ extends Score<Score_>>classAbstractScoreDefinition<Score_ extends Score<Score_>>Abstract superclass forScoreDefinition.interfaceScoreDefinition<Score_ extends Score<Score_>> -
Uses of Score in ai.timefold.solver.core.impl.score.director
Classes in ai.timefold.solver.core.impl.score.director with type parameters of type ScoreModifier and TypeClassDescriptionclassAbstractScoreDirector<Solution_,Score_ extends Score<Score_>, Factory_ extends AbstractScoreDirectorFactory<Solution_, Score_, Factory_>> Abstract superclass forScoreDirector.static classAbstractScoreDirector.AbstractScoreDirectorBuilder<Solution_,Score_ extends Score<Score_>, Factory_ extends AbstractScoreDirectorFactory<Solution_, Score_, Factory_>, Builder_ extends AbstractScoreDirector.AbstractScoreDirectorBuilder<Solution_, Score_, Factory_, Builder_>> An abstract builder for creating instances ofInnerScoreDirector.classAbstractScoreDirectorFactory<Solution_,Score_ extends Score<Score_>, Factory_ extends AbstractScoreDirectorFactory<Solution_, Score_, Factory_>> Abstract superclass forScoreDirectorFactory.final recordInnerScore<Score_ extends Score<Score_>>Carries information on if thePlanningSolutionof this score was fully initialized when it was calculated.interfaceInnerScoreDirector<Solution_,Score_ extends Score<Score_>> interfaceScoreDirectorFactory<Solution_,Score_ extends Score<Score_>> classScoreDirectorFactoryFactory<Solution_,Score_ extends Score<Score_>> Methods in ai.timefold.solver.core.impl.score.director with type parameters of type ScoreModifier and TypeMethodDescriptionstatic <Score_ extends Score<Score_>>
InnerScore<Score_>InnerScore.fullyAssigned(Score_ score) static <Score_ extends Score<Score_>>
ConstraintAnalysis<Score_>InnerScoreDirector.getConstraintAnalysis(ConstraintMatchTotal<Score_> constraintMatchTotal, ScoreAnalysisFetchPolicy scoreAnalysisFetchPolicy) static <Score_ extends Score<Score_>>
InnerScore<Score_>InnerScore.withUnassignedCount(Score_ score, int unassignedCount) -
Uses of Score in ai.timefold.solver.core.impl.score.director.easy
Classes in ai.timefold.solver.core.impl.score.director.easy with type parameters of type ScoreModifier and TypeClassDescriptionfinal classEasyScoreDirector<Solution_,Score_ extends Score<Score_>> Easy java implementation ofScoreDirector, which recalculates theScoreof theworking solutionevery time.static final classEasyScoreDirector.Builder<Solution_,Score_ extends Score<Score_>> final classEasyScoreDirectorFactory<Solution_,Score_ extends Score<Score_>> Easy implementation ofScoreDirectorFactory.Methods in ai.timefold.solver.core.impl.score.director.easy with type parameters of type ScoreModifier and TypeMethodDescriptionstatic <Solution_,Score_ extends Score<Score_>>
EasyScoreDirectorFactory<Solution_,Score_> EasyScoreDirectorFactory.buildScoreDirectorFactory(SolutionDescriptor<Solution_> solutionDescriptor, ScoreDirectorFactoryConfig config) -
Uses of Score in ai.timefold.solver.core.impl.score.director.incremental
Classes in ai.timefold.solver.core.impl.score.director.incremental with type parameters of type ScoreModifier and TypeClassDescriptionfinal classIncrementalScoreDirector<Solution_,Score_ extends Score<Score_>> Incremental java implementation ofScoreDirector, which only recalculates theScoreof the part of theworking solutionthat changed, instead of the going through the entirePlanningSolution.static final classIncrementalScoreDirector.Builder<Solution_,Score_ extends Score<Score_>> final classIncrementalScoreDirectorFactory<Solution_,Score_ extends Score<Score_>> Incremental implementation ofScoreDirectorFactory.Methods in ai.timefold.solver.core.impl.score.director.incremental with type parameters of type ScoreModifier and TypeMethodDescriptionstatic <Solution_,Score_ extends Score<Score_>>
IncrementalScoreDirectorFactory<Solution_,Score_> IncrementalScoreDirectorFactory.buildScoreDirectorFactory(SolutionDescriptor<Solution_> solutionDescriptor, ScoreDirectorFactoryConfig config) -
Uses of Score in ai.timefold.solver.core.impl.score.director.stream
Classes in ai.timefold.solver.core.impl.score.director.stream with type parameters of type ScoreModifier and TypeClassDescriptionfinal classBavetConstraintStreamScoreDirector<Solution_,Score_ extends Score<Score_>> FP streams implementation ofScoreDirector, which only recalculates theScoreof the part of theworking solutionthat changed, instead of the going through the entirePlanningSolution.static final classBavetConstraintStreamScoreDirector.Builder<Solution_,Score_ extends Score<Score_>> final classBavetConstraintStreamScoreDirectorFactory<Solution_,Score_ extends Score<Score_>> Methods in ai.timefold.solver.core.impl.score.director.stream with type parameters of type ScoreModifier and TypeMethodDescriptionstatic <Solution_,Score_ extends Score<Score_>>
BavetConstraintStreamScoreDirectorFactory<Solution_,Score_> BavetConstraintStreamScoreDirectorFactory.buildScoreDirectorFactory(SolutionDescriptor<Solution_> solutionDescriptor, ScoreDirectorFactoryConfig config, EnvironmentMode environmentMode) -
Uses of Score in ai.timefold.solver.core.impl.score.stream.bavet
Classes in ai.timefold.solver.core.impl.score.stream.bavet with type parameters of type ScoreModifier and TypeClassDescriptionfinal classBavetConstraintSession<Score_ extends Score<Score_>>The type is public to make it easier for Bavet-specific minimal bug reproducers to be created.final classBavetConstraintSessionFactory<Solution_,Score_ extends Score<Score_>> Constructors in ai.timefold.solver.core.impl.score.stream.bavet with parameters of type ScoreModifierConstructorDescriptionBavetConstraint(BavetConstraintFactory<Solution_> constraintFactory, ConstraintRef constraintRef, String description, String constraintGroup, Score<?> constraintWeight, ScoreImpactType scoreImpactType, Object justificationMapping, Object indictedObjectsMapping, BavetScoringConstraintStream<Solution_> scoringConstraintStream) -
Uses of Score in ai.timefold.solver.core.impl.score.stream.bavet.bi
Methods in ai.timefold.solver.core.impl.score.stream.bavet.bi with type parameters of type ScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
voidBavetBiConcatBiConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) <Score_ extends Score<Score_>>
voidBavetJoinBiConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) <Score_ extends Score<Score_>>
voidBavetUniConcatBiConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) <Score_ extends Score<Score_>>
BiConstraintBuilder<A,B, Score_> BavetAbstractBiConstraintStream.innerImpact(Score_ constraintWeight, BiFunction<A, B, BigDecimal> matchWeigher, ScoreImpactType scoreImpactType) <Score_ extends Score<Score_>>
BiConstraintBuilder<A,B, Score_> BavetAbstractBiConstraintStream.innerImpact(Score_ constraintWeight, ToIntBiFunction<A, B> matchWeigher, ScoreImpactType scoreImpactType) <Score_ extends Score<Score_>>
BiConstraintBuilder<A,B, Score_> BavetAbstractBiConstraintStream.innerImpact(Score_ constraintWeight, ToLongBiFunction<A, B> matchWeigher, ScoreImpactType scoreImpactType) Methods in ai.timefold.solver.core.impl.score.stream.bavet.bi that return types with arguments of type ScoreModifier and TypeMethodDescriptionprotected final TriFunction<A,B, Score<?>, DefaultConstraintJustification> BavetAbstractBiConstraintStream.getDefaultJustificationMapping() -
Uses of Score in ai.timefold.solver.core.impl.score.stream.bavet.common
Classes in ai.timefold.solver.core.impl.score.stream.bavet.common with type parameters of type ScoreModifier and TypeClassDescriptionfinal classConstraintNodeBuildHelper<Solution_,Score_ extends Score<Score_>> Methods in ai.timefold.solver.core.impl.score.stream.bavet.common with type parameters of type ScoreModifier and TypeMethodDescriptionstatic <Score_ extends Score<Score_>>
UndoScoreImpacterBavetScoringConstraintStream.impactWithConstraintMatchNoJustifications(WeightedScoreImpacter<Score_, ?> impacter, int matchWeight) static <Score_ extends Score<Score_>>
UndoScoreImpacterBavetScoringConstraintStream.impactWithConstraintMatchNoJustifications(WeightedScoreImpacter<Score_, ?> impacter, long matchWeight) static <Score_ extends Score<Score_>>
UndoScoreImpacterBavetScoringConstraintStream.impactWithConstraintMatchNoJustifications(WeightedScoreImpacter<Score_, ?> impacter, BigDecimal matchWeight) -
Uses of Score in ai.timefold.solver.core.impl.score.stream.bavet.common.bridge
Methods in ai.timefold.solver.core.impl.score.stream.bavet.common.bridge with type parameters of type ScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
voidBavetAftBridgeBiConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) <Score_ extends Score<Score_>>
voidBavetAftBridgeQuadConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) <Score_ extends Score<Score_>>
voidBavetAftBridgeTriConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) <Score_ extends Score<Score_>>
voidBavetAftBridgeUniConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) <Score_ extends Score<Score_>>
voidBavetForeBridgeBiConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) <Score_ extends Score<Score_>>
voidBavetForeBridgeQuadConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) <Score_ extends Score<Score_>>
voidBavetForeBridgeTriConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) <Score_ extends Score<Score_>>
voidBavetForeBridgeUniConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) -
Uses of Score in ai.timefold.solver.core.impl.score.stream.bavet.quad
Methods in ai.timefold.solver.core.impl.score.stream.bavet.quad with type parameters of type ScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
voidBavetBiConcatQuadConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) <Score_ extends Score<Score_>>
voidBavetJoinQuadConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) <Score_ extends Score<Score_>>
voidBavetQuadConcatQuadConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) <Score_ extends Score<Score_>>
voidBavetTriConcatQuadConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) <Score_ extends Score<Score_>>
voidBavetUniConcatQuadConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) BavetAbstractQuadConstraintStream.innerImpact(Score_ constraintWeight, QuadFunction<A, B, C, D, BigDecimal> matchWeigher, ScoreImpactType scoreImpactType) BavetAbstractQuadConstraintStream.innerImpact(Score_ constraintWeight, ToIntQuadFunction<A, B, C, D> matchWeigher, ScoreImpactType scoreImpactType) BavetAbstractQuadConstraintStream.innerImpact(Score_ constraintWeight, ToLongQuadFunction<A, B, C, D> matchWeigher, ScoreImpactType scoreImpactType) Methods in ai.timefold.solver.core.impl.score.stream.bavet.quad that return types with arguments of type ScoreModifier and TypeMethodDescriptionprotected final PentaFunction<A,B, C, D, Score<?>, DefaultConstraintJustification> BavetAbstractQuadConstraintStream.getDefaultJustificationMapping() -
Uses of Score in ai.timefold.solver.core.impl.score.stream.bavet.tri
Methods in ai.timefold.solver.core.impl.score.stream.bavet.tri with type parameters of type ScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
voidBavetBiConcatTriConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) <Score_ extends Score<Score_>>
voidBavetJoinTriConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) <Score_ extends Score<Score_>>
voidBavetTriConcatTriConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) <Score_ extends Score<Score_>>
voidBavetUniConcatTriConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> BavetAbstractTriConstraintStream.innerImpact(Score_ constraintWeight, ToIntTriFunction<A, B, C> matchWeigher, ScoreImpactType scoreImpactType) <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> BavetAbstractTriConstraintStream.innerImpact(Score_ constraintWeight, ToLongTriFunction<A, B, C> matchWeigher, ScoreImpactType scoreImpactType) <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> BavetAbstractTriConstraintStream.innerImpact(Score_ constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher, ScoreImpactType scoreImpactType) Methods in ai.timefold.solver.core.impl.score.stream.bavet.tri that return types with arguments of type ScoreModifier and TypeMethodDescriptionprotected final QuadFunction<A,B, C, Score<?>, DefaultConstraintJustification> BavetAbstractTriConstraintStream.getDefaultJustificationMapping() -
Uses of Score in ai.timefold.solver.core.impl.score.stream.bavet.uni
Methods in ai.timefold.solver.core.impl.score.stream.bavet.uni with type parameters of type ScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
voidBavetForEachUniConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) <Score_ extends Score<Score_>>
voidBavetUniConcatUniConstraintStream.buildNode(ConstraintNodeBuildHelper<Solution_, Score_> buildHelper) <Score_ extends Score<Score_>>
UniConstraintBuilder<A,Score_> BavetAbstractUniConstraintStream.innerImpact(Score_ constraintWeight, Function<A, BigDecimal> matchWeigher, ScoreImpactType scoreImpactType) <Score_ extends Score<Score_>>
UniConstraintBuilder<A,Score_> BavetAbstractUniConstraintStream.innerImpact(Score_ constraintWeight, ToIntFunction<A> matchWeigher, ScoreImpactType scoreImpactType) <Score_ extends Score<Score_>>
UniConstraintBuilder<A,Score_> BavetAbstractUniConstraintStream.innerImpact(Score_ constraintWeight, ToLongFunction<A> matchWeigher, ScoreImpactType scoreImpactType) Methods in ai.timefold.solver.core.impl.score.stream.bavet.uni that return types with arguments of type ScoreModifier and TypeMethodDescriptionprotected final BiFunction<A,Score<?>, DefaultConstraintJustification> BavetAbstractUniConstraintStream.getDefaultJustificationMapping() -
Uses of Score in ai.timefold.solver.core.impl.score.stream.common
Classes in ai.timefold.solver.core.impl.score.stream.common with type parameters of type ScoreModifier and TypeClassDescriptionclassAbstractConstraintBuilder<Score_ extends Score<Score_>>classAbstractConstraintStreamScoreDirectorFactory<Solution_,Score_ extends Score<Score_>, Factory_ extends AbstractConstraintStreamScoreDirectorFactory<Solution_, Score_, Factory_>> FP streams implementation ofScoreDirectorFactory.interfaceConstraintConstructor<Score_ extends Score<Score_>,JustificationMapping_, IndictedObjectsMapping_> Methods in ai.timefold.solver.core.impl.score.stream.common with type parameters of type ScoreModifier and TypeMethodDescriptionfinal <Score_ extends Score<Score_>>
Score_AbstractConstraint.extractConstraintWeight(Solution_ solution) <Score_ extends Score<Score_>>
Score_AbstractConstraint.getConstraintWeight()static <Solution_,Score_ extends Score<Score_>>
voidAbstractConstraint.validateWeight(SolutionDescriptor<Solution_> solutionDescriptor, ConstraintRef constraintRef, Score_ constraintWeight) Constructors in ai.timefold.solver.core.impl.score.stream.common with parameters of type ScoreModifierConstructorDescriptionprotectedAbstractConstraint(ConstraintFactory_ constraintFactory, ConstraintRef constraintRef, String description, String constraintGroup, Score<?> defaultConstraintWeight, ScoreImpactType scoreImpactType, Object justificationMapping, Object indictedObjectsMapping) -
Uses of Score in ai.timefold.solver.core.impl.score.stream.common.bi
Classes in ai.timefold.solver.core.impl.score.stream.common.bi with type parameters of type ScoreModifier and TypeClassDescriptionfinal classBiConstraintBuilderImpl<A,B, Score_ extends Score<Score_>> interfaceBiConstraintConstructor<A,B, Score_ extends Score<Score_>> Methods in ai.timefold.solver.core.impl.score.stream.common.bi with type parameters of type ScoreModifier and TypeMethodDescriptiondefault <Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> InnerBiConstraintStream.impact(@NonNull Score_ constraintWeight, @NonNull ToIntBiFunction<A, B> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> InnerBiConstraintStream.impactBigDecimal(@NonNull Score_ constraintWeight, @NonNull BiFunction<A, B, BigDecimal> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> InnerBiConstraintStream.impactLong(@NonNull Score_ constraintWeight, @NonNull ToLongBiFunction<A, B> matchWeigher) <Score_ extends Score<Score_>>
BiConstraintBuilder<A,B, Score_> InnerBiConstraintStream.innerImpact(Score_ constraintWeight, BiFunction<A, B, BigDecimal> matchWeigher, ScoreImpactType scoreImpactType) <Score_ extends Score<Score_>>
BiConstraintBuilder<A,B, Score_> InnerBiConstraintStream.innerImpact(Score_ constraintWeight, ToIntBiFunction<A, B> matchWeigher, ScoreImpactType scoreImpactType) <Score_ extends Score<Score_>>
BiConstraintBuilder<A,B, Score_> InnerBiConstraintStream.innerImpact(Score_ constraintWeight, ToLongBiFunction<A, B> matchWeigher, ScoreImpactType scoreImpactType) default <Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> InnerBiConstraintStream.penalize(@NonNull Score_ constraintWeight, @NonNull ToIntBiFunction<A, B> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> InnerBiConstraintStream.penalizeBigDecimal(@NonNull Score_ constraintWeight, @NonNull BiFunction<A, B, BigDecimal> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> InnerBiConstraintStream.penalizeLong(@NonNull Score_ constraintWeight, @NonNull ToLongBiFunction<A, B> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> InnerBiConstraintStream.reward(@NonNull Score_ constraintWeight, @NonNull ToIntBiFunction<A, B> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> InnerBiConstraintStream.rewardBigDecimal(@NonNull Score_ constraintWeight, @NonNull BiFunction<A, B, BigDecimal> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull BiConstraintBuilder<A,B, Score_> InnerBiConstraintStream.rewardLong(@NonNull Score_ constraintWeight, @NonNull ToLongBiFunction<A, B> matchWeigher) Methods in ai.timefold.solver.core.impl.score.stream.common.bi that return types with arguments of type ScoreModifier and TypeMethodDescriptionstatic <A,B> TriFunction<A, B, Score<?>, DefaultConstraintJustification> InnerBiConstraintStream.createDefaultJustificationMapping()Methods in ai.timefold.solver.core.impl.score.stream.common.bi with parameters of type ScoreModifier and TypeMethodDescriptiondefault @NonNull Constraintdefault @NonNull ConstraintInnerBiConstraintStream.impact(@NonNull String constraintPackage, @NonNull String constraintName, @NonNull Score<?> constraintWeight) default @NonNull ConstraintInnerBiConstraintStream.penalize(@NonNull String constraintName, @NonNull Score<?> constraintWeight) default @NonNull ConstraintInnerBiConstraintStream.penalize(@NonNull String constraintPackage, @NonNull String constraintName, @NonNull Score<?> constraintWeight) default @NonNull Constraintdefault @NonNull ConstraintInnerBiConstraintStream.reward(@NonNull String constraintPackage, @NonNull String constraintName, @NonNull Score<?> constraintWeight) -
Uses of Score in ai.timefold.solver.core.impl.score.stream.common.inliner
Classes in ai.timefold.solver.core.impl.score.stream.common.inliner with type parameters of type ScoreModifier and TypeClassDescriptionclassAbstractScoreInliner<Score_ extends Score<Score_>>Keeps track of the working score and constraint matches for a single constraint session.interfaceConstraintMatchSupplier<Score_ extends Score<Score_>>Allows creatingConstraintMatchinstances lazily if and only if they are required by the end user.classScoreContext<Score_ extends Score<Score_>,ScoreInliner_ extends AbstractScoreInliner<Score_>> 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_, ?>> Fields in ai.timefold.solver.core.impl.score.stream.common.inliner declared as ScoreMethods in ai.timefold.solver.core.impl.score.stream.common.inliner with type parameters of type ScoreModifier and TypeMethodDescriptionstatic <Score_ extends Score<Score_>,ScoreInliner_ extends AbstractScoreInliner<Score_>>
ScoreInliner_AbstractScoreInliner.buildScoreInliner(ScoreDefinition<Score_> scoreDefinition, Map<Constraint, Score_> constraintWeightMap, ConstraintMatchPolicy constraintMatchPolicy) static <Score_ extends Score<Score_>>
ConstraintMatchSupplier<Score_>ConstraintMatchSupplier.empty()static <A,B, C, D, Score_ extends Score<Score_>>
ConstraintMatchSupplier<Score_>ConstraintMatchSupplier.of(PentaFunction<A, B, C, D, Score_, ConstraintJustification> justificationMapping, QuadFunction<A, B, C, D, Collection<Object>> indictedObjectsMapping, A a, B b, C c, D d) static <A,B, C, Score_ extends Score<Score_>>
ConstraintMatchSupplier<Score_>ConstraintMatchSupplier.of(QuadFunction<A, B, C, Score_, ConstraintJustification> justificationMapping, TriFunction<A, B, C, Collection<Object>> indictedObjectsMapping, A a, B b, C c) static <A,B, Score_ extends Score<Score_>>
ConstraintMatchSupplier<Score_>ConstraintMatchSupplier.of(TriFunction<A, B, Score_, ConstraintJustification> justificationMapping, BiFunction<A, B, Collection<Object>> indictedObjectsMapping, A a, B b) static <A,Score_ extends Score<Score_>>
ConstraintMatchSupplier<Score_>ConstraintMatchSupplier.of(BiFunction<A, Score<?>, ConstraintJustification> justificationMapping, Function<A, Collection<Object>> indictedObjectsMapping, A a) 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) Method parameters in ai.timefold.solver.core.impl.score.stream.common.inliner with type arguments of type ScoreModifier and TypeMethodDescriptionstatic <A,Score_ extends Score<Score_>>
ConstraintMatchSupplier<Score_>ConstraintMatchSupplier.of(BiFunction<A, Score<?>, ConstraintJustification> justificationMapping, Function<A, Collection<Object>> indictedObjectsMapping, A a) -
Uses of Score in ai.timefold.solver.core.impl.score.stream.common.quad
Classes in ai.timefold.solver.core.impl.score.stream.common.quad with type parameters of type ScoreModifier and TypeClassDescriptionfinal classQuadConstraintBuilderImpl<A,B, C, D, Score_ extends Score<Score_>> interfaceQuadConstraintConstructor<A,B, C, D, Score_ extends Score<Score_>> Methods in ai.timefold.solver.core.impl.score.stream.common.quad with type parameters of type ScoreModifier and TypeMethodDescriptionInnerQuadConstraintStream.impact(@NonNull Score_ constraintWeight, @NonNull ToIntQuadFunction<A, B, C, D> matchWeigher) InnerQuadConstraintStream.impactBigDecimal(@NonNull Score_ constraintWeight, @NonNull QuadFunction<A, B, C, D, BigDecimal> matchWeigher) InnerQuadConstraintStream.impactLong(@NonNull Score_ constraintWeight, @NonNull ToLongQuadFunction<A, B, C, D> matchWeigher) InnerQuadConstraintStream.innerImpact(Score_ constraintWeight, QuadFunction<A, B, C, D, BigDecimal> matchWeigher, ScoreImpactType scoreImpactType) InnerQuadConstraintStream.innerImpact(Score_ constraintWeight, ToIntQuadFunction<A, B, C, D> matchWeigher, ScoreImpactType scoreImpactType) InnerQuadConstraintStream.innerImpact(Score_ constraintWeight, ToLongQuadFunction<A, B, C, D> matchWeigher, ScoreImpactType scoreImpactType) InnerQuadConstraintStream.penalize(@NonNull Score_ constraintWeight, @NonNull ToIntQuadFunction<A, B, C, D> matchWeigher) InnerQuadConstraintStream.penalizeBigDecimal(@NonNull Score_ constraintWeight, @NonNull QuadFunction<A, B, C, D, BigDecimal> matchWeigher) InnerQuadConstraintStream.penalizeLong(@NonNull Score_ constraintWeight, @NonNull ToLongQuadFunction<A, B, C, D> matchWeigher) InnerQuadConstraintStream.reward(@NonNull Score_ constraintWeight, @NonNull ToIntQuadFunction<A, B, C, D> matchWeigher) InnerQuadConstraintStream.rewardBigDecimal(@NonNull Score_ constraintWeight, @NonNull QuadFunction<A, B, C, D, BigDecimal> matchWeigher) InnerQuadConstraintStream.rewardLong(@NonNull Score_ constraintWeight, @NonNull ToLongQuadFunction<A, B, C, D> matchWeigher) Methods in ai.timefold.solver.core.impl.score.stream.common.quad that return types with arguments of type ScoreModifier and TypeMethodDescriptionstatic <A,B, C, D> PentaFunction<A, B, C, D, Score<?>, DefaultConstraintJustification> InnerQuadConstraintStream.createDefaultJustificationMapping()Methods in ai.timefold.solver.core.impl.score.stream.common.quad with parameters of type ScoreModifier and TypeMethodDescriptiondefault @NonNull ConstraintInnerQuadConstraintStream.impact(@NonNull String constraintName, @NonNull Score<?> constraintWeight) default @NonNull ConstraintInnerQuadConstraintStream.impact(@NonNull String constraintPackage, @NonNull String constraintName, @NonNull Score<?> constraintWeight) default @NonNull ConstraintInnerQuadConstraintStream.penalize(@NonNull String constraintName, @NonNull Score<?> constraintWeight) default @NonNull ConstraintInnerQuadConstraintStream.penalize(@NonNull String constraintPackage, @NonNull String constraintName, @NonNull Score<?> constraintWeight) default @NonNull ConstraintInnerQuadConstraintStream.reward(@NonNull String constraintName, @NonNull Score<?> constraintWeight) default @NonNull ConstraintInnerQuadConstraintStream.reward(@NonNull String constraintPackage, @NonNull String constraintName, @NonNull Score<?> constraintWeight) -
Uses of Score in ai.timefold.solver.core.impl.score.stream.common.tri
Classes in ai.timefold.solver.core.impl.score.stream.common.tri with type parameters of type ScoreModifier and TypeClassDescriptionfinal classTriConstraintBuilderImpl<A,B, C, Score_ extends Score<Score_>> interfaceTriConstraintConstructor<A,B, C, Score_ extends Score<Score_>> Methods in ai.timefold.solver.core.impl.score.stream.common.tri with type parameters of type ScoreModifier and TypeMethodDescriptiondefault <Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.impact(@NonNull Score_ constraintWeight, @NonNull ToIntTriFunction<A, B, C> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.impactBigDecimal(@NonNull Score_ constraintWeight, @NonNull TriFunction<A, B, C, BigDecimal> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.impactLong(@NonNull Score_ constraintWeight, @NonNull ToLongTriFunction<A, B, C> matchWeigher) <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.innerImpact(Score_ constraintWeight, ToIntTriFunction<A, B, C> matchWeigher, ScoreImpactType scoreImpactType) <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.innerImpact(Score_ constraintWeight, ToLongTriFunction<A, B, C> matchWeigher, ScoreImpactType scoreImpactType) <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.innerImpact(Score_ constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher, ScoreImpactType scoreImpactType) default <Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.penalize(@NonNull Score_ constraintWeight, @NonNull ToIntTriFunction<A, B, C> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.penalizeBigDecimal(@NonNull Score_ constraintWeight, @NonNull TriFunction<A, B, C, BigDecimal> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.penalizeLong(@NonNull Score_ constraintWeight, @NonNull ToLongTriFunction<A, B, C> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.reward(@NonNull Score_ constraintWeight, @NonNull ToIntTriFunction<A, B, C> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.rewardBigDecimal(@NonNull Score_ constraintWeight, @NonNull TriFunction<A, B, C, BigDecimal> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.rewardLong(@NonNull Score_ constraintWeight, @NonNull ToLongTriFunction<A, B, C> matchWeigher) Methods in ai.timefold.solver.core.impl.score.stream.common.tri that return types with arguments of type ScoreModifier and TypeMethodDescriptionstatic <A,B, C> QuadFunction<A, B, C, Score<?>, DefaultConstraintJustification> InnerTriConstraintStream.createDefaultJustificationMapping()Methods in ai.timefold.solver.core.impl.score.stream.common.tri with parameters of type ScoreModifier and TypeMethodDescriptiondefault @NonNull Constraintdefault @NonNull ConstraintInnerTriConstraintStream.impact(@NonNull String constraintPackage, @NonNull String constraintName, @NonNull Score<?> constraintWeight) default @NonNull ConstraintInnerTriConstraintStream.penalize(@NonNull String constraintName, @NonNull Score<?> constraintWeight) default @NonNull ConstraintInnerTriConstraintStream.penalize(@NonNull String constraintPackage, @NonNull String constraintName, @NonNull Score<?> constraintWeight) default @NonNull Constraintdefault @NonNull ConstraintInnerTriConstraintStream.reward(@NonNull String constraintPackage, @NonNull String constraintName, @NonNull Score<?> constraintWeight) -
Uses of Score in ai.timefold.solver.core.impl.score.stream.common.uni
Classes in ai.timefold.solver.core.impl.score.stream.common.uni with type parameters of type ScoreModifier and TypeClassDescriptionfinal classUniConstraintBuilderImpl<A,Score_ extends Score<Score_>> interfaceUniConstraintConstructor<A,Score_ extends Score<Score_>> Methods in ai.timefold.solver.core.impl.score.stream.common.uni with type parameters of type ScoreModifier and TypeMethodDescriptiondefault <Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> InnerUniConstraintStream.impact(@NonNull Score_ constraintWeight, @NonNull ToIntFunction<A> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> InnerUniConstraintStream.impactBigDecimal(@NonNull Score_ constraintWeight, @NonNull Function<A, BigDecimal> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> InnerUniConstraintStream.impactLong(@NonNull Score_ constraintWeight, @NonNull ToLongFunction<A> matchWeigher) <Score_ extends Score<Score_>>
UniConstraintBuilder<A,Score_> InnerUniConstraintStream.innerImpact(Score_ constraintWeight, Function<A, BigDecimal> matchWeigher, ScoreImpactType scoreImpactType) <Score_ extends Score<Score_>>
UniConstraintBuilder<A,Score_> InnerUniConstraintStream.innerImpact(Score_ constraintWeight, ToIntFunction<A> matchWeigher, ScoreImpactType scoreImpactType) <Score_ extends Score<Score_>>
UniConstraintBuilder<A,Score_> InnerUniConstraintStream.innerImpact(Score_ constraintWeight, ToLongFunction<A> matchWeigher, ScoreImpactType scoreImpactType) default <Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> InnerUniConstraintStream.penalize(@NonNull Score_ constraintWeight, @NonNull ToIntFunction<A> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> InnerUniConstraintStream.penalizeBigDecimal(@NonNull Score_ constraintWeight, @NonNull Function<A, BigDecimal> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> InnerUniConstraintStream.penalizeLong(@NonNull Score_ constraintWeight, @NonNull ToLongFunction<A> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> InnerUniConstraintStream.reward(@NonNull Score_ constraintWeight, @NonNull ToIntFunction<A> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> InnerUniConstraintStream.rewardBigDecimal(@NonNull Score_ constraintWeight, @NonNull Function<A, BigDecimal> matchWeigher) default <Score_ extends Score<Score_>>
@NonNull UniConstraintBuilder<A,Score_> InnerUniConstraintStream.rewardLong(@NonNull Score_ constraintWeight, @NonNull ToLongFunction<A> matchWeigher) Methods in ai.timefold.solver.core.impl.score.stream.common.uni that return types with arguments of type ScoreModifier and TypeMethodDescriptionstatic <A> BiFunction<A,Score<?>, DefaultConstraintJustification> InnerUniConstraintStream.createDefaultJustificationMapping()Methods in ai.timefold.solver.core.impl.score.stream.common.uni with parameters of type ScoreModifier and TypeMethodDescriptiondefault @NonNull Constraintdefault @NonNull ConstraintInnerUniConstraintStream.impact(@NonNull String constraintPackage, @NonNull String constraintName, @NonNull Score<?> constraintWeight) default @NonNull ConstraintInnerUniConstraintStream.penalize(@NonNull String constraintName, @NonNull Score<?> constraintWeight) default @NonNull ConstraintInnerUniConstraintStream.penalize(@NonNull String constraintPackage, @NonNull String constraintName, @NonNull Score<?> constraintWeight) default @NonNull Constraintdefault @NonNull ConstraintInnerUniConstraintStream.reward(@NonNull String constraintPackage, @NonNull String constraintName, @NonNull Score<?> constraintWeight) -
Uses of Score in ai.timefold.solver.core.impl.solver
Classes in ai.timefold.solver.core.impl.solver with type parameters of type ScoreModifier and TypeClassDescriptionfinal recordDefaultRecommendedAssignment<Proposition_,Score_ extends Score<Score_>> final recordDefaultRecommendedFit<Proposition_,Score_ extends Score<Score_>> Deprecated, for removal: This API element is subject to removal in a future version.PreferDefaultRecommendedAssignmentinstead.final classDefaultSolutionManager<Solution_,Score_ extends Score<Score_>> Methods in ai.timefold.solver.core.impl.solver with type parameters of type ScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
ScoreDirectorFactory<Solution_,Score_> DefaultSolverFactory.getScoreDirectorFactory() -
Uses of Score in ai.timefold.solver.core.impl.solver.monitoring
Methods in ai.timefold.solver.core.impl.solver.monitoring with type parameters of type ScoreModifier and TypeMethodDescriptionstatic <Score_ extends Score<Score_>>
@Nullable InnerScore<Score_>SolverMetricUtil.extractScore(SolverMetric metric, ScoreDefinition<Score_> scoreDefinition, Function<String, @Nullable Number> scoreLevelFunction) static <Score_ extends Score<Score_>>
voidSolverMetricUtil.registerScore(SolverMetric metric, io.micrometer.core.instrument.Tags tags, ScoreDefinition<Score_> scoreDefinition, Map<io.micrometer.core.instrument.Tags, ScoreLevels> tagToScoreLevels, InnerScore<Score_> innerScore) -
Uses of Score in ai.timefold.solver.core.impl.solver.monitoring.statistic
Classes in ai.timefold.solver.core.impl.solver.monitoring.statistic with type parameters of type ScoreModifier and TypeClassDescriptionclassPickedMoveBestScoreDiffStatistic<Solution_,Score_ extends Score<Score_>> -
Uses of Score in ai.timefold.solver.core.impl.solver.recaller
Methods in ai.timefold.solver.core.impl.solver.recaller with type parameters of type ScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
voidBestSolutionRecaller.processWorkingSolutionDuringMove(InnerScore<Score_> moveScore, AbstractStepScope<Solution_> stepScope) <Score_ extends Score<Score_>>
voidBestSolutionRecaller.processWorkingSolutionDuringStep(AbstractStepScope<Solution_> stepScope) -
Uses of Score in ai.timefold.solver.core.impl.solver.scope
Methods in ai.timefold.solver.core.impl.solver.scope with type parameters of type ScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
InnerScore<Score_>SolverScope.calculateScore()<Score_ extends Score<Score_>>
InnerScore<Score_>SolverScope.getBestScore()<Score_ extends Score<Score_>>
InnerScoreDirector<Solution_,Score_> SolverScope.getScoreDirector()<Score_ extends Score<Score_>>
Score_SolverScope.getStartingInitializedScore()<Score_ extends Score<Score_>>
voidSolverScope.setBestScore(InnerScore<Score_> bestScore) <Score_ extends Score<Score_>>
voidSolverScope.setInitializedBestScore(Score_ bestScore) Methods in ai.timefold.solver.core.impl.solver.scope with parameters of type ScoreModifier and TypeMethodDescriptionvoidSolverScope.setStartingInitializedScore(Score<?> startingInitializedScore) -
Uses of Score in ai.timefold.solver.core.impl.solver.termination
Methods in ai.timefold.solver.core.impl.solver.termination with type parameters of type ScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
@Nullable Termination<Solution_>TerminationFactory.buildTermination(HeuristicConfigPolicy<Solution_> configPolicy)
SolutionManagerinstead.