Class DefaultSingleConstraintVerification<Solution_,Score_ extends Score<Score_>>
java.lang.Object
org.optaplanner.test.impl.score.stream.DefaultSingleConstraintVerification<Solution_,Score_>
- All Implemented Interfaces:
SingleConstraintVerification<Solution_>
public final class DefaultSingleConstraintVerification<Solution_,Score_ extends Score<Score_>>
extends Object
implements SingleConstraintVerification<Solution_>
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
assertCorrectArguments
(Object... facts) givenSolution
(Solution_ solution)
-
Field Details
-
LOGGER
protected final org.slf4j.Logger LOGGER -
scoreDirectorFactory
-
sessionBasedAssertionBuilder
-
-
Method Details
-
given
- Specified by:
given
in interfaceSingleConstraintVerification<Solution_>
- Parameters:
facts
- never null, at least one- Returns:
- never null
-
givenSolution
- Specified by:
givenSolution
in interfaceSingleConstraintVerification<Solution_>
- Parameters:
solution
- never null- Returns:
- never null
-
assertCorrectArguments
-