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