Class BavetConstraint<Solution_>
java.lang.Object
ai.timefold.solver.constraint.streams.common.AbstractConstraint<Solution_,BavetConstraint<Solution_>,BavetConstraintFactory<Solution_>>
ai.timefold.solver.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, ConstraintRef constraintRef, 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 ai.timefold.solver.constraint.streams.common.AbstractConstraint
assertCorrectImpact, assertCorrectImpact, assertCorrectImpact, extractConstraintWeight, getConstraintFactory, getConstraintRef, getIndictedObjectsMapping, getJustificationMapping, getScoreImpactTypeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ai.timefold.solver.core.api.score.stream.Constraint
getConstraintId, getConstraintName, getConstraintPackage
-
Constructor Details
-
BavetConstraint
public BavetConstraint(BavetConstraintFactory<Solution_> constraintFactory, ConstraintRef constraintRef, 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)
-