Uses of Interface
org.optaplanner.core.api.function.ToIntTriFunction
-
Uses of ToIntTriFunction in org.optaplanner.core.api.score.stream
Modifier and TypeMethodDescriptionstatic <A,
B, C> TriConstraintCollector<A, B, C, ?, Double> ConstraintCollectors.average
(ToIntTriFunction<A, B, C> groupValueMapping) As defined byConstraintCollectors.average(ToIntFunction)
.static <A,
B, C> TriConstraintCollector<A, B, C, ?, Integer> ConstraintCollectors.sum
(ToIntTriFunction<? super A, ? super B, ? super C> groupValueMapping) As defined byConstraintCollectors.sum(ToIntFunction)
. -
Uses of ToIntTriFunction in org.optaplanner.core.api.score.stream.tri
Modifier and TypeMethodDescriptiondefault Constraint
TriConstraintStream.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 Constraint
TriConstraintStream.impact
(String constraintName, Score<?> constraintWeight, ToIntTriFunction<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.impact
(Score_ constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) Positively or negatively impacts theScore
by constraintWeight multiplied by matchWeight for each match and returns a builder to apply optional constraint properties.default Constraint
TriConstraintStream.impactConfigurable
(String constraintPackage, String constraintName, ToIntTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
TriConstraintStream.impactConfigurable
(String constraintName, ToIntTriFunction<A, B, C> matchWeigher) 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) Positively impacts theScore
by theConstraintWeight
multiplied by match weight for each match, and returns a builder to apply optional constraint properties.default Constraint
TriConstraintStream.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 Constraint
TriConstraintStream.penalize
(String constraintName, Score<?> constraintWeight, ToIntTriFunction<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.penalize
(Score_ constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) Applies a negativeScore
impact, subtracting the constraintWeight multiplied by the match weight, and returns a builder to apply optional constraint properties.default Constraint
TriConstraintStream.penalizeConfigurable
(String constraintPackage, String constraintName, ToIntTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
TriConstraintStream.penalizeConfigurable
(String constraintName, ToIntTriFunction<A, B, C> matchWeigher) 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) Negatively impacts theScore
, subtracting theConstraintWeight
multiplied by match weight for each match, and returns a builder to apply optional constraint properties.default Constraint
TriConstraintStream.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 Constraint
TriConstraintStream.reward
(String constraintName, Score<?> constraintWeight, ToIntTriFunction<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.reward
(Score_ constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) Applies a positiveScore
impact, adding the constraintWeight multiplied by the match weight, and returns a builder to apply optional constraint properties.default Constraint
TriConstraintStream.rewardConfigurable
(String constraintPackage, String constraintName, ToIntTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
TriConstraintStream.rewardConfigurable
(String constraintName, ToIntTriFunction<A, B, C> matchWeigher) 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) Positively impacts theScore
, adding theConstraintWeight
multiplied by match weight for each match, and returns a builder to apply optional constraint properties.
TriConstraintStream.impact(Score, ToIntTriFunction)
.