Class BavetConstraint<Solution_>
java.lang.Object
ai.timefold.solver.core.impl.score.stream.common.AbstractConstraint<Solution_,BavetConstraint<Solution_>,BavetConstraintFactory<Solution_>>
ai.timefold.solver.core.impl.score.stream.bavet.BavetConstraint<Solution_>
- All Implemented Interfaces:
Constraint
public final class BavetConstraint<Solution_>
extends AbstractConstraint<Solution_,BavetConstraint<Solution_>,BavetConstraintFactory<Solution_>>
-
Field Summary
Fields inherited from interface ai.timefold.solver.core.api.score.stream.Constraint
DEFAULT_CONSTRAINT_GROUP -
Constructor Summary
ConstructorsConstructorDescriptionBavetConstraint(BavetConstraintFactory<Solution_> constraintFactory, ConstraintRef constraintRef, String description, String constraintGroup, Score<?> constraintWeight, ScoreImpactType scoreImpactType, Object justificationMapping, Object indictedObjectsMapping, BavetScoringConstraintStream<Solution_> scoringConstraintStream) -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectActiveConstraintStreams(Set<BavetAbstractConstraintStream<Solution_>> constraintStreamSet) toString()Methods inherited from class ai.timefold.solver.core.impl.score.stream.common.AbstractConstraint
assertCorrectImpact, assertCorrectImpact, assertCorrectImpact, extractConstraintWeight, getConstraintFactory, getConstraintGroup, getConstraintRef, getConstraintWeight, getDescription, getIndictedObjectsMapping, getJustificationMapping, getScoreImpactType, validateWeightMethods 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, String description, String constraintGroup, Score<?> constraintWeight, ScoreImpactType scoreImpactType, Object justificationMapping, Object indictedObjectsMapping, BavetScoringConstraintStream<Solution_> scoringConstraintStream)
-
-
Method Details
-
getScoringConstraintStream
-
toString
-
collectActiveConstraintStreams
public void collectActiveConstraintStreams(Set<BavetAbstractConstraintStream<Solution_>> constraintStreamSet)
-