Class BavetConstraint<Solution_>
java.lang.Object
org.optaplanner.constraint.streams.common.AbstractConstraint<Solution_,BavetConstraint<Solution_>,BavetConstraintFactory<Solution_>>
org.optaplanner.constraint.streams.bavet.BavetConstraint<Solution_>
- All Implemented Interfaces:
Constraint
public final class BavetConstraint<Solution_>
extends AbstractConstraint<Solution_,BavetConstraint<Solution_>,BavetConstraintFactory<Solution_>>
-
Constructor Summary
ConstructorsConstructorDescriptionBavetConstraint(BavetConstraintFactory<Solution_> constraintFactory, String constraintPackage, String constraintName, Function<Solution_, Score<?>> constraintWeightExtractor, ScoreImpactType scoreImpactType, Object justificationMapping, Object indictedObjectsMapping, boolean isConstraintWeightConfigurable, BavetScoringConstraintStream<Solution_> scoringConstraintStream) -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectActiveConstraintStreams(Set<BavetAbstractConstraintStream<Solution_>> constraintStreamSet) toString()Methods inherited from class org.optaplanner.constraint.streams.common.AbstractConstraint
assertCorrectImpact, assertCorrectImpact, assertCorrectImpact, extractConstraintWeight, getConstraintFactory, getConstraintId, getConstraintName, getConstraintPackage, getIndictedObjectsMapping, getJustificationMapping, getScoreImpactType
-
Constructor Details
-
BavetConstraint
public BavetConstraint(BavetConstraintFactory<Solution_> constraintFactory, String constraintPackage, String constraintName, Function<Solution_, Score<?>> constraintWeightExtractor, ScoreImpactType scoreImpactType, Object justificationMapping, Object indictedObjectsMapping, boolean isConstraintWeightConfigurable, BavetScoringConstraintStream<Solution_> scoringConstraintStream)
-
-
Method Details
-
toString
-
collectActiveConstraintStreams
public void collectActiveConstraintStreams(Set<BavetAbstractConstraintStream<Solution_>> constraintStreamSet)
-