Uses of Interface
ai.timefold.solver.core.api.score.stream.tri.TriConstraintBuilder
Packages that use TriConstraintBuilder
-
Uses of TriConstraintBuilder in ai.timefold.solver.core.api.score.stream.tri
Methods in ai.timefold.solver.core.api.score.stream.tri that return TriConstraintBuilderModifier and TypeMethodDescriptiondefault <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.impact(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_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.impact(Score_ constraintWeight, 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_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.impactBigDecimal(Score_ constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) As defined byTriConstraintStream.impact(Score, ToIntTriFunction), with an impact of typeBigDecimal.default TriConstraintBuilder<A,B, C, ?> TriConstraintStream.impactConfigurable()Deprecated, for removal: This API element is subject to removal in a future version.TriConstraintBuilder<A,B, C, ?> TriConstraintStream.impactConfigurable(ToIntTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.TriConstraintBuilder<A,B, C, ?> TriConstraintStream.impactConfigurableBigDecimal(TriFunction<A, B, C, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.TriConstraintBuilder<A,B, C, ?> TriConstraintStream.impactConfigurableLong(ToLongTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.<Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.impactLong(Score_ constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) As defined byTriConstraintStream.impact(Score, ToIntTriFunction), with an impact of type long.TriConstraintBuilder.indictWith(TriFunction<A, B, C, Collection<Object>> indictedObjectsMapping) Sets a custom function to mark any object returned by it as responsible for causing the constraint to match.<ConstraintJustification_ extends ConstraintJustification>
TriConstraintBuilder<A,B, C, Score_> TriConstraintBuilder.justifyWith(QuadFunction<A, B, C, Score_, ConstraintJustification_> justificationMapping) Sets a custom function to apply on a constraint match to justify it.default <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.penalize(Score_ constraintWeight) As defined byTriConstraintStream.penalize(Score, ToIntTriFunction), where the match weight is one (1).<Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.penalize(Score_ constraintWeight, 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_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.penalizeBigDecimal(Score_ constraintWeight) As defined byTriConstraintStream.penalizeBigDecimal(Score, TriFunction), where the match weight is one (1).<Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.penalizeBigDecimal(Score_ constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) As defined byTriConstraintStream.penalize(Score, ToIntTriFunction), with a penalty of typeBigDecimal.default TriConstraintBuilder<A,B, C, ?> TriConstraintStream.penalizeConfigurable()Deprecated, for removal: This API element is subject to removal in a future version.TriConstraintBuilder<A,B, C, ?> TriConstraintStream.penalizeConfigurable(ToIntTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.TriConstraintBuilder<A,B, C, ?> TriConstraintStream.penalizeConfigurableBigDecimal(TriFunction<A, B, C, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.TriConstraintBuilder<A,B, C, ?> TriConstraintStream.penalizeConfigurableLong(ToLongTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.penalizeLong(Score_ constraintWeight) As defined byTriConstraintStream.penalizeLong(Score, ToLongTriFunction), where the match weight is one (1).<Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.penalizeLong(Score_ constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) As defined byTriConstraintStream.penalize(Score, ToIntTriFunction), with a penalty of type long.default <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.reward(Score_ constraintWeight) As defined byTriConstraintStream.reward(Score, ToIntTriFunction), where the match weight is one (1).<Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.reward(Score_ constraintWeight, 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_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.rewardBigDecimal(Score_ constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) As defined byTriConstraintStream.reward(Score, ToIntTriFunction), with a penalty of typeBigDecimal.default TriConstraintBuilder<A,B, C, ?> TriConstraintStream.rewardConfigurable()Deprecated, for removal: This API element is subject to removal in a future version.TriConstraintBuilder<A,B, C, ?> TriConstraintStream.rewardConfigurable(ToIntTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.TriConstraintBuilder<A,B, C, ?> TriConstraintStream.rewardConfigurableBigDecimal(TriFunction<A, B, C, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.TriConstraintBuilder<A,B, C, ?> TriConstraintStream.rewardConfigurableLong(ToLongTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.<Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.rewardLong(Score_ constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) As defined byTriConstraintStream.reward(Score, ToIntTriFunction), with a penalty of type long. -
Uses of TriConstraintBuilder in ai.timefold.solver.core.impl.score.stream.bavet.tri
Methods in ai.timefold.solver.core.impl.score.stream.bavet.tri that return TriConstraintBuilderModifier and TypeMethodDescription<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) -
Uses of TriConstraintBuilder in ai.timefold.solver.core.impl.score.stream.common.tri
Classes in ai.timefold.solver.core.impl.score.stream.common.tri that implement TriConstraintBuilderModifier and TypeClassDescriptionfinal classTriConstraintBuilderImpl<A,B, C, Score_ extends Score<Score_>> Methods in ai.timefold.solver.core.impl.score.stream.common.tri that return TriConstraintBuilderModifier and TypeMethodDescriptiondefault <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.impact(Score_ constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) default <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.impactBigDecimal(Score_ constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) default TriConstraintBuilder<A,B, C, ?> InnerTriConstraintStream.impactConfigurable(ToIntTriFunction<A, B, C> matchWeigher) default TriConstraintBuilder<A,B, C, ?> InnerTriConstraintStream.impactConfigurableBigDecimal(TriFunction<A, B, C, BigDecimal> matchWeigher) default TriConstraintBuilder<A,B, C, ?> InnerTriConstraintStream.impactConfigurableLong(ToLongTriFunction<A, B, C> matchWeigher) default <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.impactLong(Score_ constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) TriConstraintBuilderImpl.indictWith(TriFunction<A, B, C, Collection<Object>> indictedObjectsMapping) <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) <ConstraintJustification_ extends ConstraintJustification>
TriConstraintBuilder<A,B, C, Score_> TriConstraintBuilderImpl.justifyWith(QuadFunction<A, B, C, Score_, ConstraintJustification_> justificationMapping) default <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.penalize(Score_ constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) default <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.penalizeBigDecimal(Score_ constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) default TriConstraintBuilder<A,B, C, ?> InnerTriConstraintStream.penalizeConfigurable(ToIntTriFunction<A, B, C> matchWeigher) default TriConstraintBuilder<A,B, C, ?> InnerTriConstraintStream.penalizeConfigurableBigDecimal(TriFunction<A, B, C, BigDecimal> matchWeigher) default TriConstraintBuilder<A,B, C, ?> InnerTriConstraintStream.penalizeConfigurableLong(ToLongTriFunction<A, B, C> matchWeigher) default <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.penalizeLong(Score_ constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) default <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.reward(Score_ constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) default <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.rewardBigDecimal(Score_ constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) default TriConstraintBuilder<A,B, C, ?> InnerTriConstraintStream.rewardConfigurable(ToIntTriFunction<A, B, C> matchWeigher) default TriConstraintBuilder<A,B, C, ?> InnerTriConstraintStream.rewardConfigurableBigDecimal(TriFunction<A, B, C, BigDecimal> matchWeigher) default TriConstraintBuilder<A,B, C, ?> InnerTriConstraintStream.rewardConfigurableLong(ToLongTriFunction<A, B, C> matchWeigher) default <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> InnerTriConstraintStream.rewardLong(Score_ constraintWeight, ToLongTriFunction<A, B, C> matchWeigher)
TriConstraintStream.impact(Score)andConstraintWeightOverrides.