Package | Description |
---|---|
org.optaplanner.core.api.score.stream.tri |
The
ConstraintStream API for three matched facts. |
org.optaplanner.core.impl.score.stream.bavet.tri |
Modifier and Type | Method and Description |
---|---|
default Constraint |
TriConstraintStream.penalize(String constraintName,
Score<?> constraintWeight,
ToIntTriFunction<A,B,C> matchWeigher)
Negatively impact the
Score : subtract the constraintWeight multiplied by the match weight. |
Constraint |
TriConstraintStream.penalize(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToIntTriFunction<A,B,C> matchWeigher)
|
Constraint |
TriConstraintStream.penalizeConfigurable(String constraintPackage,
String constraintName,
ToIntTriFunction<A,B,C> matchWeigher)
|
default Constraint |
TriConstraintStream.penalizeConfigurable(String constraintName,
ToIntTriFunction<A,B,C> matchWeigher)
Negatively impact the
Score : subtract the ConstraintWeight multiplied by the match weight. |
default Constraint |
TriConstraintStream.reward(String constraintName,
Score<?> constraintWeight,
ToIntTriFunction<A,B,C> matchWeigher)
Positively impact the
Score : add the constraintWeight multiplied by the match weight. |
Constraint |
TriConstraintStream.reward(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToIntTriFunction<A,B,C> matchWeigher)
As defined by
TriConstraintStream.reward(String, Score, ToIntTriFunction) . |
Constraint |
TriConstraintStream.rewardConfigurable(String constraintPackage,
String constraintName,
ToIntTriFunction<A,B,C> matchWeigher)
|
default Constraint |
TriConstraintStream.rewardConfigurable(String constraintName,
ToIntTriFunction<A,B,C> matchWeigher)
Positively impact the
Score : add the ConstraintWeight multiplied by the match weight. |
Modifier and Type | Method and Description |
---|---|
Constraint |
BavetAbstractTriConstraintStream.penalize(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToIntTriFunction<A,B,C> matchWeigher) |
Constraint |
BavetAbstractTriConstraintStream.penalizeConfigurable(String constraintPackage,
String constraintName,
ToIntTriFunction<A,B,C> matchWeigher) |
Constraint |
BavetAbstractTriConstraintStream.reward(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToIntTriFunction<A,B,C> matchWeigher) |
Constraint |
BavetAbstractTriConstraintStream.rewardConfigurable(String constraintPackage,
String constraintName,
ToIntTriFunction<A,B,C> matchWeigher) |
Constructor and Description |
---|
BavetScoringTriConstraintStream(BavetConstraintFactory<Solution_> constraintFactory,
BavetAbstractTriConstraintStream<Solution_,A,B,C> parent,
BavetConstraint<Solution_> constraint,
ToIntTriFunction<A,B,C> intMatchWeigher) |
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.