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_>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultSingleConstraintAssertion<Solution_,Score_>
given(Object... facts)
DefaultSingleConstraintAssertion<Solution_,Score_>
givenSolution(Solution_ solution)
-
-
-
Method Detail
-
given
public final DefaultSingleConstraintAssertion<Solution_,Score_> given(Object... facts)
- Specified by:
given
in interfaceSingleConstraintVerification<Solution_>
- Parameters:
facts
- never null, at least one- Returns:
- never null
-
givenSolution
public final DefaultSingleConstraintAssertion<Solution_,Score_> givenSolution(Solution_ solution)
- Specified by:
givenSolution
in interfaceSingleConstraintVerification<Solution_>
- Parameters:
solution
- never null- Returns:
- never null
-
-