Uses of Interface
org.optaplanner.core.api.function.ToIntQuadFunction
-
Packages that use ToIntQuadFunction Package Description org.optaplanner.core.api.score.stream org.optaplanner.core.api.score.stream.quad TheConstraintStream
API for four matched facts.org.optaplanner.core.impl.score.stream.drools.common org.optaplanner.core.impl.score.stream.drools.quad org.optaplanner.core.impl.score.stream.quad -
-
Uses of ToIntQuadFunction in org.optaplanner.core.api.score.stream
Methods in org.optaplanner.core.api.score.stream with parameters of type ToIntQuadFunction Modifier and Type Method Description static <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
Methods in org.optaplanner.core.api.score.stream.quad with parameters of type ToIntQuadFunction Modifier and Type Method Description Constraint
QuadConstraintStream. impact(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher)
default Constraint
QuadConstraintStream. impact(String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher)
Positively or negatively impact theScore
by the constraintWeight multiplied by the match weight.Constraint
QuadConstraintStream. impactConfigurable(String constraintPackage, String constraintName, ToIntQuadFunction<A,B,C,D> matchWeigher)
default Constraint
QuadConstraintStream. impactConfigurable(String constraintName, ToIntQuadFunction<A,B,C,D> matchWeigher)
Positively or negatively impact theScore
by theConstraintWeight
for each match.Constraint
QuadConstraintStream. penalize(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher)
default Constraint
QuadConstraintStream. penalize(String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher)
Negatively impact theScore
: subtract the constraintWeight multiplied by the match weight.Constraint
QuadConstraintStream. penalizeConfigurable(String constraintPackage, String constraintName, ToIntQuadFunction<A,B,C,D> matchWeigher)
default Constraint
QuadConstraintStream. penalizeConfigurable(String constraintName, ToIntQuadFunction<A,B,C,D> matchWeigher)
Negatively impact theScore
: subtract theConstraintWeight
multiplied by the match weight.Constraint
QuadConstraintStream. reward(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher)
default Constraint
QuadConstraintStream. reward(String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher)
Positively impact theScore
: add the constraintWeight multiplied by the match weight.Constraint
QuadConstraintStream. rewardConfigurable(String constraintPackage, String constraintName, ToIntQuadFunction<A,B,C,D> matchWeigher)
default Constraint
QuadConstraintStream. rewardConfigurable(String constraintName, ToIntQuadFunction<A,B,C,D> matchWeigher)
Positively impact theScore
: add theConstraintWeight
multiplied by the match weight. -
Uses of ToIntQuadFunction in org.optaplanner.core.impl.score.stream.drools.common
Methods in org.optaplanner.core.impl.score.stream.drools.common with parameters of type ToIntQuadFunction Modifier and Type Method Description <Solution_>
RuleBuilder<Solution_>QuadLeftHandSide. andTerminate(ToIntQuadFunction<A,B,C,D> matchWeighter)
-
Uses of ToIntQuadFunction in org.optaplanner.core.impl.score.stream.drools.quad
Methods in org.optaplanner.core.impl.score.stream.drools.quad with parameters of type ToIntQuadFunction Modifier and Type Method Description Constraint
DroolsAbstractQuadConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher, ScoreImpactType impactType)
Constraint
DroolsAbstractQuadConstraintStream. impactScoreConfigurable(String constraintPackage, String constraintName, ToIntQuadFunction<A,B,C,D> matchWeigher, ScoreImpactType impactType)
-
Uses of ToIntQuadFunction in org.optaplanner.core.impl.score.stream.quad
Methods in org.optaplanner.core.impl.score.stream.quad with parameters of type ToIntQuadFunction Modifier and Type Method Description default Constraint
InnerQuadConstraintStream. impact(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher)
default Constraint
InnerQuadConstraintStream. impactConfigurable(String constraintPackage, String constraintName, ToIntQuadFunction<A,B,C,D> matchWeigher)
Constraint
InnerQuadConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher, ScoreImpactType impactType)
Constraint
InnerQuadConstraintStream. impactScoreConfigurable(String constraintPackage, String constraintName, ToIntQuadFunction<A,B,C,D> matchWeigher, ScoreImpactType impactType)
default Constraint
InnerQuadConstraintStream. penalize(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher)
default Constraint
InnerQuadConstraintStream. penalizeConfigurable(String constraintPackage, String constraintName, ToIntQuadFunction<A,B,C,D> matchWeigher)
default Constraint
InnerQuadConstraintStream. reward(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher)
default Constraint
InnerQuadConstraintStream. rewardConfigurable(String constraintPackage, String constraintName, ToIntQuadFunction<A,B,C,D> matchWeigher)
-