Uses of Interface
org.optaplanner.core.api.score.Score
Packages that use 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.Solver
, SolverFactory
, ...Event listeners for
Solver
.Jackson bindings for
Score
.JAXB bindings for
Score
.-
Uses of Score in org.optaplanner.benchmark.impl.measurement
Methods in org.optaplanner.benchmark.impl.measurement with type parameters of type ScoreModifier and TypeMethodDescriptionstatic <Score_ extends Score<Score_>>
ScoreDifferencePercentageScoreDifferencePercentage.calculateScoreDifferencePercentage
(Score_ baseScore, Score_ valueScore) -
Uses of Score in org.optaplanner.benchmark.impl.result
Methods in org.optaplanner.benchmark.impl.result that return ScoreModifier 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()
Methods in org.optaplanner.benchmark.impl.result that return types with arguments of type ScoreMethods in org.optaplanner.benchmark.impl.result with parameters of type ScoreModifier and TypeMethodDescriptionvoid
SingleBenchmarkResult.setAverageAndTotalScoreForTesting
(Score<?> averageAndTotalScore) void
void
SingleBenchmarkResult.setWinningScoreDifference
(Score<?> winningScoreDifference) -
Uses of Score in org.optaplanner.benchmark.impl.statistic
Classes in org.optaplanner.benchmark.impl.statistic with type parameters of type ScoreMethods in org.optaplanner.benchmark.impl.statistic with parameters of type ScoreModifier and TypeMethodDescriptionstatic double[]
StatisticUtils.determineStandardDeviationDoubles
(List<? extends BenchmarkResult> benchmarkResultList, Score averageScore, int successCount) Calculates standard deviation ofBenchmarkResult.getAverageScore()
s fromaverageScore
.Method parameters in org.optaplanner.benchmark.impl.statistic with type arguments of type ScoreModifier 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
Methods in org.optaplanner.benchmark.impl.statistic.bestscore that return ScoreConstructors in org.optaplanner.benchmark.impl.statistic.bestscore with parameters of type Score -
Uses of Score in org.optaplanner.benchmark.impl.statistic.stepscore
Methods in org.optaplanner.benchmark.impl.statistic.stepscore that return ScoreConstructors in org.optaplanner.benchmark.impl.statistic.stepscore with parameters of type Score -
Uses of Score in org.optaplanner.benchmark.impl.statistic.subsingle.constraintmatchtotalbestscore
Methods in org.optaplanner.benchmark.impl.statistic.subsingle.constraintmatchtotalbestscore that return ScoreConstructors in org.optaplanner.benchmark.impl.statistic.subsingle.constraintmatchtotalbestscore with parameters of type ScoreModifierConstructorDescriptionConstraintMatchTotalBestScoreStatisticPoint
(long timeMillisSpent, String constraintPackage, String constraintName, int constraintMatchCount, Score scoreTotal) -
Uses of Score in org.optaplanner.benchmark.impl.statistic.subsingle.constraintmatchtotalstepscore
Methods in org.optaplanner.benchmark.impl.statistic.subsingle.constraintmatchtotalstepscore that return ScoreConstructors in org.optaplanner.benchmark.impl.statistic.subsingle.constraintmatchtotalstepscore with parameters of type ScoreModifierConstructorDescriptionConstraintMatchTotalStepScoreStatisticPoint
(long timeMillisSpent, String constraintPackage, String constraintName, int constraintMatchCount, Score scoreTotal) -
Uses of Score in org.optaplanner.benchmark.impl.statistic.subsingle.pickedmovetypebestscore
Methods in org.optaplanner.benchmark.impl.statistic.subsingle.pickedmovetypebestscore that return ScoreConstructors in org.optaplanner.benchmark.impl.statistic.subsingle.pickedmovetypebestscore with parameters of type ScoreModifierConstructorDescriptionPickedMoveTypeBestScoreDiffStatisticPoint
(long timeMillisSpent, String moveType, Score bestScoreDiff) -
Uses of Score in org.optaplanner.benchmark.impl.statistic.subsingle.pickedmovetypestepscore
Methods in org.optaplanner.benchmark.impl.statistic.subsingle.pickedmovetypestepscore that return ScoreConstructors in org.optaplanner.benchmark.impl.statistic.subsingle.pickedmovetypestepscore with parameters of type ScoreModifierConstructorDescriptionPickedMoveTypeStepScoreDiffStatisticPoint
(long timeMillisSpent, String moveType, Score stepScoreDiff) -
Uses of Score in org.optaplanner.constraint.drl
Classes in org.optaplanner.constraint.drl with type parameters of type ScoreModifier 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
Classes in org.optaplanner.constraint.drl.holder with type parameters of type ScoreModifier 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.Methods in org.optaplanner.constraint.drl.holder with type parameters of type ScoreModifier 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
Classes in org.optaplanner.core.api.score with type parameters of type ScoreModifier 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 bySolutionManager.explain(Object)
to holdConstraintMatchTotal
s andIndictment
s necessary to explain the quality of a particularScore
.interface
ScoreManager<Solution_,
Score_ extends Score<Score_>> Deprecated, for removal: This API element is subject to removal in a future version.Subinterfaces of Score in org.optaplanner.core.api.scoreModifier and TypeInterfaceDescriptioninterface
IBendableScore<Score_ extends IBendableScore<Score_>>
Bendable score is aScore
whoseIBendableScore.hardLevelsSize()
andIBendableScore.softLevelsSize()
are only known at runtime.Classes in org.optaplanner.core.api.score that implement ScoreModifier and TypeClassDescriptionclass
AbstractBendableScore<Score_ extends AbstractBendableScore<Score_>>
Deprecated, for removal: This API element is subject to removal in a future version.ImplementIBendableScore
instead.class
AbstractScore<Score_ extends AbstractScore<Score_>>
Deprecated, for removal: This API element is subject to removal in a future version.ImplementScore
instead.Methods in org.optaplanner.core.api.score with type parameters of type ScoreModifier and TypeMethodDescriptionstatic <Solution_,
Score_ extends Score<Score_>>
ScoreManager<Solution_,Score_> ScoreManager.create
(SolverFactory<Solution_> solverFactory) Deprecated, for removal: This API element is subject to removal in a future version.Uses aSolverFactory
to build aScoreManager
.static <Solution_,
Score_ extends Score<Score_>, ProblemId_>
ScoreManager<Solution_,Score_> ScoreManager.create
(SolverManager<Solution_, ProblemId_> solverManager) Deprecated, for removal: This API element is subject to removal in a future version.Uses aSolverManager
to build aScoreManager
. -
Uses of Score in org.optaplanner.core.api.score.buildin.bendable
Classes in org.optaplanner.core.api.score.buildin.bendable that implement Score -
Uses of Score in org.optaplanner.core.api.score.buildin.bendablebigdecimal
Classes in org.optaplanner.core.api.score.buildin.bendablebigdecimal that implement ScoreModifier and TypeClassDescriptionfinal class
ThisScore
is based on n levels ofBigDecimal
constraints. -
Uses of Score in org.optaplanner.core.api.score.buildin.bendablelong
Classes in org.optaplanner.core.api.score.buildin.bendablelong that implement ScoreModifier and TypeClassDescriptionfinal class
ThisScore
is based on n levels of long constraints. -
Uses of Score in org.optaplanner.core.api.score.buildin.hardmediumsoft
Classes in org.optaplanner.core.api.score.buildin.hardmediumsoft that implement ScoreModifier 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
Classes in org.optaplanner.core.api.score.buildin.hardmediumsoftbigdecimal that implement ScoreModifier 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
Classes in org.optaplanner.core.api.score.buildin.hardmediumsoftlong that implement ScoreModifier 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
Classes in org.optaplanner.core.api.score.buildin.hardsoft that implement ScoreModifier 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
Classes in org.optaplanner.core.api.score.buildin.hardsoftbigdecimal that implement ScoreModifier 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
Classes in org.optaplanner.core.api.score.buildin.hardsoftlong that implement ScoreModifier 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
Classes in org.optaplanner.core.api.score.buildin.simple that implement Score -
Uses of Score in org.optaplanner.core.api.score.buildin.simplebigdecimal
Classes in org.optaplanner.core.api.score.buildin.simplebigdecimal that implement ScoreModifier and TypeClassDescriptionfinal class
ThisScore
is based on 1 level ofBigDecimal
constraints. -
Uses of Score in org.optaplanner.core.api.score.buildin.simplelong
Classes in org.optaplanner.core.api.score.buildin.simplelong that implement Score -
Uses of Score in org.optaplanner.core.api.score.calculator
Classes in org.optaplanner.core.api.score.calculator with type parameters of type ScoreModifier 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
Classes in org.optaplanner.core.api.score.constraint with type parameters of type ScoreModifier 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
Classes in org.optaplanner.core.api.score.holder with type parameters of type ScoreModifier 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
Methods in org.optaplanner.core.api.score.stream with type parameters of type ScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
Score_DefaultConstraintJustification.getImpact()
Methods in org.optaplanner.core.api.score.stream with parameters of type ScoreModifier 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
Classes in org.optaplanner.core.api.score.stream.bi with type parameters of type ScoreModifier and TypeInterfaceDescriptioninterface
BiConstraintBuilder<A,
B, Score_ extends Score<Score_>> Used to build aConstraint
out of aBiConstraintStream
, applying optional configuration.Methods in org.optaplanner.core.api.score.stream.bi with type parameters of type ScoreModifier 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.Methods in org.optaplanner.core.api.score.stream.bi with parameters of type ScoreModifier 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
Classes in org.optaplanner.core.api.score.stream.quad with type parameters of type ScoreModifier and TypeInterfaceDescriptioninterface
QuadConstraintBuilder<A,
B, C, D, Score_ extends Score<Score_>> Used to build aConstraint
out of aQuadConstraintStream
, applying optional configuration.Methods in org.optaplanner.core.api.score.stream.quad with type parameters of type ScoreModifier 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.Methods in org.optaplanner.core.api.score.stream.quad with parameters of type ScoreModifier 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
Classes in org.optaplanner.core.api.score.stream.tri with type parameters of type ScoreModifier and TypeInterfaceDescriptioninterface
TriConstraintBuilder<A,
B, C, Score_ extends Score<Score_>> Used to build aConstraint
out of aTriConstraintStream
, applying optional configuration.Methods in org.optaplanner.core.api.score.stream.tri with type parameters of type ScoreModifier 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.Methods in org.optaplanner.core.api.score.stream.tri with parameters of type ScoreModifier 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
Classes in org.optaplanner.core.api.score.stream.uni with type parameters of type ScoreModifier and TypeInterfaceDescriptioninterface
UniConstraintBuilder<A,
Score_ extends Score<Score_>> Used to build aConstraint
out of aUniConstraintStream
, applying optional configuration.Methods in org.optaplanner.core.api.score.stream.uni with type parameters of type ScoreModifier 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.Methods in org.optaplanner.core.api.score.stream.uni with parameters of type ScoreModifier 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
Classes in org.optaplanner.core.api.solver with type parameters of type ScoreModifier and TypeInterfaceDescriptioninterface
SolutionManager<Solution_,
Score_ extends Score<Score_>> Methods in org.optaplanner.core.api.solver with type parameters of type ScoreModifier and TypeMethodDescriptionstatic <Solution_,
Score_ extends Score<Score_>>
SolutionManager<Solution_,Score_> SolutionManager.create
(SolverFactory<Solution_> solverFactory) Uses aSolverFactory
to build aSolutionManager
.static <Solution_,
Score_ extends Score<Score_>, ProblemId_>
SolutionManager<Solution_,Score_> SolutionManager.create
(SolverManager<Solution_, ProblemId_> solverManager) Uses aSolverManager
to build aSolutionManager
. -
Uses of Score in org.optaplanner.core.api.solver.event
Methods in org.optaplanner.core.api.solver.event that return ScoreModifier and TypeMethodDescriptionBestSolutionChangedEvent.getNewBestScore()
Returns theScore
of theBestSolutionChangedEvent.getNewBestSolution()
.Constructors in org.optaplanner.core.api.solver.event with parameters of type ScoreModifierConstructorDescriptionBestSolutionChangedEvent
(Solver<Solution_> solver, long timeMillisSpent, Solution_ newBestSolution, Score newBestScore) -
Uses of Score in org.optaplanner.core.config.solver.monitoring
Methods in org.optaplanner.core.config.solver.monitoring with parameters of type ScoreModifier 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
Methods in org.optaplanner.core.impl.constructionheuristic.decider with type parameters of type ScoreModifier and TypeMethodDescriptionprotected <Score_ extends Score<Score_>>
voidConstructionHeuristicDecider.doMove
(ConstructionHeuristicMoveScope<Solution_> moveScope) -
Uses of Score in org.optaplanner.core.impl.domain.constraintweight.descriptor
Methods in org.optaplanner.core.impl.domain.constraintweight.descriptor that return types with arguments of type Score -
Uses of Score in org.optaplanner.core.impl.domain.score.descriptor
Methods in org.optaplanner.core.impl.domain.score.descriptor that return ScoreMethods in org.optaplanner.core.impl.domain.score.descriptor that return types with arguments of type ScoreMethods in org.optaplanner.core.impl.domain.score.descriptor with parameters of type Score -
Uses of Score in org.optaplanner.core.impl.domain.solution.descriptor
Methods in org.optaplanner.core.impl.domain.solution.descriptor that return ScoreMethods in org.optaplanner.core.impl.domain.solution.descriptor with parameters of type Score -
Uses of Score in org.optaplanner.core.impl.exhaustivesearch.node
Methods in org.optaplanner.core.impl.exhaustivesearch.node that return ScoreModifier and TypeMethodDescriptionExhaustiveSearchNode.getOptimisticBound()
ExhaustiveSearchNode.getScore()
Methods in org.optaplanner.core.impl.exhaustivesearch.node with parameters of type ScoreModifier and TypeMethodDescriptionvoid
ExhaustiveSearchNode.setOptimisticBound
(Score optimisticBound) void
-
Uses of Score in org.optaplanner.core.impl.exhaustivesearch.node.bounder
Methods in org.optaplanner.core.impl.exhaustivesearch.node.bounder that return ScoreModifier 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) Methods in org.optaplanner.core.impl.exhaustivesearch.node.bounder with parameters of type ScoreModifier 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
Methods in org.optaplanner.core.impl.exhaustivesearch.scope that return ScoreModifier and TypeMethodDescriptionExhaustiveSearchPhaseScope.getBestPessimisticBound()
ExhaustiveSearchStepScope.getStartingStepScore()
Methods in org.optaplanner.core.impl.exhaustivesearch.scope with parameters of type ScoreModifier and TypeMethodDescriptionvoid
ExhaustiveSearchPhaseScope.registerPessimisticBound
(Score pessimisticBound) void
ExhaustiveSearchPhaseScope.setBestPessimisticBound
(Score bestPessimisticBound) -
Uses of Score in org.optaplanner.core.impl.heuristic.thread
Classes in org.optaplanner.core.impl.heuristic.thread with type parameters of type ScoreModifier and TypeClassDescriptionclass
ApplyStepOperation<Solution_,
Score_ extends Score<Score_>> class
MoveThreadRunner<Solution_,
Score_ extends Score<Score_>> class
SetupOperation<Solution_,
Score_ extends Score<Score_>> Methods in org.optaplanner.core.impl.heuristic.thread that return ScoreMethods in org.optaplanner.core.impl.heuristic.thread with parameters of type ScoreModifier and TypeMethodDescriptionvoid
OrderByMoveIndexBlockingQueue.addMove
(int moveThreadIndex, int stepIndex, int moveIndex, Move<Solution_> move, Score score) This method is thread-safe.Constructors in org.optaplanner.core.impl.heuristic.thread with parameters of type ScoreModifierConstructorDescriptionMoveResult
(int moveThreadIndex, int stepIndex, int moveIndex, Move<Solution_> move, boolean moveDoable, Score score) -
Uses of Score in org.optaplanner.core.impl.localsearch.decider
Methods in org.optaplanner.core.impl.localsearch.decider with type parameters of type ScoreModifier and TypeMethodDescriptionprotected <Score_ extends Score<Score_>>
voidLocalSearchDecider.doMove
(LocalSearchMoveScope<Solution_> moveScope) -
Uses of Score in org.optaplanner.core.impl.localsearch.decider.acceptor.greatdeluge
Methods in org.optaplanner.core.impl.localsearch.decider.acceptor.greatdeluge that return ScoreModifier and TypeMethodDescriptionGreatDelugeAcceptor.getInitialWaterLevel()
GreatDelugeAcceptor.getWaterLevelIncrementScore()
Methods in org.optaplanner.core.impl.localsearch.decider.acceptor.greatdeluge with parameters of type ScoreModifier and TypeMethodDescriptionvoid
GreatDelugeAcceptor.setInitialWaterLevel
(Score initialLevel) void
GreatDelugeAcceptor.setWaterLevelIncrementScore
(Score waterLevelIncrementScore) -
Uses of Score in org.optaplanner.core.impl.localsearch.decider.acceptor.lateacceptance
Fields in org.optaplanner.core.impl.localsearch.decider.acceptor.lateacceptance declared as Score -
Uses of Score in org.optaplanner.core.impl.localsearch.decider.acceptor.simulatedannealing
Fields in org.optaplanner.core.impl.localsearch.decider.acceptor.simulatedannealing declared as ScoreMethods in org.optaplanner.core.impl.localsearch.decider.acceptor.simulatedannealing with parameters of type ScoreModifier and TypeMethodDescriptionvoid
SimulatedAnnealingAcceptor.setStartingTemperature
(Score startingTemperature) -
Uses of Score in org.optaplanner.core.impl.localsearch.decider.acceptor.stepcountinghillclimbing
Fields in org.optaplanner.core.impl.localsearch.decider.acceptor.stepcountinghillclimbing declared as Score -
Uses of Score in org.optaplanner.core.impl.localsearch.decider.forager.finalist
Fields in org.optaplanner.core.impl.localsearch.decider.forager.finalist declared as ScoreModifier and TypeFieldDescriptionprotected Score
HighestScoreFinalistPodium.finalistScore
protected Score
StrategicOscillationByLevelFinalistPodium.finalistScore
protected Score
StrategicOscillationByLevelFinalistPodium.referenceScore
-
Uses of Score in org.optaplanner.core.impl.phase
Methods in org.optaplanner.core.impl.phase with type parameters of type ScoreModifier 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
Fields in org.optaplanner.core.impl.phase.scope declared as ScoreModifier and TypeFieldDescriptionprotected Score<?>
AbstractMoveScope.score
protected Score<?>
AbstractStepScope.score
protected Score
AbstractPhaseScope.startingScore
Methods in org.optaplanner.core.impl.phase.scope with type parameters of type ScoreModifier 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()
Methods in org.optaplanner.core.impl.phase.scope that return ScoreModifier and TypeMethodDescriptionAbstractMoveScope.getScore()
Score<?>
AbstractStepScope.getScore()
Methods in org.optaplanner.core.impl.phase.scope with parameters of type Score -
Uses of Score in org.optaplanner.core.impl.score
Classes in org.optaplanner.core.impl.score with type parameters of type ScoreModifier and TypeClassDescriptionfinal class
DefaultScoreExplanation<Solution_,
Score_ extends Score<Score_>> final class
DefaultScoreManager<Solution_,
Score_ extends Score<Score_>> Deprecated, for removal: This API element is subject to removal in a future version.UseDefaultSolutionManager
instead.Methods in org.optaplanner.core.impl.score with type parameters of type ScoreModifier 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) Methods in org.optaplanner.core.impl.score with parameters of type ScoreModifier and TypeMethodDescriptionScoreUtil.buildShortString
(Score<Score_> score, Predicate<Number> notZero, String... levelLabels) Method parameters in org.optaplanner.core.impl.score with type arguments of type ScoreModifier 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.constraint
Classes in org.optaplanner.core.impl.score.constraint with type parameters of type ScoreModifier 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
Classes in org.optaplanner.core.impl.score.definition with type parameters of type ScoreModifier and TypeClassDescriptionclass
AbstractBendableScoreDefinition<Score_ extends Score<Score_>>
class
AbstractScoreDefinition<Score_ extends Score<Score_>>
Abstract superclass forScoreDefinition
.interface
ScoreDefinition<Score_ extends Score<Score_>>
Methods in org.optaplanner.core.impl.score.definition with parameters of type ScoreModifier 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
Classes in org.optaplanner.core.impl.score.director with type parameters of type ScoreModifier 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
Classes in org.optaplanner.core.impl.score.director.easy with type parameters of type ScoreModifier 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
Classes in org.optaplanner.core.impl.score.director.incremental with type parameters of type ScoreModifier 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
Classes in org.optaplanner.core.impl.solver with type parameters of type ScoreModifier and TypeClassDescriptionfinal class
DefaultSolutionManager<Solution_,
Score_ extends Score<Score_>> Methods in org.optaplanner.core.impl.solver with type parameters of type ScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
InnerScoreDirectorFactory<Solution_,Score_> DefaultSolverFactory.getScoreDirectorFactory()
-
Uses of Score in org.optaplanner.core.impl.solver.change
Methods in org.optaplanner.core.impl.solver.change that return ScoreModifier and TypeMethodDescriptionScore<?>
DefaultProblemChangeDirector.doProblemChange
(ProblemChange<Solution_> problemChange) -
Uses of Score in org.optaplanner.core.impl.solver.recaller
Methods in org.optaplanner.core.impl.solver.recaller with parameters of type ScoreModifier and TypeMethodDescriptionvoid
BestSolutionRecaller.processWorkingSolutionDuringMove
(Score score, AbstractStepScope<Solution_> stepScope) -
Uses of Score in org.optaplanner.core.impl.solver.scope
Fields in org.optaplanner.core.impl.solver.scope declared as ScoreModifier and TypeFieldDescriptionprotected Score
SolverScope.bestScore
protected Score
SolverScope.startingInitializedScore
Methods in org.optaplanner.core.impl.solver.scope with type parameters of type ScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
InnerScoreDirector<Solution_,Score_> SolverScope.getScoreDirector()
Methods in org.optaplanner.core.impl.solver.scope that return ScoreModifier and TypeMethodDescriptionSolverScope.calculateScore()
SolverScope.getBestScore()
SolverScope.getStartingInitializedScore()
Methods in org.optaplanner.core.impl.solver.scope with parameters of type ScoreModifier and TypeMethodDescriptionvoid
SolverScope.setBestScore
(Score bestScore) void
SolverScope.setStartingInitializedScore
(Score startingInitializedScore) -
Uses of Score in org.optaplanner.core.impl.solver.termination
Methods in org.optaplanner.core.impl.solver.termination with type parameters of type ScoreModifier 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) Methods in org.optaplanner.core.impl.solver.termination that return ScoreModifier and TypeMethodDescriptionUnimprovedTimeMillisSpentScoreDifferenceThresholdTermination.getUnimprovedScoreDifferenceThreshold()
Methods in org.optaplanner.core.impl.solver.termination with parameters of type ScoreModifier and TypeMethodDescriptionprotected boolean
BestScoreFeasibleTermination.isTerminated
(Score bestScore) protected boolean
BestScoreTermination.isTerminated
(boolean bestSolutionInitialized, Score bestScore) Constructors in org.optaplanner.core.impl.solver.termination with parameters of type ScoreModifierConstructorDescriptionBestScoreTermination
(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
Classes in org.optaplanner.core.impl.statistic with type parameters of type ScoreModifier and TypeClassDescriptionclass
PickedMoveBestScoreDiffStatistic<Solution_,
Score_ extends Score<Score_>> -
Uses of Score in org.optaplanner.persistence.jackson.api.score
Classes in org.optaplanner.persistence.jackson.api.score with type parameters of type ScoreModifier 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.Methods in org.optaplanner.persistence.jackson.api.score that return ScoreModifier and TypeMethodDescriptionPolymorphicScoreJacksonDeserializer.deserialize
(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext context) Methods in org.optaplanner.persistence.jackson.api.score with parameters of type Score -
Uses of Score in org.optaplanner.persistence.jaxb.api.score
Classes in org.optaplanner.persistence.jaxb.api.score with type parameters of type ScoreModifier and TypeClassDescriptionclass
AbstractScoreJaxbAdapter<Score_ extends Score<Score_>>
JAXB binding support for aScore
type.Methods in org.optaplanner.persistence.jaxb.api.score that return ScoreModifier and TypeMethodDescriptionPolymorphicScoreJaxbAdapter.unmarshal
(org.optaplanner.persistence.jaxb.api.score.PolymorphicScoreJaxbAdapter.JaxbAdaptedScore jaxbAdaptedScore) Methods in org.optaplanner.persistence.jaxb.api.score with parameters of type Score -
Uses of Score in org.optaplanner.persistence.jpa.impl.score
Methods in org.optaplanner.persistence.jpa.impl.score that return ScoreModifier and TypeMethodDescriptionAbstractScoreHibernateType.nullSafeGet
(ResultSet resultSet, String[] names, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of Score in org.optaplanner.persistence.jsonb.api.score
Classes in org.optaplanner.persistence.jsonb.api.score with type parameters of type ScoreModifier and TypeClassDescriptionclass
AbstractScoreJsonbAdapter<Score_ extends Score<Score_>>
JSON-B binding support for aScore
type. -
Uses of Score in org.optaplanner.test.api.score.stream
Methods in org.optaplanner.test.api.score.stream with parameters of type ScoreModifier 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
Constructor parameters in org.optaplanner.test.impl.score with type arguments of type ScoreModifierConstructorDescriptionAbstractScoreVerifier
(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
Classes in org.optaplanner.test.impl.score.stream with type parameters of type ScoreModifier 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_>> Methods in org.optaplanner.test.impl.score.stream with parameters of type Score
SolutionManager
instead.