Uses of Interface
org.optaplanner.core.api.score.Score
-
-
Uses of Score in org.optaplanner.benchmark.impl.measurement
Methods in org.optaplanner.benchmark.impl.measurement with type parameters of type Score Modifier and Type Method Description static <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 Score Modifier and Type Method Description Score
BenchmarkResult. getAverageScore()
Score
PlannerBenchmarkResult. getAverageScore()
Score
SingleBenchmarkResult. getAverageScore()
Score
SolverBenchmarkResult. getAverageScore()
Score
SubSingleBenchmarkResult. getAverageScore()
Score
SolverBenchmarkResult. getAverageWinningScoreDifference()
Score
SubSingleBenchmarkResult. getScore()
Score
SingleBenchmarkResult. getTotalScore()
Score
SolverBenchmarkResult. getTotalScore()
Score
SolverBenchmarkResult. getTotalWinningScoreDifference()
Score
SingleBenchmarkResult. getWinningScoreDifference()
Methods in org.optaplanner.benchmark.impl.result that return types with arguments of type Score Modifier and Type Method Description List<Score>
SolverBenchmarkResult. getScoreList()
Methods in org.optaplanner.benchmark.impl.result with parameters of type Score Modifier and Type Method Description void
SingleBenchmarkResult. setAverageAndTotalScoreForTesting(Score averageAndTotalScore)
void
SubSingleBenchmarkResult. setScore(Score score)
void
SingleBenchmarkResult. setWinningScoreDifference(Score winningScoreDifference)
-
Uses of Score in org.optaplanner.benchmark.impl.statistic
Methods in org.optaplanner.benchmark.impl.statistic with parameters of type Score Modifier and Type Method Description static double[]
StatisticUtils. determineStandardDeviationDoubles(List<? extends BenchmarkResult> benchmarkResultList, Score averageScore, int successCount)
Calculates standard deviation ofBenchmarkResult.getAverageScore()
s fromaverageScore
. -
Uses of Score in org.optaplanner.benchmark.impl.statistic.bestscore
Methods in org.optaplanner.benchmark.impl.statistic.bestscore that return Score Modifier and Type Method Description Score
BestScoreStatisticPoint. getScore()
Constructors in org.optaplanner.benchmark.impl.statistic.bestscore with parameters of type Score Constructor Description BestScoreStatisticPoint(long timeMillisSpent, Score score)
-
Uses of Score in org.optaplanner.benchmark.impl.statistic.stepscore
Methods in org.optaplanner.benchmark.impl.statistic.stepscore that return Score Modifier and Type Method Description Score
StepScoreStatisticPoint. getScore()
Constructors in org.optaplanner.benchmark.impl.statistic.stepscore with parameters of type Score Constructor Description StepScoreStatisticPoint(long timeMillisSpent, Score score)
-
Uses of Score in org.optaplanner.benchmark.impl.statistic.subsingle.constraintmatchtotalbestscore
Methods in org.optaplanner.benchmark.impl.statistic.subsingle.constraintmatchtotalbestscore that return Score Modifier and Type Method Description Score
ConstraintMatchTotalBestScoreStatisticPoint. getScoreTotal()
Constructors in org.optaplanner.benchmark.impl.statistic.subsingle.constraintmatchtotalbestscore with parameters of type Score Constructor Description ConstraintMatchTotalBestScoreStatisticPoint(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 Score Modifier and Type Method Description Score
ConstraintMatchTotalStepScoreStatisticPoint. getScoreTotal()
Constructors in org.optaplanner.benchmark.impl.statistic.subsingle.constraintmatchtotalstepscore with parameters of type Score Constructor Description ConstraintMatchTotalStepScoreStatisticPoint(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 Score Modifier and Type Method Description Score
PickedMoveTypeBestScoreDiffStatisticPoint. getBestScoreDiff()
Constructors in org.optaplanner.benchmark.impl.statistic.subsingle.pickedmovetypebestscore with parameters of type Score Constructor Description PickedMoveTypeBestScoreDiffStatisticPoint(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 Score Modifier and Type Method Description Score
PickedMoveTypeStepScoreDiffStatisticPoint. getStepScoreDiff()
Constructors in org.optaplanner.benchmark.impl.statistic.subsingle.pickedmovetypestepscore with parameters of type Score Constructor Description PickedMoveTypeStepScoreDiffStatisticPoint(long timeMillisSpent, String moveType, Score stepScoreDiff)
-
Uses of Score in org.optaplanner.core.api.score
Classes in org.optaplanner.core.api.score with type parameters of type Score Modifier and Type Interface Description interface
Score<Score_ extends Score<Score_>>
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_>>
Classes in org.optaplanner.core.api.score that implement Score Modifier and Type Class Description class
AbstractBendableScore<Score_ extends AbstractBendableScore<Score_>>
Abstract superclass for bendableScore
types.class
AbstractScore<Score_ extends AbstractScore<Score_>>
Abstract superclass forScore
.Methods in org.optaplanner.core.api.score with type parameters of type Score Modifier and Type Method Description static <Solution_,Score_ extends Score<Score_>>
ScoreManager<Solution_,Score_>ScoreManager. create(SolverFactory<Solution_> solverFactory)
Uses aSolverFactory
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 Modifier and Type Class Description class
BendableScore
ThisScore
is based on n levels of int constraints. -
Uses of Score in org.optaplanner.core.api.score.buildin.bendablebigdecimal
Classes in org.optaplanner.core.api.score.buildin.bendablebigdecimal that implement Score Modifier and Type Class Description class
BendableBigDecimalScore
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 Score Modifier and Type Class Description class
BendableLongScore
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 Score Modifier and Type Class Description class
HardMediumSoftScore
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 Score Modifier and Type Class Description class
HardMediumSoftBigDecimalScore
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 Score Modifier and Type Class Description class
HardMediumSoftLongScore
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 Score Modifier and Type Class Description class
HardSoftScore
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 Score Modifier and Type Class Description class
HardSoftBigDecimalScore
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 Score Modifier and Type Class Description class
HardSoftLongScore
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 Modifier and Type Class Description class
SimpleScore
ThisScore
is based on 1 level of int constraints. -
Uses of Score in org.optaplanner.core.api.score.buildin.simplebigdecimal
Classes in org.optaplanner.core.api.score.buildin.simplebigdecimal that implement Score Modifier and Type Class Description class
SimpleBigDecimalScore
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 Modifier and Type Class Description class
SimpleLongScore
ThisScore
is based on 1 level of long constraints. -
Uses of Score in org.optaplanner.core.api.score.calculator
Classes in org.optaplanner.core.api.score.calculator with type parameters of type Score Modifier and Type Interface Description interface
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 Score Modifier and Type Class Description 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 Score Modifier and Type Interface Description interface
ScoreHolder<Score_ extends Score<Score_>>
This is the base interface for all score holder implementations, used exclusively by Drools-based score calculators. -
Uses of Score in org.optaplanner.core.api.score.stream
Methods in org.optaplanner.core.api.score.stream with parameters of type Score Modifier and Type Method Description Constraint
ConstraintStream. impact(String constraintPackage, String constraintName, Score<?> constraintWeight)
As defined byConstraintStream.impact(String, Score)
.default Constraint
ConstraintStream. impact(String constraintName, Score<?> constraintWeight)
Positively or negatively impact theScore
by the constraintWeight for each match.Constraint
ConstraintStream. penalize(String constraintPackage, String constraintName, Score<?> constraintWeight)
As defined byConstraintStream.penalize(String, Score)
.default Constraint
ConstraintStream. penalize(String constraintName, Score<?> constraintWeight)
Negatively impact theScore
: subtract the constraintWeight for each match.Constraint
ConstraintStream. reward(String constraintPackage, String constraintName, Score<?> constraintWeight)
As defined byConstraintStream.reward(String, Score)
.default Constraint
ConstraintStream. reward(String constraintName, Score<?> constraintWeight)
Positively impact theScore
: add the constraintWeight for each match. -
Uses of Score in org.optaplanner.core.api.score.stream.bi
Methods in org.optaplanner.core.api.score.stream.bi with parameters of type Score Modifier and Type Method Description Constraint
BiConstraintStream. impact(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntBiFunction<A,B> matchWeigher)
As defined byBiConstraintStream.impact(String, Score, ToIntBiFunction)
.default Constraint
BiConstraintStream. impact(String constraintName, Score<?> constraintWeight, ToIntBiFunction<A,B> matchWeigher)
Positively or negatively impact theScore
by the constraintWeight multiplied by the match weight.Constraint
BiConstraintStream. impactBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, BiFunction<A,B,BigDecimal> matchWeigher)
default Constraint
BiConstraintStream. impactBigDecimal(String constraintName, Score<?> constraintWeight, BiFunction<A,B,BigDecimal> matchWeigher)
Positively or negatively impact theScore
by the constraintWeight multiplied by the match weight.Constraint
BiConstraintStream. impactLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongBiFunction<A,B> matchWeigher)
default Constraint
BiConstraintStream. impactLong(String constraintName, Score<?> constraintWeight, ToLongBiFunction<A,B> matchWeigher)
Positively or negatively impact theScore
by the constraintWeight multiplied by the match weight.Constraint
BiConstraintStream. penalize(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntBiFunction<A,B> matchWeigher)
As defined byBiConstraintStream.penalize(String, Score, ToIntBiFunction)
.default Constraint
BiConstraintStream. penalize(String constraintName, Score<?> constraintWeight, ToIntBiFunction<A,B> matchWeigher)
Negatively impact theScore
: subtract the constraintWeight multiplied by the match weight.Constraint
BiConstraintStream. penalizeBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, BiFunction<A,B,BigDecimal> matchWeigher)
default Constraint
BiConstraintStream. penalizeBigDecimal(String constraintName, Score<?> constraintWeight, BiFunction<A,B,BigDecimal> matchWeigher)
Negatively impact theScore
: subtract the constraintWeight multiplied by the match weight.Constraint
BiConstraintStream. penalizeLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongBiFunction<A,B> matchWeigher)
default Constraint
BiConstraintStream. penalizeLong(String constraintName, Score<?> constraintWeight, ToLongBiFunction<A,B> matchWeigher)
Negatively impact theScore
: subtract the constraintWeight multiplied by the match weight.Constraint
BiConstraintStream. reward(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntBiFunction<A,B> matchWeigher)
As defined byBiConstraintStream.reward(String, Score, ToIntBiFunction)
.default Constraint
BiConstraintStream. reward(String constraintName, Score<?> constraintWeight, ToIntBiFunction<A,B> matchWeigher)
Positively impact theScore
: add the constraintWeight multiplied by the match weight.Constraint
BiConstraintStream. rewardBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, BiFunction<A,B,BigDecimal> matchWeigher)
default Constraint
BiConstraintStream. rewardBigDecimal(String constraintName, Score<?> constraintWeight, BiFunction<A,B,BigDecimal> matchWeigher)
Positively impact theScore
: add the constraintWeight multiplied by the match weight.Constraint
BiConstraintStream. rewardLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongBiFunction<A,B> matchWeigher)
default Constraint
BiConstraintStream. rewardLong(String constraintName, Score<?> constraintWeight, ToLongBiFunction<A,B> matchWeigher)
Positively impact theScore
: add the constraintWeight multiplied by the match weight. -
Uses of Score in org.optaplanner.core.api.score.stream.quad
Methods in org.optaplanner.core.api.score.stream.quad with parameters of type Score Modifier and Type Method Description Constraint
QuadConstraintStream. impact(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher)
default Constraint
QuadConstraintStream. impact(String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher)
Positively or negatively impact theScore
by the constraintWeight multiplied by the match weight.Constraint
QuadConstraintStream. impactBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
default Constraint
QuadConstraintStream. impactBigDecimal(String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Positively or negatively impact theScore
by the constraintWeight multiplied by the match weight.Constraint
QuadConstraintStream. impactLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A,B,C,D> matchWeigher)
default Constraint
QuadConstraintStream. impactLong(String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A,B,C,D> matchWeigher)
Positively or negatively impact theScore
by the constraintWeight multiplied by the match weight.Constraint
QuadConstraintStream. penalize(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher)
default Constraint
QuadConstraintStream. penalize(String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher)
Negatively impact theScore
: subtract the constraintWeight multiplied by the match weight.Constraint
QuadConstraintStream. penalizeBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
default Constraint
QuadConstraintStream. penalizeBigDecimal(String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Negatively impact theScore
: subtract the constraintWeight multiplied by the match weight.Constraint
QuadConstraintStream. penalizeLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A,B,C,D> matchWeigher)
default Constraint
QuadConstraintStream. penalizeLong(String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A,B,C,D> matchWeigher)
Negatively impact theScore
: subtract the constraintWeight multiplied by the match weight.Constraint
QuadConstraintStream. reward(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher)
default Constraint
QuadConstraintStream. reward(String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher)
Positively impact theScore
: add the constraintWeight multiplied by the match weight.Constraint
QuadConstraintStream. rewardBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
default Constraint
QuadConstraintStream. rewardBigDecimal(String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
Positively impact theScore
: add the constraintWeight multiplied by the match weight.Constraint
QuadConstraintStream. rewardLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A,B,C,D> matchWeigher)
default Constraint
QuadConstraintStream. rewardLong(String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A,B,C,D> matchWeigher)
Positively impact theScore
: add the constraintWeight multiplied by the match weight. -
Uses of Score in org.optaplanner.core.api.score.stream.tri
Methods in org.optaplanner.core.api.score.stream.tri with parameters of type Score Modifier and Type Method Description Constraint
TriConstraintStream. impact(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntTriFunction<A,B,C> matchWeigher)
As defined byTriConstraintStream.impact(String, Score, ToIntTriFunction)
.default Constraint
TriConstraintStream. impact(String constraintName, Score<?> constraintWeight, ToIntTriFunction<A,B,C> matchWeigher)
Positively or negatively impact theScore
by the constraintWeight multiplied by the match weight.Constraint
TriConstraintStream. impactBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher)
default Constraint
TriConstraintStream. impactBigDecimal(String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher)
Positively or negatively impact theScore
by the constraintWeight multiplied by the match weight.Constraint
TriConstraintStream. impactLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,B,C> matchWeigher)
default Constraint
TriConstraintStream. impactLong(String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,B,C> matchWeigher)
Positively or negatively impact theScore
by the constraintWeight multiplied by the match weight.Constraint
TriConstraintStream. penalize(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntTriFunction<A,B,C> matchWeigher)
default Constraint
TriConstraintStream. penalize(String constraintName, Score<?> constraintWeight, ToIntTriFunction<A,B,C> matchWeigher)
Negatively impact theScore
: subtract the constraintWeight multiplied by the match weight.Constraint
TriConstraintStream. penalizeBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher)
default Constraint
TriConstraintStream. penalizeBigDecimal(String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher)
Negatively impact theScore
: subtract the constraintWeight multiplied by the match weight.Constraint
TriConstraintStream. penalizeLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,B,C> matchWeigher)
default Constraint
TriConstraintStream. penalizeLong(String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,B,C> matchWeigher)
Negatively impact theScore
: subtract the constraintWeight multiplied by the match weight.Constraint
TriConstraintStream. reward(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntTriFunction<A,B,C> matchWeigher)
As defined byTriConstraintStream.reward(String, Score, ToIntTriFunction)
.default Constraint
TriConstraintStream. reward(String constraintName, Score<?> constraintWeight, ToIntTriFunction<A,B,C> matchWeigher)
Positively impact theScore
: add the constraintWeight multiplied by the match weight.Constraint
TriConstraintStream. rewardBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher)
default Constraint
TriConstraintStream. rewardBigDecimal(String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher)
Positively impact theScore
: add the constraintWeight multiplied by the match weight.Constraint
TriConstraintStream. rewardLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,B,C> matchWeigher)
default Constraint
TriConstraintStream. rewardLong(String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,B,C> matchWeigher)
Positively impact theScore
: add the constraintWeight multiplied by the match weight. -
Uses of Score in org.optaplanner.core.api.score.stream.uni
Methods in org.optaplanner.core.api.score.stream.uni with parameters of type Score Modifier and Type Method Description Constraint
UniConstraintStream. impact(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher)
As defined byUniConstraintStream.impact(String, Score, ToIntFunction)
.default Constraint
UniConstraintStream. impact(String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher)
Positively or negatively impact theScore
by the constraintWeight multiplied by the match weight.Constraint
UniConstraintStream. impactBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, Function<A,BigDecimal> matchWeigher)
default Constraint
UniConstraintStream. impactBigDecimal(String constraintName, Score<?> constraintWeight, Function<A,BigDecimal> matchWeigher)
Positively or negatively impact theScore
by the constraintWeight multiplied by the match weight.Constraint
UniConstraintStream. impactLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher)
default Constraint
UniConstraintStream. impactLong(String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher)
Positively or negatively impact theScore
by the constraintWeight multiplied by the match weight.Constraint
UniConstraintStream. penalize(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher)
As defined byUniConstraintStream.penalize(String, Score, ToIntFunction)
.default Constraint
UniConstraintStream. penalize(String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher)
Negatively impact theScore
: subtract the constraintWeight multiplied by the match weight.Constraint
UniConstraintStream. penalizeBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, Function<A,BigDecimal> matchWeigher)
default Constraint
UniConstraintStream. penalizeBigDecimal(String constraintName, Score<?> constraintWeight, Function<A,BigDecimal> matchWeigher)
Negatively impact theScore
: subtract the constraintWeight multiplied by the match weight.Constraint
UniConstraintStream. penalizeLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher)
default Constraint
UniConstraintStream. penalizeLong(String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher)
Negatively impact theScore
: subtract the constraintWeight multiplied by the match weight.Constraint
UniConstraintStream. reward(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher)
As defined byUniConstraintStream.reward(String, Score, ToIntFunction)
.default Constraint
UniConstraintStream. reward(String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher)
Positively impact theScore
: add the constraintWeight multiplied by the match weight.Constraint
UniConstraintStream. rewardBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, Function<A,BigDecimal> matchWeigher)
default Constraint
UniConstraintStream. rewardBigDecimal(String constraintName, Score<?> constraintWeight, Function<A,BigDecimal> matchWeigher)
Positively impact theScore
: add the constraintWeight multiplied by the match weight.Constraint
UniConstraintStream. rewardLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher)
default Constraint
UniConstraintStream. rewardLong(String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher)
Positively impact theScore
: add the constraintWeight multiplied by the match weight. -
Uses of Score in org.optaplanner.core.api.solver.event
Methods in org.optaplanner.core.api.solver.event that return Score Modifier and Type Method Description Score
BestSolutionChangedEvent. getNewBestScore()
Returns theScore
of theBestSolutionChangedEvent.getNewBestSolution()
.Constructors in org.optaplanner.core.api.solver.event with parameters of type Score Constructor Description BestSolutionChangedEvent(Solver<Solution_> solver, long timeMillisSpent, Solution_ newBestSolution, Score newBestScore)
-
Uses of Score in org.optaplanner.core.impl.constructionheuristic.decider
Methods in org.optaplanner.core.impl.constructionheuristic.decider with type parameters of type Score Modifier and Type Method Description protected <Score_ extends Score<Score_>>
voidConstructionHeuristicDecider. doMove(ConstructionHeuristicMoveScope<Solution_> moveScope)
-
Uses of Score in org.optaplanner.core.impl.constructionheuristic.decider.forager
Fields in org.optaplanner.core.impl.constructionheuristic.decider.forager with type parameters of type Score Modifier and Type Field Description protected Comparator<Score>
DefaultConstructionHeuristicForager. scoreComparator
-
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 Modifier and Type Method Description Function<Solution_,Score<?>>
ConstraintWeightDescriptor. createExtractor()
-
Uses of Score in org.optaplanner.core.impl.domain.solution.descriptor
Methods in org.optaplanner.core.impl.domain.solution.descriptor that return Score Modifier and Type Method Description Score
SolutionDescriptor. getScore(Solution_ solution)
Methods in org.optaplanner.core.impl.domain.solution.descriptor that return types with arguments of type Score Modifier and Type Method Description Class<? extends Score<?>>
SolutionDescriptor. extractScoreClass()
Methods in org.optaplanner.core.impl.domain.solution.descriptor with parameters of type Score Modifier and Type Method Description void
SolutionDescriptor. setScore(Solution_ solution, Score score)
Called when theScore
has been calculated or predicted.void
SolutionDescriptor. validateConstraintWeight(String constraintPackage, String constraintName, Score<?> constraintWeight)
Method parameters in org.optaplanner.core.impl.domain.solution.descriptor with type arguments of type Score Modifier and Type Method Description ScoreDefinition
SolutionDescriptor. buildScoreDefinition(Class<? extends Score> scoreType, PlanningScore annotation)
-
Uses of Score in org.optaplanner.core.impl.exhaustivesearch.node
Methods in org.optaplanner.core.impl.exhaustivesearch.node that return Score Modifier and Type Method Description Score
ExhaustiveSearchNode. getOptimisticBound()
Score
ExhaustiveSearchNode. getScore()
Methods in org.optaplanner.core.impl.exhaustivesearch.node with parameters of type Score Modifier and Type Method Description void
ExhaustiveSearchNode. setOptimisticBound(Score optimisticBound)
void
ExhaustiveSearchNode. setScore(Score score)
-
Uses of Score in org.optaplanner.core.impl.exhaustivesearch.node.bounder
Methods in org.optaplanner.core.impl.exhaustivesearch.node.bounder that return Score Modifier and Type Method Description Score
ScoreBounder. calculateOptimisticBound(ScoreDirector scoreDirector, Score score)
In OR terms, this is called the lower bound if they minimize, and upper bound if they maximize.Score
TrendBasedScoreBounder. calculateOptimisticBound(ScoreDirector scoreDirector, Score 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.Score
TrendBasedScoreBounder. calculatePessimisticBound(ScoreDirector scoreDirector, Score score)
Methods in org.optaplanner.core.impl.exhaustivesearch.node.bounder with parameters of type Score Modifier and Type Method Description Score
ScoreBounder. calculateOptimisticBound(ScoreDirector scoreDirector, Score score)
In OR terms, this is called the lower bound if they minimize, and upper bound if they maximize.Score
TrendBasedScoreBounder. calculateOptimisticBound(ScoreDirector scoreDirector, Score 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.Score
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 Score Modifier and Type Method Description Score
ExhaustiveSearchPhaseScope. getBestPessimisticBound()
Score
ExhaustiveSearchStepScope. getStartingStepScore()
Methods in org.optaplanner.core.impl.exhaustivesearch.scope with parameters of type Score Modifier and Type Method Description void
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 Score Modifier and Type Class Description class
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 Score Modifier and Type Method Description Score
OrderByMoveIndexBlockingQueue.MoveResult. getScore()
Methods in org.optaplanner.core.impl.heuristic.thread with parameters of type Score Modifier and Type Method Description void
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 Score Constructor Description MoveResult(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 Score Modifier and Type Method Description protected <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 Score Modifier and Type Method Description Score
GreatDelugeAcceptor. getInitialWaterLevel()
Score
GreatDelugeAcceptor. getWaterLevelIncrementScore()
Methods in org.optaplanner.core.impl.localsearch.decider.acceptor.greatdeluge with parameters of type Score Modifier and Type Method Description void
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 Modifier and Type Field Description protected Score[]
LateAcceptanceAcceptor. previousScores
-
Uses of Score in org.optaplanner.core.impl.localsearch.decider.acceptor.simulatedannealing
Fields in org.optaplanner.core.impl.localsearch.decider.acceptor.simulatedannealing declared as Score Modifier and Type Field Description protected Score
SimulatedAnnealingAcceptor. startingTemperature
Methods in org.optaplanner.core.impl.localsearch.decider.acceptor.simulatedannealing with parameters of type Score Modifier and Type Method Description void
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 Modifier and Type Field Description protected Score
StepCountingHillClimbingAcceptor. thresholdScore
-
Uses of Score in org.optaplanner.core.impl.localsearch.decider.forager.finalist
Fields in org.optaplanner.core.impl.localsearch.decider.forager.finalist declared as Score Modifier and Type Field Description protected 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 Score Modifier and Type Method Description protected <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 Score Modifier and Type Field Description protected Score<?>
AbstractMoveScope. score
protected Score<?>
AbstractStepScope. score
protected Score
AbstractPhaseScope. startingScore
Methods in org.optaplanner.core.impl.phase.scope with type parameters of type Score Modifier and Type Method Description <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_>>
Score_AbstractMoveScope. getScore()
<Score_ extends Score<Score_>>
ScoreDefinition<Score_>AbstractPhaseScope. getScoreDefinition()
<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()
<Score_ extends Score<Score_>>
voidAbstractMoveScope. setScore(Score_ score)
Methods in org.optaplanner.core.impl.phase.scope that return Score Modifier and Type Method Description Score<?>
AbstractStepScope. getScore()
Methods in org.optaplanner.core.impl.phase.scope with parameters of type Score Modifier and Type Method Description void
AbstractStepScope. setScore(Score<?> score)
-
Uses of Score in org.optaplanner.core.impl.score
Classes in org.optaplanner.core.impl.score with type parameters of type Score Modifier and Type Class Description class
DefaultScoreExplanation<Solution_,Score_ extends Score<Score_>>
class
DefaultScoreManager<Solution_,Score_ extends Score<Score_>>
Methods in org.optaplanner.core.impl.score with type parameters of type Score Modifier and Type Method Description static <Score_ extends Score<Score_>>
StringDefaultScoreExplanation. explainScore(Score_ workingScore, Collection<ConstraintMatchTotal<Score_>> constraintMatchTotalCollection, Collection<Indictment<Score_>> indictmentCollection)
static <Score_ extends Score<Score_>>
StringDefaultScoreExplanation. explainScore(Score_ workingScore, Collection<ConstraintMatchTotal<Score_>> constraintMatchTotalCollection, Collection<Indictment<Score_>> indictmentCollection, int indictmentLimit, int constraintMatchLimit)
Methods in org.optaplanner.core.impl.score that return Score Modifier and Type Method Description static Score
ScoreUtils. parseScore(Class<? extends Score<?>> scoreClass, String scoreString)
Methods in org.optaplanner.core.impl.score with parameters of type Score Modifier and Type Method Description static double[]
ScoreUtils. extractLevelDoubles(Score score)
Method parameters in org.optaplanner.core.impl.score with type arguments of type Score Modifier and Type Method Description static Score
ScoreUtils. parseScore(Class<? extends Score<?>> scoreClass, String scoreString)
-
Uses of Score in org.optaplanner.core.impl.score.comparator
Methods in org.optaplanner.core.impl.score.comparator with parameters of type Score Modifier and Type Method Description int
FlatteningHardSoftScoreComparator. compare(Score s1, Score s2)
-
Uses of Score in org.optaplanner.core.impl.score.constraint
Classes in org.optaplanner.core.impl.score.constraint with type parameters of type Score Modifier and Type Class Description class
DefaultConstraintMatchTotal<Score_ extends Score<Score_>>
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 Score Modifier and Type Class Description class
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 Score Modifier and Type Method Description boolean
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 Score Modifier and Type Class Description class
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_>>
-
Uses of Score in org.optaplanner.core.impl.score.director.drools
Classes in org.optaplanner.core.impl.score.director.drools with type parameters of type Score Modifier and Type Class Description class
DroolsScoreDirector<Solution_,Score_ extends Score<Score_>>
Drools implementation ofScoreDirector
, which directs the Rule Engine to calculate theScore
of theworking solution
.class
DroolsScoreDirectorFactory<Solution_,Score_ extends Score<Score_>>
Drools implementation ofScoreDirectorFactory
. -
Uses of Score in org.optaplanner.core.impl.score.director.drools.testgen
Classes in org.optaplanner.core.impl.score.director.drools.testgen with type parameters of type Score Modifier and Type Class Description class
TestGenDroolsScoreDirector<Solution_,Score_ extends Score<Score_>>
class
TestGenDroolsScoreDirectorFactory<Solution_,Score_ extends Score<Score_>>
-
Uses of Score in org.optaplanner.core.impl.score.director.drools.testgen.reproducer
Methods in org.optaplanner.core.impl.score.director.drools.testgen.reproducer that return Score Modifier and Type Method Description Score<?>
TestGenCorruptedScoreException. getUncorruptedScore()
Score<?>
TestGenCorruptedScoreException. getWorkingScore()
Constructors in org.optaplanner.core.impl.score.director.drools.testgen.reproducer with parameters of type Score Constructor Description TestGenCorruptedScoreException(Score<?> workingScore, Score<?> uncorruptedScore)
-
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 Score Modifier and Type Class Description class
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
. -
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 Score Modifier and Type Class Description class
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
. -
Uses of Score in org.optaplanner.core.impl.score.director.stream
Classes in org.optaplanner.core.impl.score.director.stream with type parameters of type Score Modifier and Type Class Description class
ConstraintStreamScoreDirector<Solution_,Score_ extends Score<Score_>>
FP streams implementation ofScoreDirector
, which only recalculates theScore
of the part of theworking solution
that changed, instead of the going through the entirePlanningSolution
.class
ConstraintStreamScoreDirectorFactory<Solution_,Score_ extends Score<Score_>>
FP streams implementation ofScoreDirectorFactory
. -
Uses of Score in org.optaplanner.core.impl.score.holder
Classes in org.optaplanner.core.impl.score.holder with type parameters of type Score Modifier and Type Class Description class
AbstractScoreHolder<Score_ extends Score<Score_>>
Abstract superclass forScoreHolder
.Fields in org.optaplanner.core.impl.score.holder declared as Score Modifier and Type Field Description protected Score_
AbstractScoreHolder. zeroScore
-
Uses of Score in org.optaplanner.core.impl.score.inliner
Classes in org.optaplanner.core.impl.score.inliner with type parameters of type Score Modifier and Type Class Description class
ScoreInliner<Score_ extends Score<Score_>>
Method parameters in org.optaplanner.core.impl.score.inliner with type arguments of type Score Modifier and Type Method Description UndoScoreImpacter
BigDecimalWeightedScoreImpacter. impactScore(BigDecimal matchWeight, Consumer<Score<?>> scoreConsumer)
UndoScoreImpacter
IntWeightedScoreImpacter. impactScore(int matchWeight, Consumer<Score<?>> matchScoreConsumer)
UndoScoreImpacter
LongWeightedScoreImpacter. impactScore(long matchWeight, Consumer<Score<?>> scoreConsumer)
-
Uses of Score in org.optaplanner.core.impl.score.stream
Classes in org.optaplanner.core.impl.score.stream with type parameters of type Score Modifier and Type Interface Description interface
ConstraintSession<Solution_,Score_ extends Score<Score_>>
An instance of this class must be used in only one thread.interface
ConstraintSessionFactory<Solution_,Score_ extends Score<Score_>>
-
Uses of Score in org.optaplanner.core.impl.score.stream.bavet
Classes in org.optaplanner.core.impl.score.stream.bavet with type parameters of type Score Modifier and Type Class Description class
BavetConstraintSession<Solution_,Score_ extends Score<Score_>>
class
BavetConstraintSessionFactory<Solution_,Score_ extends Score<Score_>>
Methods in org.optaplanner.core.impl.score.stream.bavet with parameters of type Score Modifier and Type Method Description void
BavetConstraint. createNodes(BavetNodeBuildPolicy<Solution_> buildPolicy, Map<Class<?>,BavetFromUniNode<Object>> declaredClassToNodeMap, Score<?> constraintWeight)
Constructor parameters in org.optaplanner.core.impl.score.stream.bavet with type arguments of type Score Constructor Description BavetConstraint(BavetConstraintFactory<Solution_> constraintFactory, String constraintPackage, String constraintName, Function<Solution_,Score<?>> constraintWeightExtractor, ScoreImpactType scoreImpactType, boolean isConstraintWeightConfigurable, List<BavetFromUniConstraintStream<Solution_,Object>> fromStreamList)
-
Uses of Score in org.optaplanner.core.impl.score.stream.bavet.bi
Methods in org.optaplanner.core.impl.score.stream.bavet.bi with type parameters of type Score Modifier and Type Method Description <Score_ extends Score<Score_>>
ConstraintMatchTotal<Score_>BavetScoringBiNode. buildConstraintMatchTotal(Score_ zeroScore)
Methods in org.optaplanner.core.impl.score.stream.bavet.bi that return Score Modifier and Type Method Description Score<?>
BavetScoringBiNode. getConstraintWeight()
Score<?>
BavetScoringBiTuple. getMatchScore()
Methods in org.optaplanner.core.impl.score.stream.bavet.bi with parameters of type Score Modifier and Type Method Description protected void
BavetAbstractBiConstraintStream. createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractBiNode<A,B> node)
protected void
BavetGroupBridgeBiConstraintStream. createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractBiNode<A,B> node)
protected void
BavetJoinBridgeBiConstraintStream. createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractBiNode<A,B> uncastedNode)
protected void
BavetScoringBiConstraintStream. createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractBiNode<A,B> node)
protected abstract BavetAbstractBiNode<A,B>
BavetAbstractBiConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractBiNode<A,B> parentNode)
protected BavetFilterBiNode<A,B>
BavetFilterBiConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractBiNode<A,B> parentNode)
protected BavetGroupBiNode<GroupKey_,ResultContainer_,Result_>
BavetGroupBiConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractBiNode<GroupKey_,Result_> parentNode)
protected BavetAbstractBiNode<A,B>
BavetGroupBridgeBiConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractBiNode<A,B> parentNode)
protected BavetJoinBiNode<A,B>
BavetJoinBiConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractBiNode<A,B> parentNode)
protected BavetJoinBridgeBiNode<A,B>
BavetJoinBridgeBiConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractBiNode<A,B> parentNode)
protected BavetScoringBiNode<A,B>
BavetScoringBiConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractBiNode<A,B> parentNode)
BavetAbstractBiNode<A,B>
BavetAbstractBiConstraintStream. createNodeChain(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractBiNode<A,B> parentNode)
BavetGroupBiNode<GroupKey_,ResultContainer_,Result_>
BavetGroupBiConstraintStream. createNodeChain(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractBiNode<GroupKey_,Result_> parentNode)
BavetJoinBiNode<A,B>
BavetJoinBiConstraintStream. createNodeChain(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetJoinBridgeNode leftNode_, BavetJoinBridgeNode rightNode_)
Constraint
BavetAbstractBiConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntBiFunction<A,B> matchWeigher, ScoreImpactType impactType)
Constraint
BavetAbstractBiConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ScoreImpactType impactType)
Constraint
BavetAbstractBiConstraintStream. impactScoreBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, BiFunction<A,B,BigDecimal> matchWeigher, ScoreImpactType impactType)
Constraint
BavetAbstractBiConstraintStream. impactScoreLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongBiFunction<A,B> matchWeigher, ScoreImpactType impactType)
void
BavetScoringBiTuple. setMatchScore(Score<?> matchScore)
Constructors in org.optaplanner.core.impl.score.stream.bavet.bi with parameters of type Score Constructor Description BavetScoringBiNode(BavetConstraintSession session, int nodeIndex, String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A,B,Consumer<Score<?>>,UndoScoreImpacter> scoreImpacter)
Constructor parameters in org.optaplanner.core.impl.score.stream.bavet.bi with type arguments of type Score Constructor Description BavetScoringBiNode(BavetConstraintSession session, int nodeIndex, String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A,B,Consumer<Score<?>>,UndoScoreImpacter> scoreImpacter)
-
Uses of Score in org.optaplanner.core.impl.score.stream.bavet.common
Methods in org.optaplanner.core.impl.score.stream.bavet.common with type parameters of type Score Modifier and Type Method Description <Score_ extends Score<Score_>>
ConstraintMatchTotal<Score_>BavetScoringNode. buildConstraintMatchTotal(Score_ zeroScore)
Methods in org.optaplanner.core.impl.score.stream.bavet.common that return Score Modifier and Type Method Description Score<?>
BavetScoringNode. getConstraintWeight()
Score<?>
BavetScoringTuple. getMatchScore()
Methods in org.optaplanner.core.impl.score.stream.bavet.common with parameters of type Score Modifier and Type Method Description protected BavetConstraint<Solution_>
BavetAbstractConstraintStream. buildConstraint(String constraintPackage, String constraintName, Score<?> constraintWeight, ScoreImpactType impactType)
BavetJoinNode
BavetJoinConstraintStream. createNodeChain(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetJoinBridgeNode leftNode, BavetJoinBridgeNode rightNode)
void
BavetScoringTuple. setMatchScore(Score<?> matchScore)
-
Uses of Score in org.optaplanner.core.impl.score.stream.bavet.tri
Methods in org.optaplanner.core.impl.score.stream.bavet.tri with type parameters of type Score Modifier and Type Method Description <Score_ extends Score<Score_>>
ConstraintMatchTotal<Score_>BavetScoringTriNode. buildConstraintMatchTotal(Score_ zeroScore)
Methods in org.optaplanner.core.impl.score.stream.bavet.tri that return Score Modifier and Type Method Description Score<?>
BavetScoringTriNode. getConstraintWeight()
Score<?>
BavetScoringTriTuple. getMatchScore()
Methods in org.optaplanner.core.impl.score.stream.bavet.tri with parameters of type Score Modifier and Type Method Description protected void
BavetAbstractTriConstraintStream. createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractTriNode<A,B,C> node)
protected void
BavetScoringTriConstraintStream. createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractTriNode<A,B,C> node)
protected abstract BavetAbstractTriNode<A,B,C>
BavetAbstractTriConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractTriNode<A,B,C> parentNode)
protected BavetFilterTriNode<A,B,C>
BavetFilterTriConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractTriNode<A,B,C> parentNode)
protected BavetJoinTriNode<A,B,C>
BavetJoinTriConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractTriNode<A,B,C> parentNode)
protected BavetScoringTriNode<A,B,C>
BavetScoringTriConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractTriNode<A,B,C> parentNode)
BavetAbstractTriNode<A,B,C>
BavetAbstractTriConstraintStream. createNodeChain(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractTriNode<A,B,C> parentNode)
BavetJoinTriNode<A,B,C>
BavetJoinTriConstraintStream. createNodeChain(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetJoinBridgeNode leftNode_, BavetJoinBridgeNode rightNode_)
Constraint
BavetAbstractTriConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntTriFunction<A,B,C> matchWeigher, ScoreImpactType impactType)
Constraint
BavetAbstractTriConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ScoreImpactType impactType)
Constraint
BavetAbstractTriConstraintStream. impactScoreBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher, ScoreImpactType impactType)
Constraint
BavetAbstractTriConstraintStream. impactScoreLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,B,C> matchWeigher, ScoreImpactType impactType)
void
BavetScoringTriTuple. setMatchScore(Score<?> matchScore)
Constructors in org.optaplanner.core.impl.score.stream.bavet.tri with parameters of type Score Constructor Description BavetScoringTriNode(BavetConstraintSession session, int nodeIndex, String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,Consumer<Score<?>>,UndoScoreImpacter> scoreImpacter)
Constructor parameters in org.optaplanner.core.impl.score.stream.bavet.tri with type arguments of type Score Constructor Description BavetScoringTriNode(BavetConstraintSession session, int nodeIndex, String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,Consumer<Score<?>>,UndoScoreImpacter> scoreImpacter)
-
Uses of Score in org.optaplanner.core.impl.score.stream.bavet.uni
Methods in org.optaplanner.core.impl.score.stream.bavet.uni with type parameters of type Score Modifier and Type Method Description <Score_ extends Score<Score_>>
ConstraintMatchTotal<Score_>BavetScoringUniNode. buildConstraintMatchTotal(Score_ zeroScore)
Methods in org.optaplanner.core.impl.score.stream.bavet.uni that return Score Modifier and Type Method Description Score<?>
BavetScoringUniNode. getConstraintWeight()
Score<?>
BavetScoringUniTuple. getMatchScore()
Methods in org.optaplanner.core.impl.score.stream.bavet.uni with parameters of type Score Modifier and Type Method Description protected void
BavetAbstractUniConstraintStream. createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractUniNode<A> node)
protected void
BavetGroupBridgeUniConstraintStream. createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractUniNode<A> node)
protected void
BavetJoinBridgeUniConstraintStream. createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractUniNode<A> uncastedNode)
protected void
BavetScoringUniConstraintStream. createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractUniNode<A> node)
protected abstract BavetAbstractUniNode<A>
BavetAbstractUniConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractUniNode<A> parentNode)
protected BavetAbstractUniNode<A>
BavetFilterUniConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractUniNode<A> parentNode)
protected BavetFromUniNode<A>
BavetFromUniConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractUniNode<A> parentNode)
protected BavetGroupBridgeUniNode<A,NewA,ResultContainer_,NewB>
BavetGroupBridgeUniConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractUniNode<A> parentNode)
protected BavetJoinBridgeUniNode<A>
BavetJoinBridgeUniConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractUniNode<A> parentNode)
protected BavetScoringUniNode<A>
BavetScoringUniConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractUniNode<A> parentNode)
BavetAbstractUniNode<A>
BavetAbstractUniConstraintStream. createNodeChain(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractUniNode<A> parentNode)
BavetFromUniNode<A>
BavetFromUniConstraintStream. createNodeChain(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, BavetAbstractUniNode<A> parentNode)
Constraint
BavetAbstractUniConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher, ScoreImpactType impactType)
Constraint
BavetAbstractUniConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ScoreImpactType impactType)
Constraint
BavetAbstractUniConstraintStream. impactScoreBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, Function<A,BigDecimal> matchWeigher, ScoreImpactType impactType)
Constraint
BavetAbstractUniConstraintStream. impactScoreLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher, ScoreImpactType impactType)
void
BavetScoringUniTuple. setMatchScore(Score<?> matchScore)
Constructors in org.optaplanner.core.impl.score.stream.bavet.uni with parameters of type Score Constructor Description BavetScoringUniNode(BavetConstraintSession session, int nodeIndex, BavetAbstractUniNode<A> parentNode, String constraintPackage, String constraintName, Score<?> constraintWeight, BiFunction<A,Consumer<Score<?>>,UndoScoreImpacter> scoreImpacter)
Constructor parameters in org.optaplanner.core.impl.score.stream.bavet.uni with type arguments of type Score Constructor Description BavetScoringUniNode(BavetConstraintSession session, int nodeIndex, BavetAbstractUniNode<A> parentNode, String constraintPackage, String constraintName, Score<?> constraintWeight, BiFunction<A,Consumer<Score<?>>,UndoScoreImpacter> scoreImpacter)
-
Uses of Score in org.optaplanner.core.impl.score.stream.bi
Methods in org.optaplanner.core.impl.score.stream.bi with parameters of type Score Modifier and Type Method Description default Constraint
InnerBiConstraintStream. impact(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntBiFunction<A,B> matchWeigher)
default Constraint
InnerBiConstraintStream. impactBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, BiFunction<A,B,BigDecimal> matchWeigher)
default Constraint
InnerBiConstraintStream. impactLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongBiFunction<A,B> matchWeigher)
Constraint
InnerBiConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntBiFunction<A,B> matchWeigher, ScoreImpactType impactType)
Constraint
InnerBiConstraintStream. impactScoreBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, BiFunction<A,B,BigDecimal> matchWeigher, ScoreImpactType impactType)
Constraint
InnerBiConstraintStream. impactScoreLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongBiFunction<A,B> matchWeigher, ScoreImpactType impactType)
default Constraint
InnerBiConstraintStream. penalize(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntBiFunction<A,B> matchWeigher)
default Constraint
InnerBiConstraintStream. penalizeBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, BiFunction<A,B,BigDecimal> matchWeigher)
default Constraint
InnerBiConstraintStream. penalizeLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongBiFunction<A,B> matchWeigher)
default Constraint
InnerBiConstraintStream. reward(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntBiFunction<A,B> matchWeigher)
default Constraint
InnerBiConstraintStream. rewardBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, BiFunction<A,B,BigDecimal> matchWeigher)
default Constraint
InnerBiConstraintStream. rewardLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongBiFunction<A,B> matchWeigher)
-
Uses of Score in org.optaplanner.core.impl.score.stream.common
Methods in org.optaplanner.core.impl.score.stream.common that return Score Modifier and Type Method Description Score<?>
AbstractConstraint. extractConstraintWeight(Solution_ workingSolution)
Methods in org.optaplanner.core.impl.score.stream.common that return types with arguments of type Score Modifier and Type Method Description protected Function<Solution_,Score<?>>
AbstractConstraintStream. buildConstraintWeightExtractor(String constraintPackage, String constraintName)
protected Function<Solution_,Score<?>>
AbstractConstraintStream. buildConstraintWeightExtractor(String constraintPackage, String constraintName, Score<?> constraintWeight)
Methods in org.optaplanner.core.impl.score.stream.common with parameters of type Score Modifier and Type Method Description protected Function<Solution_,Score<?>>
AbstractConstraintStream. buildConstraintWeightExtractor(String constraintPackage, String constraintName, Score<?> constraintWeight)
Constraint
AbstractConstraintStream. impact(String constraintPackage, String constraintName, Score<?> constraintWeight)
protected abstract Constraint
AbstractConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ScoreImpactType impactType)
Constraint
AbstractConstraintStream. penalize(String constraintPackage, String constraintName, Score<?> constraintWeight)
Constraint
AbstractConstraintStream. reward(String constraintPackage, String constraintName, Score<?> constraintWeight)
Constructor parameters in org.optaplanner.core.impl.score.stream.common with type arguments of type Score Constructor Description AbstractConstraint(ConstraintFactory constraintFactory, String constraintPackage, String constraintName, Function<Solution_,Score<?>> constraintWeightExtractor, ScoreImpactType scoreImpactType, boolean isConstraintWeightConfigurable)
-
Uses of Score in org.optaplanner.core.impl.score.stream.drools
Classes in org.optaplanner.core.impl.score.stream.drools with type parameters of type Score Modifier and Type Class Description class
DroolsConstraintSession<Solution_,Score_ extends Score<Score_>>
class
DroolsConstraintSessionFactory<Solution_,Score_ extends Score<Score_>>
Constructor parameters in org.optaplanner.core.impl.score.stream.drools with type arguments of type Score Constructor Description DroolsConstraint(DroolsConstraintFactory<Solution_> constraintFactory, String constraintPackage, String constraintName, Function<Solution_,Score<?>> constraintWeightExtractor, ScoreImpactType scoreImpactType, boolean isConstraintWeightConfigurable, AbstractConstraintConsequence constraintConsequence)
-
Uses of Score in org.optaplanner.core.impl.score.stream.drools.bi
Methods in org.optaplanner.core.impl.score.stream.drools.bi with parameters of type Score Modifier and Type Method Description Constraint
DroolsAbstractBiConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntBiFunction<A,B> matchWeigher, ScoreImpactType impactType)
Constraint
DroolsAbstractBiConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ScoreImpactType impactType)
Constraint
DroolsAbstractBiConstraintStream. impactScoreBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, BiFunction<A,B,BigDecimal> matchWeigher, ScoreImpactType impactType)
Constraint
DroolsAbstractBiConstraintStream. impactScoreLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongBiFunction<A,B> matchWeigher, ScoreImpactType impactType)
-
Uses of Score in org.optaplanner.core.impl.score.stream.drools.common
Methods in org.optaplanner.core.impl.score.stream.drools.common with parameters of type Score Modifier and Type Method Description protected DroolsConstraint<Solution_>
DroolsAbstractConstraintStream. buildConstraint(String constraintPackage, String constraintName, Score<?> constraintWeight, ScoreImpactType impactType, AbstractConstraintConsequence consequence)
-
Uses of Score in org.optaplanner.core.impl.score.stream.drools.quad
Methods in org.optaplanner.core.impl.score.stream.drools.quad with parameters of type Score Modifier and Type Method Description Constraint
DroolsAbstractQuadConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher, ScoreImpactType impactType)
protected Constraint
DroolsAbstractQuadConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ScoreImpactType impactType)
Constraint
DroolsAbstractQuadConstraintStream. impactScoreBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher, ScoreImpactType impactType)
Constraint
DroolsAbstractQuadConstraintStream. impactScoreLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A,B,C,D> matchWeigher, ScoreImpactType impactType)
-
Uses of Score in org.optaplanner.core.impl.score.stream.drools.tri
Methods in org.optaplanner.core.impl.score.stream.drools.tri with parameters of type Score Modifier and Type Method Description Constraint
DroolsAbstractTriConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntTriFunction<A,B,C> matchWeigher, ScoreImpactType impactType)
protected Constraint
DroolsAbstractTriConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ScoreImpactType impactType)
Constraint
DroolsAbstractTriConstraintStream. impactScoreBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher, ScoreImpactType impactType)
Constraint
DroolsAbstractTriConstraintStream. impactScoreLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,B,C> matchWeigher, ScoreImpactType impactType)
-
Uses of Score in org.optaplanner.core.impl.score.stream.drools.uni
Methods in org.optaplanner.core.impl.score.stream.drools.uni with parameters of type Score Modifier and Type Method Description Constraint
DroolsAbstractUniConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher, ScoreImpactType impactType)
Constraint
DroolsAbstractUniConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ScoreImpactType impactType)
Constraint
DroolsAbstractUniConstraintStream. impactScoreBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, Function<A,BigDecimal> matchWeigher, ScoreImpactType impactType)
Constraint
DroolsAbstractUniConstraintStream. impactScoreLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher, ScoreImpactType impactType)
-
Uses of Score in org.optaplanner.core.impl.score.stream.quad
Methods in org.optaplanner.core.impl.score.stream.quad with parameters of type Score Modifier and Type Method Description default Constraint
InnerQuadConstraintStream. impact(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher)
default Constraint
InnerQuadConstraintStream. impactBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
default Constraint
InnerQuadConstraintStream. impactLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A,B,C,D> matchWeigher)
Constraint
InnerQuadConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher, ScoreImpactType impactType)
Constraint
InnerQuadConstraintStream. impactScoreBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher, ScoreImpactType impactType)
Constraint
InnerQuadConstraintStream. impactScoreLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A,B,C,D> matchWeigher, ScoreImpactType impactType)
default Constraint
InnerQuadConstraintStream. penalize(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher)
default Constraint
InnerQuadConstraintStream. penalizeBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
default Constraint
InnerQuadConstraintStream. penalizeLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A,B,C,D> matchWeigher)
default Constraint
InnerQuadConstraintStream. reward(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntQuadFunction<A,B,C,D> matchWeigher)
default Constraint
InnerQuadConstraintStream. rewardBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, QuadFunction<A,B,C,D,BigDecimal> matchWeigher)
default Constraint
InnerQuadConstraintStream. rewardLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongQuadFunction<A,B,C,D> matchWeigher)
-
Uses of Score in org.optaplanner.core.impl.score.stream.tri
Methods in org.optaplanner.core.impl.score.stream.tri with parameters of type Score Modifier and Type Method Description default Constraint
InnerTriConstraintStream. impact(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntTriFunction<A,B,C> matchWeigher)
default Constraint
InnerTriConstraintStream. impactBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher)
default Constraint
InnerTriConstraintStream. impactLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,B,C> matchWeigher)
Constraint
InnerTriConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntTriFunction<A,B,C> matchWeigher, ScoreImpactType impactType)
Constraint
InnerTriConstraintStream. impactScoreBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher, ScoreImpactType impactType)
Constraint
InnerTriConstraintStream. impactScoreLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,B,C> matchWeigher, ScoreImpactType impactType)
default Constraint
InnerTriConstraintStream. penalize(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntTriFunction<A,B,C> matchWeigher)
default Constraint
InnerTriConstraintStream. penalizeBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher)
default Constraint
InnerTriConstraintStream. penalizeLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,B,C> matchWeigher)
default Constraint
InnerTriConstraintStream. reward(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntTriFunction<A,B,C> matchWeigher)
default Constraint
InnerTriConstraintStream. rewardBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, TriFunction<A,B,C,BigDecimal> matchWeigher)
default Constraint
InnerTriConstraintStream. rewardLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongTriFunction<A,B,C> matchWeigher)
-
Uses of Score in org.optaplanner.core.impl.score.stream.uni
Methods in org.optaplanner.core.impl.score.stream.uni with parameters of type Score Modifier and Type Method Description default Constraint
InnerUniConstraintStream. impact(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher)
default Constraint
InnerUniConstraintStream. impactBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, Function<A,BigDecimal> matchWeigher)
default Constraint
InnerUniConstraintStream. impactLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher)
Constraint
InnerUniConstraintStream. impactScore(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher, ScoreImpactType impactType)
Constraint
InnerUniConstraintStream. impactScoreBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, Function<A,BigDecimal> matchWeigher, ScoreImpactType impactType)
Constraint
InnerUniConstraintStream. impactScoreLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher, ScoreImpactType impactType)
default Constraint
InnerUniConstraintStream. penalize(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher)
default Constraint
InnerUniConstraintStream. penalizeBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, Function<A,BigDecimal> matchWeigher)
default Constraint
InnerUniConstraintStream. penalizeLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher)
default Constraint
InnerUniConstraintStream. reward(String constraintPackage, String constraintName, Score<?> constraintWeight, ToIntFunction<A> matchWeigher)
default Constraint
InnerUniConstraintStream. rewardBigDecimal(String constraintPackage, String constraintName, Score<?> constraintWeight, Function<A,BigDecimal> matchWeigher)
default Constraint
InnerUniConstraintStream. rewardLong(String constraintPackage, String constraintName, Score<?> constraintWeight, ToLongFunction<A> matchWeigher)
-
Uses of Score in org.optaplanner.core.impl.solver.recaller
Methods in org.optaplanner.core.impl.solver.recaller with parameters of type Score Modifier and Type Method Description void
BestSolutionRecaller. processWorkingSolutionDuringMove(Score score, AbstractStepScope<Solution_> stepScope)
protected void
BestSolutionRecaller. updateBestSolution(SolverScope<Solution_> solverScope, Score bestScore, Solution_ bestSolution)
-
Uses of Score in org.optaplanner.core.impl.solver.scope
Fields in org.optaplanner.core.impl.solver.scope declared as Score Modifier and Type Field Description protected Score
SolverScope. bestScore
protected Score
SolverScope. startingInitializedScore
Methods in org.optaplanner.core.impl.solver.scope that return Score Modifier and Type Method Description Score
SolverScope. calculateScore()
Score
SolverScope. getBestScore()
Score
SolverScope. getStartingInitializedScore()
Methods in org.optaplanner.core.impl.solver.scope with parameters of type Score Modifier and Type Method Description void
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 Score Modifier and Type Method Description <Score_ extends Score<Score_>>
Termination<Solution_>TerminationFactory. buildTermination(HeuristicConfigPolicy<Solution_> configPolicy)
protected <Score_ extends Score<Score_>>
List<Termination<Solution_>>TerminationFactory. buildTimeBasedTermination(HeuristicConfigPolicy<Solution_> configPolicy)
Methods in org.optaplanner.core.impl.solver.termination that return Score Modifier and Type Method Description Score
UnimprovedTimeMillisSpentScoreDifferenceThresholdTermination. getUnimprovedScoreDifferenceThreshold()
Methods in org.optaplanner.core.impl.solver.termination with parameters of type Score Modifier and Type Method Description protected double
BestScoreFeasibleTermination. calculateFeasibilityTimeGradient(Score startScore, Score score)
protected double
BestScoreTermination. calculateTimeGradient(Score startScore, Score endScore, Score score)
protected 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 Score Constructor Description BestScoreTermination(ScoreDefinition scoreDefinition, Score bestScoreLimit, double[] timeGradientWeightNumbers)
UnimprovedTimeMillisSpentScoreDifferenceThresholdTermination(long unimprovedTimeMillisSpentLimit, Score unimprovedScoreDifferenceThreshold)
UnimprovedTimeMillisSpentScoreDifferenceThresholdTermination(long unimprovedTimeMillisSpentLimit, Score unimprovedScoreDifferenceThreshold, Clock clock)
-
Uses of Score in org.optaplanner.persistence.jackson.api.score
Classes in org.optaplanner.persistence.jackson.api.score with type parameters of type Score Modifier and Type Class Description class
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 Score Modifier and Type Method Description Score
PolymorphicScoreJacksonDeserializer. 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 Modifier and Type Method Description void
PolymorphicScoreJacksonSerializer. serialize(Score score, com.fasterxml.jackson.core.JsonGenerator generator, com.fasterxml.jackson.databind.SerializerProvider serializers)
-
Uses of Score in org.optaplanner.persistence.jaxb.api.score
Classes in org.optaplanner.persistence.jaxb.api.score with type parameters of type Score Modifier and Type Class Description class
AbstractScoreJaxbAdapter<Score_ extends Score<Score_>>
JAXB binding support for aScore
type.Methods in org.optaplanner.persistence.jaxb.api.score that return Score Modifier and Type Method Description Score
PolymorphicScoreJaxbAdapter. unmarshal(org.optaplanner.persistence.jaxb.api.score.PolymorphicScoreJaxbAdapter.JaxbAdaptedScore jaxbAdaptedScore)
Methods in org.optaplanner.persistence.jaxb.api.score with parameters of type Score Modifier and Type Method Description org.optaplanner.persistence.jaxb.api.score.PolymorphicScoreJaxbAdapter.JaxbAdaptedScore
PolymorphicScoreJaxbAdapter. marshal(Score score)
-
Uses of Score in org.optaplanner.persistence.jpa.impl.score
Methods in org.optaplanner.persistence.jpa.impl.score that return Score Modifier and Type Method Description Score
AbstractScoreHibernateType. nullSafeGet(ResultSet resultSet, String[] names, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner)
-
Uses of Score in org.optaplanner.persistence.jsonb.api.score
Classes in org.optaplanner.persistence.jsonb.api.score with type parameters of type Score Modifier and Type Class Description class
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 Score Modifier and Type Method Description default void
MultiConstraintAssertion. scores(Score<?> score)
Asserts that theConstraintProvider
under test, given a set of facts, results in a specificScore
.void
MultiConstraintAssertion. scores(Score<?> score, String message)
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 Score Constructor Description AbstractScoreVerifier(SolverFactory<Solution_> solverFactory, Class<? extends Score<?>> expectedScoreClass)
-
Uses of Score in org.optaplanner.test.impl.score.stream
Classes in org.optaplanner.test.impl.score.stream with type parameters of type Score Modifier and Type Class Description class
DefaultConstraintVerifier<ConstraintProvider_ extends ConstraintProvider,Solution_,Score_ extends Score<Score_>>
class
DefaultMultiConstraintAssertion<Solution_,Score_ extends Score<Score_>>
class
DefaultMultiConstraintVerification<Solution_,Score_ extends Score<Score_>>
class
DefaultSingleConstraintAssertion<Solution_,Score_ extends Score<Score_>>
class
DefaultSingleConstraintVerification<Solution_,Score_ extends Score<Score_>>
Methods in org.optaplanner.test.impl.score.stream with parameters of type Score Modifier and Type Method Description void
DefaultMultiConstraintAssertion. scores(Score<?> score, String message)
-