Class DefaultShadowVariableAwareSingleConstraintAssertion<Solution_,Score_ extends ai.timefold.solver.core.api.score.Score<Score_>>
java.lang.Object
ai.timefold.solver.test.impl.score.stream.AbstractConstraintAssertion<Solution_,Score_>
ai.timefold.solver.test.impl.score.stream.AbstractSingleConstraintAssertion<Solution_,Score_>
ai.timefold.solver.test.impl.score.stream.DefaultShadowVariableAwareSingleConstraintAssertion<Solution_,Score_>
- All Implemented Interfaces:
ShadowVariableAwareSingleConstraintAssertion,SingleConstraintAssertion
public final class DefaultShadowVariableAwareSingleConstraintAssertion<Solution_,Score_ extends ai.timefold.solver.core.api.score.Score<Score_>>
extends AbstractSingleConstraintAssertion<Solution_,Score_>
implements ShadowVariableAwareSingleConstraintAssertion
-
Method Summary
Modifier and TypeMethodDescriptionThe method allows the code under test that uses any type of shadow variables to execute all related listeners and update the planning entities.Methods inherited from class ai.timefold.solver.test.impl.score.stream.AbstractSingleConstraintAssertion
hasNoImpact, indictsWith, indictsWithExactly, justifiesWith, justifiesWithExactly, penalizes, penalizes, penalizesBy, penalizesBy, penalizesBy, penalizesByLessThan, penalizesByLessThan, penalizesByLessThan, penalizesByMoreThan, penalizesByMoreThan, penalizesByMoreThan, penalizesLessThan, penalizesMoreThan, rewards, rewards, rewardsLessThan, rewardsMoreThan, rewardsWith, rewardsWith, rewardsWith, rewardsWithLessThan, rewardsWithLessThan, rewardsWithLessThan, rewardsWithMoreThan, rewardsWithMoreThan, rewardsWithMoreThanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ai.timefold.solver.test.api.score.stream.SingleConstraintAssertion
hasNoImpact, hasNoImpact, indictsWith, indictsWith, indictsWithExactly, indictsWithExactly, justifiesWith, justifiesWith, justifiesWithExactly, justifiesWithExactly, penalizes, penalizes, penalizes, penalizes, penalizes, penalizesBy, penalizesBy, penalizesBy, penalizesBy, penalizesBy, penalizesBy, penalizesBy, penalizesBy, penalizesBy, penalizesByLessThan, penalizesByLessThan, penalizesByLessThan, penalizesByLessThan, penalizesByLessThan, penalizesByLessThan, penalizesByMoreThan, penalizesByMoreThan, penalizesByMoreThan, penalizesByMoreThan, penalizesByMoreThan, penalizesByMoreThan, penalizesLessThan, penalizesLessThan, penalizesMoreThan, penalizesMoreThan, rewards, rewards, rewards, rewards, rewards, rewardsLessThan, rewardsLessThan, rewardsMoreThan, rewardsMoreThan, rewardsWith, rewardsWith, rewardsWith, rewardsWith, rewardsWith, rewardsWith, rewardsWith, rewardsWith, rewardsWith, rewardsWithLessThan, rewardsWithLessThan, rewardsWithLessThan, rewardsWithLessThan, rewardsWithLessThan, rewardsWithLessThan, rewardsWithMoreThan, rewardsWithMoreThan, rewardsWithMoreThan, rewardsWithMoreThan, rewardsWithMoreThan, rewardsWithMoreThan
-
Method Details
-
settingAllShadowVariables
Description copied from interface:ShadowVariableAwareSingleConstraintAssertionThe method allows the code under test that uses any type of shadow variables to execute all related listeners and update the planning entities. As a result, all shadow variables associated with the given solution will be updated.- Specified by:
settingAllShadowVariablesin interfaceShadowVariableAwareSingleConstraintAssertion
-