A B C D G H I L M O P R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractScoreVerifier<Solution_> - Class in org.optaplanner.test.impl.score
-
Deprecated, for removal: This API element is subject to removal in a future version.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.
- AbstractScoreVerifier(SolverFactory<Solution_>, Class<? extends Score<?>>) - Constructor for class org.optaplanner.test.impl.score.AbstractScoreVerifier
-
Deprecated.
- addEntity(Entity, Consumer<Entity>) - Method in class org.optaplanner.test.api.solver.change.MockProblemChangeDirector
- addProblemFact(ProblemFact, Consumer<ProblemFact>) - Method in class org.optaplanner.test.api.solver.change.MockProblemChangeDirector
- assertHardWeight(String, int, int, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.bendable.BendableScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertHardWeight(String, int, long, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.bendablelong.BendableLongScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertHardWeight(String, int, BigDecimal, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.bendablebigdecimal.BendableBigDecimalScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertHardWeight(String, int, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardmediumsoft.HardMediumSoftScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertHardWeight(String, int, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardsoft.HardSoftScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertHardWeight(String, long, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardmediumsoftlong.HardMediumSoftLongScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertHardWeight(String, long, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardsoftlong.HardSoftLongScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertHardWeight(String, String, int, int, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.bendable.BendableScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertHardWeight(String, String, int, long, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.bendablelong.BendableLongScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertHardWeight(String, String, int, BigDecimal, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.bendablebigdecimal.BendableBigDecimalScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertHardWeight(String, String, int, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardmediumsoft.HardMediumSoftScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertHardWeight(String, String, int, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardsoft.HardSoftScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertHardWeight(String, String, long, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardmediumsoftlong.HardMediumSoftLongScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertHardWeight(String, String, long, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardsoftlong.HardSoftLongScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertHardWeight(String, String, BigDecimal, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardsoftbigdecimal.HardSoftBigDecimalScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertHardWeight(String, BigDecimal, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardsoftbigdecimal.HardSoftBigDecimalScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertMediumWeight(String, int, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardmediumsoft.HardMediumSoftScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertMediumWeight(String, long, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardmediumsoftlong.HardMediumSoftLongScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertMediumWeight(String, String, int, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardmediumsoft.HardMediumSoftScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertMediumWeight(String, String, long, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardmediumsoftlong.HardMediumSoftLongScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertSoftWeight(String, int, int, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.bendable.BendableScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertSoftWeight(String, int, long, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.bendablelong.BendableLongScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertSoftWeight(String, int, BigDecimal, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.bendablebigdecimal.BendableBigDecimalScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertSoftWeight(String, int, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardmediumsoft.HardMediumSoftScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertSoftWeight(String, int, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardsoft.HardSoftScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertSoftWeight(String, long, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardmediumsoftlong.HardMediumSoftLongScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertSoftWeight(String, long, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardsoftlong.HardSoftLongScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertSoftWeight(String, String, int, int, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.bendable.BendableScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertSoftWeight(String, String, int, long, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.bendablelong.BendableLongScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertSoftWeight(String, String, int, BigDecimal, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.bendablebigdecimal.BendableBigDecimalScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertSoftWeight(String, String, int, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardmediumsoft.HardMediumSoftScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertSoftWeight(String, String, int, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardsoft.HardSoftScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertSoftWeight(String, String, long, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardmediumsoftlong.HardMediumSoftLongScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertSoftWeight(String, String, long, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardsoftlong.HardSoftLongScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertSoftWeight(String, String, BigDecimal, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardsoftbigdecimal.HardSoftBigDecimalScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertSoftWeight(String, BigDecimal, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.hardsoftbigdecimal.HardSoftBigDecimalScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertWeight(String, int, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.simple.SimpleScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertWeight(String, long, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.simplelong.SimpleLongScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertWeight(String, String, int, Number, Solution_) - Method in class org.optaplanner.test.impl.score.AbstractScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertWeight(String, String, int, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.simple.SimpleScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertWeight(String, String, long, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.simplelong.SimpleLongScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertWeight(String, String, BigDecimal, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.simplebigdecimal.SimpleBigDecimalScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level. - assertWeight(String, BigDecimal, Solution_) - Method in class org.optaplanner.test.impl.score.buildin.simplebigdecimal.SimpleBigDecimalScoreVerifier
-
Deprecated.Assert that the constraint of
PlanningSolution
has the expected weight for that score level.
B
- BendableBigDecimalScoreVerifier<Solution_> - Class in org.optaplanner.test.impl.score.buildin.bendablebigdecimal
-
Deprecated, for removal: This API element is subject to removal in a future version.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.
- BendableBigDecimalScoreVerifier(SolverFactory<Solution_>) - Constructor for class org.optaplanner.test.impl.score.buildin.bendablebigdecimal.BendableBigDecimalScoreVerifier
-
Deprecated.
- BendableLongScoreVerifier<Solution_> - Class in org.optaplanner.test.impl.score.buildin.bendablelong
-
Deprecated, for removal: This API element is subject to removal in a future version.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.
- BendableLongScoreVerifier(SolverFactory<Solution_>) - Constructor for class org.optaplanner.test.impl.score.buildin.bendablelong.BendableLongScoreVerifier
-
Deprecated.
- BendableScoreVerifier<Solution_> - Class in org.optaplanner.test.impl.score.buildin.bendable
-
Deprecated, for removal: This API element is subject to removal in a future version.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.
- BendableScoreVerifier(SolverFactory<Solution_>) - Constructor for class org.optaplanner.test.impl.score.buildin.bendable.BendableScoreVerifier
-
Deprecated.
- build(ConstraintProvider_, Class<Solution_>, Class<?>...) - Static method in interface org.optaplanner.test.api.score.stream.ConstraintVerifier
-
Entry point to the API.
C
- changeProblemProperty(EntityOrProblemFact, Consumer<EntityOrProblemFact>) - Method in class org.optaplanner.test.api.solver.change.MockProblemChangeDirector
- changeVariable(Entity, String, Consumer<Entity>) - Method in class org.optaplanner.test.api.solver.change.MockProblemChangeDirector
- ConstraintVerifier<ConstraintProvider_ extends org.optaplanner.core.api.score.stream.ConstraintProvider,Solution_> - Interface in org.optaplanner.test.api.score.stream
- create(SolverConfig) - Static method in interface org.optaplanner.test.api.score.stream.ConstraintVerifier
-
Uses a
SolverConfig
to build aConstraintVerifier
.
D
- DefaultConstraintVerifier<ConstraintProvider_ extends org.optaplanner.core.api.score.stream.ConstraintProvider,Solution_,Score_ extends org.optaplanner.core.api.score.Score<Score_>> - Class in org.optaplanner.test.impl.score.stream
- DefaultConstraintVerifier(ConstraintProvider_, SolutionDescriptor<Solution_>) - Constructor for class org.optaplanner.test.impl.score.stream.DefaultConstraintVerifier
- DefaultMultiConstraintAssertion<Score_ extends org.optaplanner.core.api.score.Score<Score_>> - Class in org.optaplanner.test.impl.score.stream
- DefaultMultiConstraintVerification<Solution_,Score_ extends org.optaplanner.core.api.score.Score<Score_>> - Class in org.optaplanner.test.impl.score.stream
- DefaultSingleConstraintAssertion<Solution_,Score_ extends org.optaplanner.core.api.score.Score<Score_>> - Class in org.optaplanner.test.impl.score.stream
- DefaultSingleConstraintVerification<Solution_,Score_ extends org.optaplanner.core.api.score.Score<Score_>> - Class in org.optaplanner.test.impl.score.stream
G
- getConstraintStreamImplType() - Method in class org.optaplanner.test.impl.score.stream.DefaultConstraintVerifier
- given(Object...) - Method in interface org.optaplanner.test.api.score.stream.MultiConstraintVerification
-
As defined by
SingleConstraintVerification.given(Object...)
. - given(Object...) - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintVerification
- given(Object...) - Method in class org.optaplanner.test.impl.score.stream.DefaultMultiConstraintVerification
- given(Object...) - Method in class org.optaplanner.test.impl.score.stream.DefaultSingleConstraintVerification
- givenSolution(Solution_) - Method in interface org.optaplanner.test.api.score.stream.MultiConstraintVerification
-
As defined by
SingleConstraintVerification.givenSolution(Object)
. - givenSolution(Solution_) - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintVerification
- givenSolution(Solution_) - Method in class org.optaplanner.test.impl.score.stream.DefaultMultiConstraintVerification
- givenSolution(Solution_) - Method in class org.optaplanner.test.impl.score.stream.DefaultSingleConstraintVerification
H
- hardLevelsSize - Variable in class org.optaplanner.test.impl.score.buildin.bendable.BendableScoreVerifier
-
Deprecated.
- hardLevelsSize - Variable in class org.optaplanner.test.impl.score.buildin.bendablebigdecimal.BendableBigDecimalScoreVerifier
-
Deprecated.
- hardLevelsSize - Variable in class org.optaplanner.test.impl.score.buildin.bendablelong.BendableLongScoreVerifier
-
Deprecated.
- HardMediumSoftLongScoreVerifier<Solution_> - Class in org.optaplanner.test.impl.score.buildin.hardmediumsoftlong
-
Deprecated, for removal: This API element is subject to removal in a future version.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.
- HardMediumSoftLongScoreVerifier(SolverFactory<Solution_>) - Constructor for class org.optaplanner.test.impl.score.buildin.hardmediumsoftlong.HardMediumSoftLongScoreVerifier
-
Deprecated.
- HardMediumSoftScoreVerifier<Solution_> - Class in org.optaplanner.test.impl.score.buildin.hardmediumsoft
-
Deprecated, for removal: This API element is subject to removal in a future version.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.
- HardMediumSoftScoreVerifier(SolverFactory<Solution_>) - Constructor for class org.optaplanner.test.impl.score.buildin.hardmediumsoft.HardMediumSoftScoreVerifier
-
Deprecated.
- HardSoftBigDecimalScoreVerifier<Solution_> - Class in org.optaplanner.test.impl.score.buildin.hardsoftbigdecimal
-
Deprecated, for removal: This API element is subject to removal in a future version.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.
- HardSoftBigDecimalScoreVerifier(SolverFactory<Solution_>) - Constructor for class org.optaplanner.test.impl.score.buildin.hardsoftbigdecimal.HardSoftBigDecimalScoreVerifier
-
Deprecated.
- HardSoftLongScoreVerifier<Solution_> - Class in org.optaplanner.test.impl.score.buildin.hardsoftlong
-
Deprecated, for removal: This API element is subject to removal in a future version.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.
- HardSoftLongScoreVerifier(SolverFactory<Solution_>) - Constructor for class org.optaplanner.test.impl.score.buildin.hardsoftlong.HardSoftLongScoreVerifier
-
Deprecated.
- HardSoftScoreVerifier<Solution_> - Class in org.optaplanner.test.impl.score.buildin.hardsoft
-
Deprecated, for removal: This API element is subject to removal in a future version.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.
- HardSoftScoreVerifier(SolverFactory<Solution_>) - Constructor for class org.optaplanner.test.impl.score.buildin.hardsoft.HardSoftScoreVerifier
-
Deprecated.
I
- isDroolsAlphaNetworkCompilationEnabled() - Method in class org.optaplanner.test.impl.score.stream.DefaultConstraintVerifier
L
- LookUpMockBuilder(Object) - Constructor for class org.optaplanner.test.api.solver.change.MockProblemChangeDirector.LookUpMockBuilder
- lookUpWorkingObject(EntityOrProblemFact) - Method in class org.optaplanner.test.api.solver.change.MockProblemChangeDirector
-
If the look-up result has been provided by a
MockProblemChangeDirector.whenLookingUp(Object)
call, returns the defined object. - lookUpWorkingObjectOrFail(EntityOrProblemFact) - Method in class org.optaplanner.test.api.solver.change.MockProblemChangeDirector
-
If the look-up result has been provided by a
MockProblemChangeDirector.whenLookingUp(Object)
call, returns the defined object.
M
- MockProblemChangeDirector - Class in org.optaplanner.test.api.solver.change
-
Use for unit-testing
ProblemChange
s. - MockProblemChangeDirector() - Constructor for class org.optaplanner.test.api.solver.change.MockProblemChangeDirector
- MockProblemChangeDirector.LookUpMockBuilder - Class in org.optaplanner.test.api.solver.change
- MultiConstraintAssertion - Interface in org.optaplanner.test.api.score.stream
- MultiConstraintVerification<Solution_> - Interface in org.optaplanner.test.api.score.stream
O
- org.optaplanner.test.api.score.stream - package org.optaplanner.test.api.score.stream
- org.optaplanner.test.api.solver.change - package org.optaplanner.test.api.solver.change
- org.optaplanner.test.impl.score - package org.optaplanner.test.impl.score
- org.optaplanner.test.impl.score.buildin.bendable - package org.optaplanner.test.impl.score.buildin.bendable
- org.optaplanner.test.impl.score.buildin.bendablebigdecimal - package org.optaplanner.test.impl.score.buildin.bendablebigdecimal
- org.optaplanner.test.impl.score.buildin.bendablelong - package org.optaplanner.test.impl.score.buildin.bendablelong
- org.optaplanner.test.impl.score.buildin.hardmediumsoft - package org.optaplanner.test.impl.score.buildin.hardmediumsoft
- org.optaplanner.test.impl.score.buildin.hardmediumsoftlong - package org.optaplanner.test.impl.score.buildin.hardmediumsoftlong
- org.optaplanner.test.impl.score.buildin.hardsoft - package org.optaplanner.test.impl.score.buildin.hardsoft
- org.optaplanner.test.impl.score.buildin.hardsoftbigdecimal - package org.optaplanner.test.impl.score.buildin.hardsoftbigdecimal
- org.optaplanner.test.impl.score.buildin.hardsoftlong - package org.optaplanner.test.impl.score.buildin.hardsoftlong
- org.optaplanner.test.impl.score.buildin.simple - package org.optaplanner.test.impl.score.buildin.simple
- org.optaplanner.test.impl.score.buildin.simplebigdecimal - package org.optaplanner.test.impl.score.buildin.simplebigdecimal
- org.optaplanner.test.impl.score.buildin.simplelong - package org.optaplanner.test.impl.score.buildin.simplelong
- org.optaplanner.test.impl.score.stream - package org.optaplanner.test.impl.score.stream
P
- penalizes() - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintAssertion
-
Asserts that the
Constraint
being tested, given a set of facts, results in any number of penalties. - penalizes(long) - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintAssertion
-
Asserts that the
Constraint
being tested, given a set of facts, results in a given number of penalties. - penalizes(long, String) - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintAssertion
-
As defined by
SingleConstraintAssertion.penalizes(long)
. - penalizes(long, String) - Method in class org.optaplanner.test.impl.score.stream.DefaultSingleConstraintAssertion
- penalizes(String) - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintAssertion
-
As defined by
SingleConstraintAssertion.penalizes()
. - penalizes(String) - Method in class org.optaplanner.test.impl.score.stream.DefaultSingleConstraintAssertion
- penalizesBy(int) - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintAssertion
-
Asserts that the
Constraint
being tested, given a set of facts, results in a specific penalty. - penalizesBy(int, String) - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintAssertion
-
As defined by
SingleConstraintAssertion.penalizesBy(int)
. - penalizesBy(int, String) - Method in class org.optaplanner.test.impl.score.stream.DefaultSingleConstraintAssertion
- penalizesBy(long) - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintAssertion
-
As defined by
SingleConstraintAssertion.penalizesBy(int)
. - penalizesBy(long, String) - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintAssertion
-
As defined by
SingleConstraintAssertion.penalizesBy(int)
. - penalizesBy(long, String) - Method in class org.optaplanner.test.impl.score.stream.DefaultSingleConstraintAssertion
- penalizesBy(BigDecimal) - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintAssertion
-
As defined by
SingleConstraintAssertion.penalizesBy(int)
. - penalizesBy(BigDecimal, String) - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintAssertion
-
As defined by
SingleConstraintAssertion.penalizesBy(int)
. - penalizesBy(BigDecimal, String) - Method in class org.optaplanner.test.impl.score.stream.DefaultSingleConstraintAssertion
R
- removeEntity(Entity, Consumer<Entity>) - Method in class org.optaplanner.test.api.solver.change.MockProblemChangeDirector
- removeProblemFact(ProblemFact, Consumer<ProblemFact>) - Method in class org.optaplanner.test.api.solver.change.MockProblemChangeDirector
- rewards() - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintAssertion
-
Asserts that the
Constraint
being tested, given a set of facts, results in any number of rewards. - rewards(long) - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintAssertion
-
Asserts that the
Constraint
being tested, given a set of facts, results in a given number of rewards. - rewards(long, String) - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintAssertion
-
As defined by
SingleConstraintAssertion.rewards(long)
. - rewards(long, String) - Method in class org.optaplanner.test.impl.score.stream.DefaultSingleConstraintAssertion
- rewards(String) - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintAssertion
-
As defined by
SingleConstraintAssertion.rewards()
. - rewards(String) - Method in class org.optaplanner.test.impl.score.stream.DefaultSingleConstraintAssertion
- rewardsWith(int) - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintAssertion
-
Asserts that the
Constraint
being tested, given a set of facts, results in a specific reward. - rewardsWith(int, String) - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintAssertion
-
As defined by
SingleConstraintAssertion.rewardsWith(int)
. - rewardsWith(int, String) - Method in class org.optaplanner.test.impl.score.stream.DefaultSingleConstraintAssertion
- rewardsWith(long) - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintAssertion
-
As defined by
SingleConstraintAssertion.rewardsWith(int)
. - rewardsWith(long, String) - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintAssertion
-
As defined by
SingleConstraintAssertion.rewardsWith(int)
. - rewardsWith(long, String) - Method in class org.optaplanner.test.impl.score.stream.DefaultSingleConstraintAssertion
- rewardsWith(BigDecimal) - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintAssertion
-
As defined by
SingleConstraintAssertion.rewardsWith(int)
. - rewardsWith(BigDecimal, String) - Method in interface org.optaplanner.test.api.score.stream.SingleConstraintAssertion
-
As defined by
SingleConstraintAssertion.rewardsWith(int)
. - rewardsWith(BigDecimal, String) - Method in class org.optaplanner.test.impl.score.stream.DefaultSingleConstraintAssertion
S
- scoreDirectorFactory - Variable in class org.optaplanner.test.impl.score.AbstractScoreVerifier
-
Deprecated.
- scores(Score<?>) - Method in interface org.optaplanner.test.api.score.stream.MultiConstraintAssertion
-
Asserts that the
ConstraintProvider
under test, given a set of facts, results in a specificScore
. - scores(Score<?>, String) - Method in interface org.optaplanner.test.api.score.stream.MultiConstraintAssertion
-
As defined by
MultiConstraintAssertion.scores(Score)
. - scores(Score<?>, String) - Method in class org.optaplanner.test.impl.score.stream.DefaultMultiConstraintAssertion
- SimpleBigDecimalScoreVerifier<Solution_> - Class in org.optaplanner.test.impl.score.buildin.simplebigdecimal
-
Deprecated, for removal: This API element is subject to removal in a future version.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.
- SimpleBigDecimalScoreVerifier(SolverFactory<Solution_>) - Constructor for class org.optaplanner.test.impl.score.buildin.simplebigdecimal.SimpleBigDecimalScoreVerifier
-
Deprecated.
- SimpleLongScoreVerifier<Solution_> - Class in org.optaplanner.test.impl.score.buildin.simplelong
-
Deprecated, for removal: This API element is subject to removal in a future version.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.
- SimpleLongScoreVerifier(SolverFactory<Solution_>) - Constructor for class org.optaplanner.test.impl.score.buildin.simplelong.SimpleLongScoreVerifier
-
Deprecated.
- SimpleScoreVerifier<Solution_> - Class in org.optaplanner.test.impl.score.buildin.simple
-
Deprecated, for removal: This API element is subject to removal in a future version.Score DRL is deprecated and will be removed in a future major version of OptaPlanner. See DRL to Constraint Streams migration recipe.
- SimpleScoreVerifier(SolverFactory<Solution_>) - Constructor for class org.optaplanner.test.impl.score.buildin.simple.SimpleScoreVerifier
-
Deprecated.
- SingleConstraintAssertion - Interface in org.optaplanner.test.api.score.stream
- SingleConstraintVerification<Solution_> - Interface in org.optaplanner.test.api.score.stream
T
- thenReturn(Object) - Method in class org.optaplanner.test.api.solver.change.MockProblemChangeDirector.LookUpMockBuilder
V
- verifyThat() - Method in interface org.optaplanner.test.api.score.stream.ConstraintVerifier
-
Creates a constraint verifier for all constraints of the
ConstraintProvider
. - verifyThat() - Method in class org.optaplanner.test.impl.score.stream.DefaultConstraintVerifier
- verifyThat(BiFunction<ConstraintProvider_, ConstraintFactory, Constraint>) - Method in interface org.optaplanner.test.api.score.stream.ConstraintVerifier
-
Creates a constraint verifier for a given
Constraint
of theConstraintProvider
. - verifyThat(BiFunction<ConstraintProvider_, ConstraintFactory, Constraint>) - Method in class org.optaplanner.test.impl.score.stream.DefaultConstraintVerifier
W
- whenLookingUp(Object) - Method in class org.optaplanner.test.api.solver.change.MockProblemChangeDirector
-
Defines what
MockProblemChangeDirector.lookUpWorkingObjectOrFail(Object)
returns. - withConstraintStreamImplType(ConstraintStreamImplType) - Method in interface org.optaplanner.test.api.score.stream.ConstraintVerifier
-
All subsequent calls to
ConstraintVerifier.verifyThat(BiFunction)
andConstraintVerifier.verifyThat()
use the givenConstraintStreamImplType
. - withConstraintStreamImplType(ConstraintStreamImplType) - Method in class org.optaplanner.test.impl.score.stream.DefaultConstraintVerifier
- withDroolsAlphaNetworkCompilationEnabled(boolean) - Method in interface org.optaplanner.test.api.score.stream.ConstraintVerifier
-
Applies only to
ConstraintStreamImplType.DROOLS
. - withDroolsAlphaNetworkCompilationEnabled(boolean) - Method in class org.optaplanner.test.impl.score.stream.DefaultConstraintVerifier
All Classes All Packages