Uses of Interface
org.optaplanner.core.api.score.Score
Package
Description
Classes used for
Score
calculation.Support for a
Score
with a configurable number of score levels
and int
score weights.Support for a
Score
with a configurable number of score levels
and BigDecimal
score weights.Support for a
Score
with a configurable number of score levels
and long
score weights.Support for a
Score
with 3 score levels and int
score weights.Support for a
Score
with 3 score levels and BigDecimal
score weights.Support for a
Score
with 3 score levels and long
score weights.Support for a
Score
with 2 score levels and int
score weights.Support for a
Score
with 2 score levels and BigDecimal
score
weights.Support for a
Score
with 2 score levels and long
score weights.Support for a
Score
with 1 score level and int
score weights.Support for a
Score
with 1 score level and BigDecimal
score weights.Support for a
Score
with 1 score level and long
score weights.In Drools DRL, a
ScoreHolder
keeps track of the
Score
.The
ConstraintStream
API for bi-tuples.The
ConstraintStream
API for four matched facts.The
ConstraintStream
API for tri-tuples.The
ConstraintStream
API for uni-tuples.Event listeners for
Solver
.Jackson bindings for
Score
.JAXB bindings for
Score
.-
Uses of Score in org.optaplanner.benchmark.impl.measurement
Modifier and TypeMethodDescriptionstatic <Score_ extends Score<Score_>>
ScoreDifferencePercentageScoreDifferencePercentage.calculateScoreDifferencePercentage
(Score_ baseScore, Score_ valueScore) -
Uses of Score in org.optaplanner.benchmark.impl.result
Modifier and TypeMethodDescriptionBenchmarkResult.getAverageScore()
PlannerBenchmarkResult.getAverageScore()
SingleBenchmarkResult.getAverageScore()
SolverBenchmarkResult.getAverageScore()
Score<?>
SubSingleBenchmarkResult.getAverageScore()
SolverBenchmarkResult.getAverageWinningScoreDifference()
Score<?>
SubSingleBenchmarkResult.getScore()
Score<?>
SingleBenchmarkResult.getTotalScore()
SolverBenchmarkResult.getTotalScore()
SolverBenchmarkResult.getTotalWinningScoreDifference()
Score<?>
SingleBenchmarkResult.getWinningScoreDifference()
Modifier and TypeMethodDescriptionvoid
SingleBenchmarkResult.setAverageAndTotalScoreForTesting
(Score<?> averageAndTotalScore) void
void
SingleBenchmarkResult.setWinningScoreDifference
(Score<?> winningScoreDifference) -
Uses of Score in org.optaplanner.benchmark.impl.statistic
Modifier and TypeMethodDescriptionstatic double[]
StatisticUtils.determineStandardDeviationDoubles
(List<? extends BenchmarkResult> benchmarkResultList, Score averageScore, int successCount) Calculates standard deviation ofBenchmarkResult.getAverageScore()
s fromaverageScore
.Modifier and TypeMethodDescriptionvoid
StatisticRegistry.extractScoreFromMeters
(SolverMetric metric, io.micrometer.core.instrument.Tags runId, Consumer<Score<?>> scoreConsumer) -
Uses of Score in org.optaplanner.benchmark.impl.statistic.bestscore
-
Uses of Score in org.optaplanner.benchmark.impl.statistic.stepscore
-
Uses of Score in org.optaplanner.benchmark.impl.statistic.subsingle.constraintmatchtotalbestscore
ModifierConstructorDescriptionConstraintMatchTotalBestScoreStatisticPoint
(long timeMillisSpent, String constraintPackage, String constraintName, int constraintMatchCount, Score scoreTotal) -
Uses of Score in org.optaplanner.benchmark.impl.statistic.subsingle.constraintmatchtotalstepscore
ModifierConstructorDescriptionConstraintMatchTotalStepScoreStatisticPoint
(long timeMillisSpent, String constraintPackage, String constraintName, int constraintMatchCount, Score scoreTotal) -
Uses of Score in org.optaplanner.benchmark.impl.statistic.subsingle.pickedmovetypebestscore
ModifierConstructorDescriptionPickedMoveTypeBestScoreDiffStatisticPoint
(long timeMillisSpent, String moveType, Score bestScoreDiff) -
Uses of Score in org.optaplanner.benchmark.impl.statistic.subsingle.pickedmovetypestepscore
ModifierConstructorDescriptionPickedMoveTypeStepScoreDiffStatisticPoint
(long timeMillisSpent, String moveType, Score stepScoreDiff) -
Uses of Score in org.optaplanner.constraint.drl
Modifier and TypeClassDescriptionclass
DrlScoreDirector<Solution_,
Score_ extends Score<Score_>> Drools implementation ofScoreDirector
, which directs the Rule Engine to calculate theScore
of theworking solution
.class
DrlScoreDirectorFactory<Solution_,
Score_ extends Score<Score_>> Drools implementation ofScoreDirectorFactory
.final class
DrlScoreDirectorFactoryService<Solution_,
Score_ extends Score<Score_>> -
Uses of Score in org.optaplanner.constraint.drl.holder
Modifier and TypeClassDescriptionclass
AbstractScoreHolder<Score_ extends Score<Score_>>
Abstract superclass forScoreHolder
.protected static interface
AbstractScoreHolder.ScoreMatchExecutor<Score_ extends Score<Score_>>
UnlikeAbstractScoreHolder.IntMatchExecutor
and its counterparts, this is not being used on CS-D code paths.Modifier and TypeMethodDescriptionstatic <Score_ extends Score<Score_>,
ScoreHolder_ extends AbstractScoreHolder<Score_>>
ScoreHolder_AbstractScoreHolder.buildScoreHolder
(ScoreDefinition<Score_> scoreDefinition, boolean constraintMatchEnabled) -
Uses of Score in org.optaplanner.core.api.score
Modifier and TypeInterfaceDescriptioninterface
A Score is result of the score function (AKA fitness function) on a single possible solution.interface
ScoreExplanation<Solution_,
Score_ extends Score<Score_>> Build byScoreManager.explainScore(Object)
to holdConstraintMatchTotal
s andIndictment
s necessary to explain the quality of a particularScore
.interface
ScoreManager<Solution_,
Score_ extends Score<Score_>> Modifier and TypeInterfaceDescriptioninterface
IBendableScore<Score_ extends IBendableScore<Score_>>
Bendable score is aScore
whoseIBendableScore.hardLevelsSize()
andIBendableScore.softLevelsSize()
are only known at runtime.Modifier and TypeClassDescriptionclass
AbstractBendableScore<Score_ extends AbstractBendableScore<Score_>>
Deprecated, for removal: This API element is subject to removal in a future version.class
AbstractScore<Score_ extends AbstractScore<Score_>>
Deprecated, for removal: This API element is subject to removal in a future version.ImplementScore
instead.Modifier and TypeMethodDescriptionstatic <Solution_,
Score_ extends Score<Score_>>
ScoreManager<Solution_,Score_> ScoreManager.create
(SolverFactory<Solution_> solverFactory) Uses aSolverFactory
to build aScoreManager
.static <Solution_,
Score_ extends Score<Score_>, ProblemId_>
ScoreManager<Solution_,Score_> ScoreManager.create
(SolverManager<Solution_, ProblemId_> solverManager) Uses aSolverManager
to build aScoreManager
. -
Uses of Score in org.optaplanner.core.api.score.buildin.bendable
-
Uses of Score in org.optaplanner.core.api.score.buildin.bendablebigdecimal
Modifier and TypeClassDescriptionfinal class
ThisScore
is based on n levels ofBigDecimal
constraints. -
Uses of Score in org.optaplanner.core.api.score.buildin.bendablelong
Modifier and TypeClassDescriptionfinal class
ThisScore
is based on n levels of long constraints. -
Uses of Score in org.optaplanner.core.api.score.buildin.hardmediumsoft
Modifier and TypeClassDescriptionfinal class
ThisScore
is based on 3 levels of int constraints: hard, medium and soft. -
Uses of Score in org.optaplanner.core.api.score.buildin.hardmediumsoftbigdecimal
Modifier and TypeClassDescriptionfinal class
ThisScore
is based on 3 levels ofBigDecimal
constraints: hard, medium and soft. -
Uses of Score in org.optaplanner.core.api.score.buildin.hardmediumsoftlong
Modifier and TypeClassDescriptionfinal class
ThisScore
is based on 3 levels of long constraints: hard, medium and soft. -
Uses of Score in org.optaplanner.core.api.score.buildin.hardsoft
Modifier and TypeClassDescriptionfinal class
ThisScore
is based on 2 levels of int constraints: hard and soft. -
Uses of Score in org.optaplanner.core.api.score.buildin.hardsoftbigdecimal
Modifier and TypeClassDescriptionfinal class
ThisScore
is based on 2 levels ofBigDecimal
constraints: hard and soft. -
Uses of Score in org.optaplanner.core.api.score.buildin.hardsoftlong
Modifier and TypeClassDescriptionfinal class
ThisScore
is based on 2 levels of long constraints: hard and soft. -
Uses of Score in org.optaplanner.core.api.score.buildin.simple
-
Uses of Score in org.optaplanner.core.api.score.buildin.simplebigdecimal
Modifier and TypeClassDescriptionfinal class
ThisScore
is based on 1 level ofBigDecimal
constraints. -
Uses of Score in org.optaplanner.core.api.score.buildin.simplelong
-
Uses of Score in org.optaplanner.core.api.score.calculator
Modifier and TypeInterfaceDescriptioninterface
ConstraintMatchAwareIncrementalScoreCalculator<Solution_,
Score_ extends Score<Score_>> Allows aIncrementalScoreCalculator
to reportConstraintMatchTotal
s for explaining a score (= which score constraints match for how much) and also for score corruption analysis.interface
EasyScoreCalculator<Solution_,
Score_ extends Score<Score_>> Used for easy javaScore
calculation.interface
IncrementalScoreCalculator<Solution_,
Score_ extends Score<Score_>> Used for incremental javaScore
calculation. -
Uses of Score in org.optaplanner.core.api.score.constraint
Modifier and TypeClassDescriptionfinal class
ConstraintMatch<Score_ extends Score<Score_>>
Retrievable fromConstraintMatchTotal.getConstraintMatchSet()
andIndictment.getConstraintMatchSet()
.interface
ConstraintMatchTotal<Score_ extends Score<Score_>>
interface
Indictment<Score_ extends Score<Score_>>
-
Uses of Score in org.optaplanner.core.api.score.holder
Modifier and TypeInterfaceDescriptioninterface
ScoreHolder<Score_ extends Score<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. -
Uses of Score in org.optaplanner.core.api.score.stream
Modifier and TypeMethodDescription<Score_ extends Score<Score_>>
Score_DefaultConstraintJustification.getImpact()
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.PreferUniConstraintStream.impact(Score)
and equivalent bi/tri/...Deprecated, for removal: This API element is subject to removal in a future version.PreferUniConstraintStream.impact(Score)
and equivalent bi/tri/...DefaultConstraintJustification.of
(Score<?> impact, Object factA, Object factB, Object factC, Object factD) ConstraintStream.penalize
(String constraintPackage, String constraintName, Score<?> constraintWeight) Deprecated, for removal: This API element is subject to removal in a future version.PreferUniConstraintStream.penalize(Score)
and equivalent bi/tri/...Deprecated, for removal: This API element is subject to removal in a future version.PreferUniConstraintStream.penalize(Score)
and equivalent bi/tri/...Deprecated, for removal: This API element is subject to removal in a future version.PreferUniConstraintStream.reward(Score)
and equivalent bi/tri/...Deprecated, for removal: This API element is subject to removal in a future version.PreferUniConstraintStream.reward(Score)
and equivalent bi/tri/... -
Uses of Score in org.optaplanner.core.api.score.stream.bi
Modifier and TypeInterfaceDescriptioninterface
BiConstraintBuilder<A,
B, Score_ extends Score<Score_>> Used to build aConstraint
out of aBiConstraintStream
, applying optional configuration.Modifier and TypeMethodDescriptiondefault <Score_ extends Score<Score_>>
BiConstraintBuilder<A,B, Score_> BiConstraintStream.impact
(Score_ constraintWeight) Positively or negatively impacts theScore
by the constraintWeight for each match and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
BiConstraintBuilder<A,B, Score_> BiConstraintStream.impact
(Score_ constraintWeight, ToIntBiFunction<A, B> matchWeigher) Positively or negatively impacts theScore
by constraintWeight multiplied by matchWeight for each match and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
BiConstraintBuilder<A,B, Score_> BiConstraintStream.impactBigDecimal
(Score_ constraintWeight, BiFunction<A, B, BigDecimal> matchWeigher) As defined byBiConstraintStream.impact(Score, ToIntBiFunction)
, with an impact of typeBigDecimal
.<Score_ extends Score<Score_>>
BiConstraintBuilder<A,B, Score_> BiConstraintStream.impactLong
(Score_ constraintWeight, ToLongBiFunction<A, B> matchWeigher) As defined byBiConstraintStream.impact(Score, ToIntBiFunction)
, with an impact of type long.default <Score_ extends Score<Score_>>
BiConstraintBuilder<A,B, Score_> BiConstraintStream.penalize
(Score_ constraintWeight) As defined byBiConstraintStream.penalize(Score, ToIntBiFunction)
, where the match weight is one (1).<Score_ extends Score<Score_>>
BiConstraintBuilder<A,B, Score_> BiConstraintStream.penalize
(Score_ constraintWeight, ToIntBiFunction<A, B> matchWeigher) Applies a negativeScore
impact, subtracting the constraintWeight multiplied by the match weight, and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
BiConstraintBuilder<A,B, Score_> BiConstraintStream.penalizeBigDecimal
(Score_ constraintWeight, BiFunction<A, B, BigDecimal> matchWeigher) As defined byBiConstraintStream.penalize(Score, ToIntBiFunction)
, with a penalty of typeBigDecimal
.<Score_ extends Score<Score_>>
BiConstraintBuilder<A,B, Score_> BiConstraintStream.penalizeLong
(Score_ constraintWeight, ToLongBiFunction<A, B> matchWeigher) As defined byBiConstraintStream.penalize(Score, ToIntBiFunction)
, with a penalty of type long.default <Score_ extends Score<Score_>>
BiConstraintBuilder<A,B, Score_> BiConstraintStream.reward
(Score_ constraintWeight) As defined byBiConstraintStream.reward(Score, ToIntBiFunction)
, where the match weight is one (1).<Score_ extends Score<Score_>>
BiConstraintBuilder<A,B, Score_> BiConstraintStream.reward
(Score_ constraintWeight, ToIntBiFunction<A, B> matchWeigher) Applies a positiveScore
impact, adding the constraintWeight multiplied by the match weight, and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
BiConstraintBuilder<A,B, Score_> BiConstraintStream.rewardBigDecimal
(Score_ constraintWeight, BiFunction<A, B, BigDecimal> matchWeigher) As defined byBiConstraintStream.reward(Score, ToIntBiFunction)
, with a penalty of typeBigDecimal
.<Score_ extends Score<Score_>>
BiConstraintBuilder<A,B, Score_> BiConstraintStream.rewardLong
(Score_ constraintWeight, ToLongBiFunction<A, B> matchWeigher) As defined byBiConstraintStream.reward(Score, ToIntBiFunction)
, with a penalty of type long.Modifier and TypeMethodDescriptiondefault Constraint
BiConstraintStream.impact
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
BiConstraintStream.impact
(String constraintName, Score<?> constraintWeight, ToIntBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
BiConstraintStream.impactBigDecimal
(String constraintPackage, String constraintName, Score<?> constraintWeight, BiFunction<A, B, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
BiConstraintStream.impactBigDecimal
(String constraintName, Score<?> constraintWeight, BiFunction<A, B, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
BiConstraintStream.impactLong
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
BiConstraintStream.impactLong
(String constraintName, Score<?> constraintWeight, ToLongBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
BiConstraintStream.penalize
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
BiConstraintStream.penalize
(String constraintName, Score<?> constraintWeight, ToIntBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
BiConstraintStream.penalizeBigDecimal
(String constraintPackage, String constraintName, Score<?> constraintWeight, BiFunction<A, B, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
BiConstraintStream.penalizeBigDecimal
(String constraintName, Score<?> constraintWeight, BiFunction<A, B, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
BiConstraintStream.penalizeLong
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
BiConstraintStream.penalizeLong
(String constraintName, Score<?> constraintWeight, ToLongBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
BiConstraintStream.reward
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
BiConstraintStream.reward
(String constraintName, Score<?> constraintWeight, ToIntBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
BiConstraintStream.rewardBigDecimal
(String constraintPackage, String constraintName, Score<?> constraintWeight, BiFunction<A, B, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
BiConstraintStream.rewardBigDecimal
(String constraintName, Score<?> constraintWeight, BiFunction<A, B, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
BiConstraintStream.rewardLong
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
BiConstraintStream.rewardLong
(String constraintName, Score<?> constraintWeight, ToLongBiFunction<A, B> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Score in org.optaplanner.core.api.score.stream.quad
Modifier and TypeInterfaceDescriptioninterface
QuadConstraintBuilder<A,
B, C, D, Score_ extends Score<Score_>> Used to build aConstraint
out of aQuadConstraintStream
, applying optional configuration.Modifier and TypeMethodDescriptionQuadConstraintStream.impact
(Score_ constraintWeight) Positively or negatively impacts theScore
by the constraintWeight for each match and returns a builder to apply optional constraint properties.Positively or negatively impacts theScore
by constraintWeight multiplied by matchWeight for each match and returns a builder to apply optional constraint properties.QuadConstraintStream.impactBigDecimal
(Score_ constraintWeight, QuadFunction<A, B, C, D, BigDecimal> matchWeigher) As defined byQuadConstraintStream.impact(Score, ToIntQuadFunction)
, with an impact of typeBigDecimal
.QuadConstraintStream.impactLong
(Score_ constraintWeight, ToLongQuadFunction<A, B, C, D> matchWeigher) As defined byQuadConstraintStream.impact(Score, ToIntQuadFunction)
, with an impact of type long.QuadConstraintStream.penalize
(Score_ constraintWeight) As defined byQuadConstraintStream.penalize(Score, ToIntQuadFunction)
, where the match weight is one (1).Applies a negativeScore
impact, subtracting the constraintWeight multiplied by the match weight, and returns a builder to apply optional constraint properties.QuadConstraintStream.penalizeBigDecimal
(Score_ constraintWeight, QuadFunction<A, B, C, D, BigDecimal> matchWeigher) As defined byQuadConstraintStream.penalize(Score, ToIntQuadFunction)
, with a penalty of typeBigDecimal
.QuadConstraintStream.penalizeLong
(Score_ constraintWeight, ToLongQuadFunction<A, B, C, D> matchWeigher) As defined byQuadConstraintStream.penalize(Score, ToIntQuadFunction)
, with a penalty of type long.QuadConstraintStream.reward
(Score_ constraintWeight) As defined byQuadConstraintStream.reward(Score, ToIntQuadFunction)
, where the match weight is one (1).Applies a positiveScore
impact, adding the constraintWeight multiplied by the match weight, and returns a builder to apply optional constraint properties.QuadConstraintStream.rewardBigDecimal
(Score_ constraintWeight, QuadFunction<A, B, C, D, BigDecimal> matchWeigher) As defined byQuadConstraintStream.reward(Score, ToIntQuadFunction)
, with a penalty of typeBigDecimal
.QuadConstraintStream.rewardLong
(Score_ constraintWeight, ToLongQuadFunction<A, B, C, D> matchWeigher) As defined byQuadConstraintStream.reward(Score, ToIntQuadFunction)
, with a penalty of type long.Modifier and TypeMethodDescriptiondefault Constraint
QuadConstraintStream.impact
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream.impact
(String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream.impactBigDecimal
(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A, B, C, D, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream.impactBigDecimal
(String constraintName, Score<?> constraintWeight, QuadFunction<A, B, C, D, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream.impactLong
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream.impactLong
(String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream.penalize
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream.penalize
(String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream.penalizeBigDecimal
(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A, B, C, D, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream.penalizeBigDecimal
(String constraintName, Score<?> constraintWeight, QuadFunction<A, B, C, D, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream.penalizeLong
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream.penalizeLong
(String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream.reward
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream.reward
(String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream.rewardBigDecimal
(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A, B, C, D, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream.rewardBigDecimal
(String constraintName, Score<?> constraintWeight, QuadFunction<A, B, C, D, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream.rewardLong
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
QuadConstraintStream.rewardLong
(String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A, B, C, D> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Score in org.optaplanner.core.api.score.stream.tri
Modifier and TypeInterfaceDescriptioninterface
TriConstraintBuilder<A,
B, C, Score_ extends Score<Score_>> Used to build aConstraint
out of aTriConstraintStream
, applying optional configuration.Modifier and TypeMethodDescriptiondefault <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.impact
(Score_ constraintWeight) Positively or negatively impacts theScore
by the constraintWeight for each match and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.impact
(Score_ constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) Positively or negatively impacts theScore
by constraintWeight multiplied by matchWeight for each match and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.impactBigDecimal
(Score_ constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) As defined byTriConstraintStream.impact(Score, ToIntTriFunction)
, with an impact of typeBigDecimal
.<Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.impactLong
(Score_ constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) As defined byTriConstraintStream.impact(Score, ToIntTriFunction)
, with an impact of type long.default <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.penalize
(Score_ constraintWeight) As defined byTriConstraintStream.penalize(Score, ToIntTriFunction)
, where the match weight is one (1).<Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.penalize
(Score_ constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) Applies a negativeScore
impact, subtracting the constraintWeight multiplied by the match weight, and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.penalizeBigDecimal
(Score_ constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) As defined byTriConstraintStream.penalize(Score, ToIntTriFunction)
, with a penalty of typeBigDecimal
.<Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.penalizeLong
(Score_ constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) As defined byTriConstraintStream.penalize(Score, ToIntTriFunction)
, with a penalty of type long.default <Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.reward
(Score_ constraintWeight) As defined byTriConstraintStream.reward(Score, ToIntTriFunction)
, where the match weight is one (1).<Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.reward
(Score_ constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) Applies a positiveScore
impact, adding the constraintWeight multiplied by the match weight, and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.rewardBigDecimal
(Score_ constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) As defined byTriConstraintStream.reward(Score, ToIntTriFunction)
, with a penalty of typeBigDecimal
.<Score_ extends Score<Score_>>
TriConstraintBuilder<A,B, C, Score_> TriConstraintStream.rewardLong
(Score_ constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) As defined byTriConstraintStream.reward(Score, ToIntTriFunction)
, with a penalty of type long.Modifier and TypeMethodDescriptiondefault Constraint
TriConstraintStream.impact
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
TriConstraintStream.impact
(String constraintName, Score<?> constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
TriConstraintStream.impactBigDecimal
(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
TriConstraintStream.impactBigDecimal
(String constraintName, Score<?> constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
TriConstraintStream.impactLong
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
TriConstraintStream.impactLong
(String constraintName, Score<?> constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
TriConstraintStream.penalize
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
TriConstraintStream.penalize
(String constraintName, Score<?> constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
TriConstraintStream.penalizeBigDecimal
(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
TriConstraintStream.penalizeBigDecimal
(String constraintName, Score<?> constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
TriConstraintStream.penalizeLong
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
TriConstraintStream.penalizeLong
(String constraintName, Score<?> constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
TriConstraintStream.reward
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
TriConstraintStream.reward
(String constraintName, Score<?> constraintWeight, ToIntTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
TriConstraintStream.rewardBigDecimal
(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
TriConstraintStream.rewardBigDecimal
(String constraintName, Score<?> constraintWeight, TriFunction<A, B, C, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
TriConstraintStream.rewardLong
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
TriConstraintStream.rewardLong
(String constraintName, Score<?> constraintWeight, ToLongTriFunction<A, B, C> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Score in org.optaplanner.core.api.score.stream.uni
Modifier and TypeInterfaceDescriptioninterface
UniConstraintBuilder<A,
Score_ extends Score<Score_>> Used to build aConstraint
out of aUniConstraintStream
, applying optional configuration.Modifier and TypeMethodDescriptiondefault <Score_ extends Score<Score_>>
UniConstraintBuilder<A,Score_> UniConstraintStream.impact
(Score_ constraintWeight) Positively or negatively impacts theScore
by the constraintWeight for each match and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
UniConstraintBuilder<A,Score_> UniConstraintStream.impact
(Score_ constraintWeight, ToIntFunction<A> matchWeigher) Positively or negatively impacts theScore
by constraintWeight multiplied by matchWeight for each match and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
UniConstraintBuilder<A,Score_> UniConstraintStream.impactBigDecimal
(Score_ constraintWeight, Function<A, BigDecimal> matchWeigher) As defined byUniConstraintStream.impact(Score, ToIntFunction)
, with an impact of typeBigDecimal
.<Score_ extends Score<Score_>>
UniConstraintBuilder<A,Score_> UniConstraintStream.impactLong
(Score_ constraintWeight, ToLongFunction<A> matchWeigher) As defined byUniConstraintStream.impact(Score, ToIntFunction)
, with an impact of type long.default <Score_ extends Score<Score_>>
UniConstraintBuilder<A,Score_> UniConstraintStream.penalize
(Score_ constraintWeight) As defined byUniConstraintStream.penalize(Score, ToIntFunction)
, where the match weight is one (1).<Score_ extends Score<Score_>>
UniConstraintBuilder<A,Score_> UniConstraintStream.penalize
(Score_ constraintWeight, ToIntFunction<A> matchWeigher) Applies a negativeScore
impact, subtracting the constraintWeight multiplied by the match weight, and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
UniConstraintBuilder<A,Score_> UniConstraintStream.penalizeBigDecimal
(Score_ constraintWeight, Function<A, BigDecimal> matchWeigher) As defined byUniConstraintStream.penalize(Score, ToIntFunction)
, with a penalty of typeBigDecimal
.<Score_ extends Score<Score_>>
UniConstraintBuilder<A,Score_> UniConstraintStream.penalizeLong
(Score_ constraintWeight, ToLongFunction<A> matchWeigher) As defined byUniConstraintStream.penalize(Score, ToIntFunction)
, with a penalty of type long.default <Score_ extends Score<Score_>>
UniConstraintBuilder<A,Score_> UniConstraintStream.reward
(Score_ constraintWeight) As defined byUniConstraintStream.reward(Score, ToIntFunction)
, where the match weight is one (1).<Score_ extends Score<Score_>>
UniConstraintBuilder<A,Score_> UniConstraintStream.reward
(Score_ constraintWeight, ToIntFunction<A> matchWeigher) Applies a positiveScore
impact, adding the constraintWeight multiplied by the match weight, and returns a builder to apply optional constraint properties.<Score_ extends Score<Score_>>
UniConstraintBuilder<A,Score_> UniConstraintStream.rewardBigDecimal
(Score_ constraintWeight, Function<A, BigDecimal> matchWeigher) As defined byUniConstraintStream.reward(Score, ToIntFunction)
, with a penalty of typeBigDecimal
.<Score_ extends Score<Score_>>
UniConstraintBuilder<A,Score_> UniConstraintStream.rewardLong
(Score_ constraintWeight, ToLongFunction<A> matchWeigher) As defined byUniConstraintStream.reward(Score, ToIntFunction)
, with a penalty of type long.Modifier and TypeMethodDescriptiondefault Constraint
UniConstraintStream.impact
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
UniConstraintStream.impact
(String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
UniConstraintStream.impactBigDecimal
(String constraintPackage, String constraintName, Score<?> constraintWeight, Function<A, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
UniConstraintStream.impactBigDecimal
(String constraintName, Score<?> constraintWeight, Function<A, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
UniConstraintStream.impactLong
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
UniConstraintStream.impactLong
(String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
UniConstraintStream.penalize
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
UniConstraintStream.penalize
(String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
UniConstraintStream.penalizeBigDecimal
(String constraintPackage, String constraintName, Score<?> constraintWeight, Function<A, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
UniConstraintStream.penalizeBigDecimal
(String constraintName, Score<?> constraintWeight, Function<A, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
UniConstraintStream.penalizeLong
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
UniConstraintStream.penalizeLong
(String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
UniConstraintStream.reward
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
UniConstraintStream.reward
(String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
UniConstraintStream.rewardBigDecimal
(String constraintPackage, String constraintName, Score<?> constraintWeight, Function<A, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
UniConstraintStream.rewardBigDecimal
(String constraintName, Score<?> constraintWeight, Function<A, BigDecimal> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
UniConstraintStream.rewardLong
(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version.default Constraint
UniConstraintStream.rewardLong
(String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Score in org.optaplanner.core.api.solver.event
Modifier and TypeMethodDescriptionBestSolutionChangedEvent.getNewBestScore()
Returns theScore
of theBestSolutionChangedEvent.getNewBestSolution()
.ModifierConstructorDescriptionBestSolutionChangedEvent
(Solver<Solution_> solver, long timeMillisSpent, Solution_ newBestSolution, Score newBestScore) -
Uses of Score in org.optaplanner.core.config.solver.monitoring
Modifier and TypeMethodDescriptionstatic void
SolverMetric.registerScoreMetrics
(SolverMetric metric, io.micrometer.core.instrument.Tags tags, ScoreDefinition<?> scoreDefinition, Map<io.micrometer.core.instrument.Tags, List<AtomicReference<Number>>> tagToScoreLevels, Score<?> score) -
Uses of Score in org.optaplanner.core.impl.constructionheuristic.decider
Modifier and TypeMethodDescriptionprotected <Score_ extends Score<Score_>>
voidConstructionHeuristicDecider.doMove
(ConstructionHeuristicMoveScope<Solution_> moveScope) -
Uses of Score in org.optaplanner.core.impl.domain.constraintweight.descriptor
-
Uses of Score in org.optaplanner.core.impl.domain.score.descriptor
-
Uses of Score in org.optaplanner.core.impl.domain.solution.descriptor
-
Uses of Score in org.optaplanner.core.impl.exhaustivesearch.node
Modifier and TypeMethodDescriptionExhaustiveSearchNode.getOptimisticBound()
ExhaustiveSearchNode.getScore()
Modifier and TypeMethodDescriptionvoid
ExhaustiveSearchNode.setOptimisticBound
(Score optimisticBound) void
-
Uses of Score in org.optaplanner.core.impl.exhaustivesearch.node.bounder
Modifier and TypeMethodDescriptionScoreBounder.calculateOptimisticBound
(ScoreDirector scoreDirector, Score score) In OR terms, this is called the lower bound if they minimize, and upper bound if they maximize.TrendBasedScoreBounder.calculateOptimisticBound
(ScoreDirector scoreDirector, Score score) ScoreBounder.calculatePessimisticBound
(ScoreDirector scoreDirector, Score score) In OR terms, this is called the upper bound if they minimize, and lower bound if they maximize.TrendBasedScoreBounder.calculatePessimisticBound
(ScoreDirector scoreDirector, Score score) Modifier and TypeMethodDescriptionScoreBounder.calculateOptimisticBound
(ScoreDirector scoreDirector, Score score) In OR terms, this is called the lower bound if they minimize, and upper bound if they maximize.TrendBasedScoreBounder.calculateOptimisticBound
(ScoreDirector scoreDirector, Score score) ScoreBounder.calculatePessimisticBound
(ScoreDirector scoreDirector, Score score) In OR terms, this is called the upper bound if they minimize, and lower bound if they maximize.TrendBasedScoreBounder.calculatePessimisticBound
(ScoreDirector scoreDirector, Score score) -
Uses of Score in org.optaplanner.core.impl.exhaustivesearch.scope
Modifier and TypeMethodDescriptionExhaustiveSearchPhaseScope.getBestPessimisticBound()
ExhaustiveSearchStepScope.getStartingStepScore()
Modifier and TypeMethodDescriptionvoid
ExhaustiveSearchPhaseScope.registerPessimisticBound
(Score pessimisticBound) void
ExhaustiveSearchPhaseScope.setBestPessimisticBound
(Score bestPessimisticBound) -
Uses of Score in org.optaplanner.core.impl.heuristic.thread
Modifier and TypeClassDescriptionclass
ApplyStepOperation<Solution_,
Score_ extends Score<Score_>> class
MoveThreadRunner<Solution_,
Score_ extends Score<Score_>> class
SetupOperation<Solution_,
Score_ extends Score<Score_>> Modifier and TypeMethodDescriptionvoid
OrderByMoveIndexBlockingQueue.addMove
(int moveThreadIndex, int stepIndex, int moveIndex, Move<Solution_> move, Score score) This method is thread-safe.ModifierConstructorDescriptionMoveResult
(int moveThreadIndex, int stepIndex, int moveIndex, Move<Solution_> move, boolean moveDoable, Score score) -
Uses of Score in org.optaplanner.core.impl.localsearch.decider
Modifier and TypeMethodDescriptionprotected <Score_ extends Score<Score_>>
voidLocalSearchDecider.doMove
(LocalSearchMoveScope<Solution_> moveScope) -
Uses of Score in org.optaplanner.core.impl.localsearch.decider.acceptor.greatdeluge
Modifier and TypeMethodDescriptionGreatDelugeAcceptor.getInitialWaterLevel()
GreatDelugeAcceptor.getWaterLevelIncrementScore()
Modifier and TypeMethodDescriptionvoid
GreatDelugeAcceptor.setInitialWaterLevel
(Score initialLevel) void
GreatDelugeAcceptor.setWaterLevelIncrementScore
(Score waterLevelIncrementScore) -
Uses of Score in org.optaplanner.core.impl.localsearch.decider.acceptor.lateacceptance
-
Uses of Score in org.optaplanner.core.impl.localsearch.decider.acceptor.simulatedannealing
Modifier and TypeMethodDescriptionvoid
SimulatedAnnealingAcceptor.setStartingTemperature
(Score startingTemperature) -
Uses of Score in org.optaplanner.core.impl.localsearch.decider.acceptor.stepcountinghillclimbing
-
Uses of Score in org.optaplanner.core.impl.localsearch.decider.forager.finalist
Modifier and TypeFieldDescriptionprotected Score
HighestScoreFinalistPodium.finalistScore
protected Score
StrategicOscillationByLevelFinalistPodium.finalistScore
protected Score
StrategicOscillationByLevelFinalistPodium.referenceScore
-
Uses of Score in org.optaplanner.core.impl.phase
Modifier and TypeMethodDescriptionprotected <Score_ extends Score<Score_>>
voidAbstractPhase.calculateWorkingStepScore
(AbstractStepScope<Solution_> stepScope, Object completedAction) protected <Score_ extends Score<Score_>>
voidAbstractPhase.predictWorkingStepScore
(AbstractStepScope<Solution_> stepScope, Object completedAction) -
Uses of Score in org.optaplanner.core.impl.phase.scope
Modifier and TypeFieldDescriptionprotected Score<?>
AbstractMoveScope.score
protected Score<?>
AbstractStepScope.score
protected Score
AbstractPhaseScope.startingScore
Modifier and TypeMethodDescription<Score_ extends Score<Score_>>
voidAbstractPhaseScope.assertExpectedWorkingScore
(Score_ expectedWorkingScore, Object completedAction) <Score_ extends Score<Score_>>
voidAbstractPhaseScope.assertPredictedScoreFromScratch
(Score_ workingScore, Object completedAction) <Score_ extends Score<Score_>>
voidAbstractPhaseScope.assertShadowVariablesAreNotStale
(Score_ workingScore, Object completedAction) <Score_ extends Score<Score_>>
voidAbstractPhaseScope.assertWorkingScoreFromScratch
(Score_ workingScore, Object completedAction) <Score_ extends Score<Score_>>
Score_AbstractPhaseScope.calculateScore()
<Score_ extends Score<Score_>>
Score_AbstractPhaseScope.getBestScore()
<Score_ extends Score<Score_>>
InnerScoreDirector<Solution_,Score_> AbstractMoveScope.getScoreDirector()
<Score_ extends Score<Score_>>
InnerScoreDirector<Solution_,Score_> AbstractPhaseScope.getScoreDirector()
<Score_ extends Score<Score_>>
InnerScoreDirector<Solution_,Score_> AbstractStepScope.getScoreDirector()
<Score_ extends Score<Score_>>
Score_AbstractPhaseScope.getStartingScore()
-
Uses of Score in org.optaplanner.core.impl.score
Modifier and TypeClassDescriptionfinal class
DefaultScoreExplanation<Solution_,
Score_ extends Score<Score_>> final class
DefaultScoreManager<Solution_,
Score_ extends Score<Score_>> Modifier and TypeMethodDescriptionScoreUtil.buildShortString
(Score<Score_> score, Predicate<Number> notZero, String... levelLabels) DefaultScoreExplanation.explainScore
(Score_ workingScore, Collection<ConstraintMatchTotal<Score_>> constraintMatchTotalCollection, Collection<Indictment<Score_>> indictmentCollection) DefaultScoreExplanation.explainScore
(Score_ workingScore, Collection<ConstraintMatchTotal<Score_>> constraintMatchTotalCollection, Collection<Indictment<Score_>> indictmentCollection, int indictmentLimit, int constraintMatchLimit) Modifier and TypeMethodDescriptionScoreUtil.buildShortString
(Score<Score_> score, Predicate<Number> notZero, String... levelLabels) Modifier and TypeMethodDescriptionstatic int
ScoreUtil.parseInitScore
(Class<? extends Score<?>> scoreClass, String scoreString, String initScoreString) static BigDecimal
ScoreUtil.parseLevelAsBigDecimal
(Class<? extends Score<?>> scoreClass, String scoreString, String levelString) static int
ScoreUtil.parseLevelAsInt
(Class<? extends Score<?>> scoreClass, String scoreString, String levelString) static long
ScoreUtil.parseLevelAsLong
(Class<? extends Score<?>> scoreClass, String scoreString, String levelString) static String[]
ScoreUtil.parseScoreTokens
(Class<? extends Score<?>> scoreClass, String scoreString, String... levelSuffixes) -
Uses of Score in org.optaplanner.core.impl.score.comparator
-
Uses of Score in org.optaplanner.core.impl.score.constraint
Modifier and TypeClassDescriptionfinal class
DefaultConstraintMatchTotal<Score_ extends Score<Score_>>
final class
DefaultIndictment<Score_ extends Score<Score_>>
-
Uses of Score in org.optaplanner.core.impl.score.definition
Modifier and TypeClassDescriptionclass
AbstractBendableScoreDefinition<Score_ extends Score<Score_>>
class
AbstractScoreDefinition<Score_ extends Score<Score_>>
Abstract superclass forScoreDefinition
.interface
ScoreDefinition<Score_ extends Score<Score_>>
Modifier and TypeMethodDescriptionboolean
AbstractBendableScoreDefinition.isCompatibleArithmeticArgument
(Score score) boolean
AbstractScoreDefinition.isCompatibleArithmeticArgument
(Score score) boolean
ScoreDefinition.isCompatibleArithmeticArgument
(Score score) -
Uses of Score in org.optaplanner.core.impl.score.director
Modifier and TypeClassDescriptionclass
AbstractScoreDirector<Solution_,
Score_ extends Score<Score_>, Factory_ extends AbstractScoreDirectorFactory<Solution_, Score_>> Abstract superclass forScoreDirector
.class
AbstractScoreDirectorFactory<Solution_,
Score_ extends Score<Score_>> Abstract superclass forScoreDirectorFactory
.interface
InnerScoreDirector<Solution_,
Score_ extends Score<Score_>> interface
InnerScoreDirectorFactory<Solution_,
Score_ extends Score<Score_>> class
ScoreDirectorFactoryFactory<Solution_,
Score_ extends Score<Score_>> interface
ScoreDirectorFactoryService<Solution_,
Score_ extends Score<Score_>> AllScoreDirectorFactory
implementations must provide an implementation of this interface, as well as an entry in META-INF/services/org.optaplanner.core.impl.score.director.ScoreDirectorFactoryService file. -
Uses of Score in org.optaplanner.core.impl.score.director.easy
Modifier and TypeClassDescriptionclass
EasyScoreDirector<Solution_,
Score_ extends Score<Score_>> Easy java implementation ofScoreDirector
, which recalculates theScore
of theworking solution
every time.class
EasyScoreDirectorFactory<Solution_,
Score_ extends Score<Score_>> Easy implementation ofScoreDirectorFactory
.final class
EasyScoreDirectorFactoryService<Solution_,
Score_ extends Score<Score_>> -
Uses of Score in org.optaplanner.core.impl.score.director.incremental
Modifier and TypeClassDescriptionclass
IncrementalScoreDirector<Solution_,
Score_ extends Score<Score_>> Incremental java implementation ofScoreDirector
, which only recalculates theScore
of the part of theworking solution
that changed, instead of the going through the entirePlanningSolution
.class
IncrementalScoreDirectorFactory<Solution_,
Score_ extends Score<Score_>> Incremental implementation ofScoreDirectorFactory
.final class
IncrementalScoreDirectorFactoryService<Solution_,
Score_ extends Score<Score_>> -
Uses of Score in org.optaplanner.core.impl.solver
Modifier and TypeMethodDescription<Score_ extends Score<Score_>>
InnerScoreDirectorFactory<Solution_,Score_> DefaultSolverFactory.getScoreDirectorFactory()
-
Uses of Score in org.optaplanner.core.impl.solver.change
Modifier and TypeMethodDescriptionScore<?>
DefaultProblemChangeDirector.doProblemChange
(ProblemChange<Solution_> problemChange) -
Uses of Score in org.optaplanner.core.impl.solver.recaller
Modifier and TypeMethodDescriptionvoid
BestSolutionRecaller.processWorkingSolutionDuringMove
(Score score, AbstractStepScope<Solution_> stepScope) -
Uses of Score in org.optaplanner.core.impl.solver.scope
Modifier and TypeFieldDescriptionprotected Score
SolverScope.bestScore
protected Score
SolverScope.startingInitializedScore
Modifier and TypeMethodDescription<Score_ extends Score<Score_>>
InnerScoreDirector<Solution_,Score_> SolverScope.getScoreDirector()
Modifier and TypeMethodDescriptionSolverScope.calculateScore()
SolverScope.getBestScore()
SolverScope.getStartingInitializedScore()
Modifier and TypeMethodDescriptionvoid
SolverScope.setBestScore
(Score bestScore) void
SolverScope.setStartingInitializedScore
(Score startingInitializedScore) -
Uses of Score in org.optaplanner.core.impl.solver.termination
Modifier and TypeMethodDescription<Score_ extends Score<Score_>>
Termination<Solution_>TerminationFactory.buildTermination
(HeuristicConfigPolicy<Solution_> configPolicy) protected <Score_ extends Score<Score_>>
List<Termination<Solution_>>TerminationFactory.buildTimeBasedTermination
(HeuristicConfigPolicy<Solution_> configPolicy) protected <Score_ extends Score<Score_>>
doubleBestScoreFeasibleTermination.calculateFeasibilityTimeGradient
(Score_ startScore, Score_ score) protected <Score_ extends Score<Score_>>
doubleBestScoreTermination.calculateTimeGradient
(Score_ startScore, Score_ endScore, Score_ score) Modifier and TypeMethodDescriptionUnimprovedTimeMillisSpentScoreDifferenceThresholdTermination.getUnimprovedScoreDifferenceThreshold()
Modifier and TypeMethodDescriptionprotected boolean
BestScoreFeasibleTermination.isTerminated
(Score bestScore) protected boolean
BestScoreTermination.isTerminated
(boolean bestSolutionInitialized, Score bestScore) ModifierConstructorDescriptionBestScoreTermination
(ScoreDefinition scoreDefinition, Score bestScoreLimit, double[] timeGradientWeightNumbers) UnimprovedTimeMillisSpentScoreDifferenceThresholdTermination
(long unimprovedTimeMillisSpentLimit, Score unimprovedScoreDifferenceThreshold) protected
UnimprovedTimeMillisSpentScoreDifferenceThresholdTermination
(long unimprovedTimeMillisSpentLimit, Score unimprovedScoreDifferenceThreshold, Clock clock) -
Uses of Score in org.optaplanner.core.impl.statistic
Modifier and TypeClassDescriptionclass
PickedMoveBestScoreDiffStatistic<Solution_,
Score_ extends Score<Score_>> -
Uses of Score in org.optaplanner.persistence.jackson.api.score
Modifier and TypeClassDescriptionclass
AbstractScoreJacksonDeserializer<Score_ extends Score<Score_>>
Jackson binding support for aScore
type.class
AbstractScoreJacksonSerializer<Score_ extends Score<Score_>>
Jackson binding support for aScore
subtype.Modifier and TypeMethodDescriptionPolymorphicScoreJacksonDeserializer.deserialize
(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context) -
Uses of Score in org.optaplanner.persistence.jaxb.api.score
Modifier and TypeClassDescriptionclass
AbstractScoreJaxbAdapter<Score_ extends Score<Score_>>
JAXB binding support for aScore
type.Modifier and TypeMethodDescriptionPolymorphicScoreJaxbAdapter.unmarshal
(org.optaplanner.persistence.jaxb.api.score.PolymorphicScoreJaxbAdapter.JaxbAdaptedScore jaxbAdaptedScore) -
Uses of Score in org.optaplanner.persistence.jpa.impl.score
Modifier and TypeMethodDescriptionAbstractScoreHibernateType.nullSafeGet
(ResultSet resultSet, String[] names, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) -
Uses of Score in org.optaplanner.persistence.jsonb.api.score
Modifier and TypeClassDescriptionclass
AbstractScoreJsonbAdapter<Score_ extends Score<Score_>>
JSON-B binding support for aScore
type. -
Uses of Score in org.optaplanner.test.api.score.stream
Modifier and TypeMethodDescriptiondefault void
Asserts that theConstraintProvider
under test, given a set of facts, results in a specificScore
.void
As defined byMultiConstraintAssertion.scores(Score)
. -
Uses of Score in org.optaplanner.test.impl.score
ModifierConstructorDescriptionAbstractScoreVerifier
(SolverFactory<Solution_> solverFactory, Class<? extends Score<?>> expectedScoreClass) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Score in org.optaplanner.test.impl.score.stream
Modifier and TypeClassDescriptionfinal class
DefaultConstraintVerifier<ConstraintProvider_ extends ConstraintProvider,
Solution_, Score_ extends Score<Score_>> final class
DefaultMultiConstraintAssertion<Score_ extends Score<Score_>>
final class
DefaultMultiConstraintVerification<Solution_,
Score_ extends Score<Score_>> final class
DefaultSingleConstraintAssertion<Solution_,
Score_ extends Score<Score_>> final class
DefaultSingleConstraintVerification<Solution_,
Score_ extends Score<Score_>>
IBendableScore
instead.