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.domain.solution
Classes in org.optaplanner.core.api.domain.solution with type parameters of type Score Modifier and Type Interface Description interface
Solution<S extends Score>
Deprecated. -
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 Class Description class
AbstractScore<S extends Score>
Abstract superclass forScore
.interface
Score<Score_ extends Score>
A Score is result of the score function (AKA fitness function) on a single possible solution.Subinterfaces of Score in org.optaplanner.core.api.score Modifier and Type Interface Description interface
FeasibilityScore<S extends FeasibilityScore>
Deprecated.MovedFeasibilityScore.isFeasible()
up toScore
.Classes in org.optaplanner.core.api.score that implement Score Modifier and Type Class Description class
AbstractBendableScore<S extends FeasibilityScore<S>>
Abstract superclass for bendableScore
types.class
AbstractScore<S extends Score>
Abstract superclass forScore
.Methods in org.optaplanner.core.api.score that return Score Modifier and Type Method Description Score
ScoreManager. updateScore(Solution_ solution)
Methods in org.optaplanner.core.api.score with parameters of type Score Modifier and Type Method Description boolean
Score. isCompatibleArithmeticArgument(Score otherScore)
Deprecated.Method parameters in org.optaplanner.core.api.score with type arguments of type Score Modifier and Type Method Description protected static String[][]
AbstractBendableScore. parseBendableScoreTokens(Class<? extends Score> scoreClass, String scoreString)
protected static int
AbstractScore. parseInitScore(Class<? extends Score> scoreClass, String scoreString, String initScoreString)
protected static BigDecimal
AbstractScore. parseLevelAsBigDecimal(Class<? extends Score> scoreClass, String scoreString, String levelString)
protected static double
AbstractScore. parseLevelAsDouble(Class<? extends Score> scoreClass, String scoreString, String levelString)
protected static int
AbstractScore. parseLevelAsInt(Class<? extends Score> scoreClass, String scoreString, String levelString)
protected static long
AbstractScore. parseLevelAsLong(Class<? extends Score> scoreClass, String scoreString, String levelString)
protected static String[]
AbstractScore. parseScoreTokens(Class<? extends Score> scoreClass, String scoreString, String... levelSuffixes)
-
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.Methods in org.optaplanner.core.api.score.buildin.bendable with parameters of type Score Modifier and Type Method Description boolean
BendableScore. isCompatibleArithmeticArgument(Score otherScore)
-
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.Methods in org.optaplanner.core.api.score.buildin.bendablebigdecimal with parameters of type Score Modifier and Type Method Description boolean
BendableBigDecimalScore. isCompatibleArithmeticArgument(Score otherScore)
-
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.Methods in org.optaplanner.core.api.score.buildin.bendablelong with parameters of type Score Modifier and Type Method Description boolean
BendableLongScore. isCompatibleArithmeticArgument(Score otherScore)
-
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.Methods in org.optaplanner.core.api.score.buildin.hardmediumsoft with parameters of type Score Modifier and Type Method Description boolean
HardMediumSoftScore. isCompatibleArithmeticArgument(Score otherScore)
-
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.Methods in org.optaplanner.core.api.score.buildin.hardmediumsoftbigdecimal with parameters of type Score Modifier and Type Method Description boolean
HardMediumSoftBigDecimalScore. isCompatibleArithmeticArgument(Score otherScore)
-
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.Methods in org.optaplanner.core.api.score.buildin.hardmediumsoftlong with parameters of type Score Modifier and Type Method Description boolean
HardMediumSoftLongScore. isCompatibleArithmeticArgument(Score otherScore)
-
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.Methods in org.optaplanner.core.api.score.buildin.hardsoft with parameters of type Score Modifier and Type Method Description boolean
HardSoftScore. isCompatibleArithmeticArgument(Score otherScore)
-
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.Methods in org.optaplanner.core.api.score.buildin.hardsoftbigdecimal with parameters of type Score Modifier and Type Method Description boolean
HardSoftBigDecimalScore. isCompatibleArithmeticArgument(Score otherScore)
-
Uses of Score in org.optaplanner.core.api.score.buildin.hardsoftdouble
Classes in org.optaplanner.core.api.score.buildin.hardsoftdouble that implement Score Modifier and Type Class Description class
HardSoftDoubleScore
Deprecated.Double-based scores are deprecated as floating point numbers are not associative (A + B + C == C + B + A) and therefore they are not compatible with incremental score calculation.Methods in org.optaplanner.core.api.score.buildin.hardsoftdouble with parameters of type Score Modifier and Type Method Description boolean
HardSoftDoubleScore. isCompatibleArithmeticArgument(Score otherScore)
Deprecated. -
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.Methods in org.optaplanner.core.api.score.buildin.hardsoftlong with parameters of type Score Modifier and Type Method Description boolean
HardSoftLongScore. isCompatibleArithmeticArgument(Score otherScore)
-
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.Methods in org.optaplanner.core.api.score.buildin.simple with parameters of type Score Modifier and Type Method Description boolean
SimpleScore. isCompatibleArithmeticArgument(Score otherScore)
-
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.Methods in org.optaplanner.core.api.score.buildin.simplebigdecimal with parameters of type Score Modifier and Type Method Description boolean
SimpleBigDecimalScore. isCompatibleArithmeticArgument(Score otherScore)
-
Uses of Score in org.optaplanner.core.api.score.buildin.simpledouble
Classes in org.optaplanner.core.api.score.buildin.simpledouble that implement Score Modifier and Type Class Description class
SimpleDoubleScore
Deprecated.Double-based scores are deprecated as floating point numbers are not associative (A + B + C == C + B + A) and therefore they are not compatible with incremental score calculation.Methods in org.optaplanner.core.api.score.buildin.simpledouble with parameters of type Score Modifier and Type Method Description boolean
SimpleDoubleScore. isCompatibleArithmeticArgument(Score otherScore)
Deprecated. -
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.Methods in org.optaplanner.core.api.score.buildin.simplelong with parameters of type Score Modifier and Type Method Description boolean
SimpleLongScore. isCompatibleArithmeticArgument(Score otherScore)
-
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>
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>
Used for easy javaScore
calculation.interface
IncrementalScoreCalculator<Solution_,Score_ extends Score>
Used for incremental javaScore
calculation. -
Uses of Score in org.optaplanner.core.api.score.comparator
Methods in org.optaplanner.core.api.score.comparator with parameters of type Score Modifier and Type Method Description int
NaturalScoreComparator. compare(Score score1, Score score2)
Deprecated. -
Uses of Score in org.optaplanner.core.api.score.constraint
Methods in org.optaplanner.core.api.score.constraint that return Score Modifier and Type Method Description Score
ConstraintMatchTotal. getConstraintWeight()
The value of theConstraintWeight
annotated member of theConstraintConfiguration
.Score
ConstraintMatch. getScore()
Score
ConstraintMatchTotal. getScore()
Score
Indictment. getScore()
Sum of theIndictment.getConstraintMatchSet()
'sConstraintMatch.getScore()
.Score
ConstraintMatchTotal. getScoreTotal()
Deprecated.in favor ofConstraintMatchTotal.getScore()
Score
Indictment. getScoreTotal()
Deprecated.in favor ofIndictment.getScore()
Methods in org.optaplanner.core.api.score.constraint with parameters of type Score Modifier and Type Method Description ConstraintMatch
ConstraintMatchTotal. addConstraintMatch(List<Object> justificationList, Score score)
Constructors in org.optaplanner.core.api.score.constraint with parameters of type Score Constructor Description ConstraintMatch(String constraintPackage, String constraintName, List<Object> justificationList, Score score)
ConstraintMatchTotal(String constraintPackage, String constraintName, Score zeroScore)
ConstraintMatchTotal(String constraintPackage, String constraintName, Score constraintWeight, Score zeroScore)
Indictment(Object justification, Score zeroScore)
-
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 Class Description class
AbstractScoreHolder<Score_ extends Score<Score_>>
Deprecated.for removal from public APIinterface
ScoreHolder<Score_ extends Score<Score_>>
This class is injected as a global byDroolsScoreDirector
into the Drools DRL.Fields in org.optaplanner.core.api.score.holder declared as Score Modifier and Type Field Description protected Score_
AbstractScoreHolder. zeroScore
Deprecated. -
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
Methods in org.optaplanner.core.api.solver that return Score Modifier and Type Method Description Score
Solver. getBestScore()
Deprecated.in favor ofScoreManager.updateScore(Object)
-
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.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
Classes in org.optaplanner.core.impl.domain.solution with type parameters of type Score Modifier and Type Class Description class
AbstractSolution<S extends Score>
Deprecated.UsePlanningSolution.autoDiscoverMemberType()
instead.Fields in org.optaplanner.core.impl.domain.solution declared as Score Modifier and Type Field Description protected S
AbstractSolution. score
Deprecated. -
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
Methods in org.optaplanner.core.impl.heuristic.thread that return Score Modifier and Type Method Description Score
ApplyStepOperation. getScore()
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.protected void
MoveThreadRunner. predictWorkingStepScore(Move<Solution_> step, Score score)
Constructors in org.optaplanner.core.impl.heuristic.thread with parameters of type Score Constructor Description ApplyStepOperation(int stepIndex, Move<Solution_> step, Score score)
MoveResult(int moveThreadIndex, int stepIndex, int moveIndex, Move<Solution_> move, boolean moveDoable, Score score)
-
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.partitionedsearch
Methods in org.optaplanner.core.impl.partitionedsearch that return Score Modifier and Type Method Description Score
PartitionSolver. getBestScore()
-
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 that return Score Modifier and Type Method Description Score
AbstractPhaseScope. calculateScore()
Score
AbstractPhaseScope. getBestScore()
Score
AbstractMoveScope. getScore()
Score
AbstractStepScope. getScore()
Score
AbstractPhaseScope. getStartingScore()
Methods in org.optaplanner.core.impl.phase.scope with parameters of type Score Modifier and Type Method Description void
AbstractPhaseScope. assertExpectedWorkingScore(Score expectedWorkingScore, Object completedAction)
void
AbstractPhaseScope. assertPredictedScoreFromScratch(Score workingScore, Object completedAction)
void
AbstractPhaseScope. assertShadowVariablesAreNotStale(Score workingScore, Object completedAction)
void
AbstractPhaseScope. assertWorkingScoreFromScratch(Score workingScore, Object completedAction)
void
AbstractMoveScope. setScore(Score score)
void
AbstractStepScope. setScore(Score score)
-
Uses of Score in org.optaplanner.core.impl.score
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)
Score
DefaultScoreManager. updateScore(Solution_ solution)
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.definition
Classes in org.optaplanner.core.impl.score.definition with type parameters of type Score Modifier and Type Class Description class
AbstractScoreDefinition<S extends Score<S>>
Abstract superclass forScoreDefinition
.interface
ScoreDefinition<S extends Score<S>>
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
Methods in org.optaplanner.core.impl.score.director that return Score Modifier and Type Method Description Score
ScoreDirector. calculateScore()
Calculates theScore
and updates theworking solution
accordingly.Score
AbstractScoreDirector. doAndProcessMove(Move<Solution_> move, boolean assertMoveScoreFromScratch)
Score
InnerScoreDirector. doAndProcessMove(Move<Solution_> move, boolean assertMoveScoreFromScratch)
Methods in org.optaplanner.core.impl.score.director with parameters of type Score Modifier and Type Method Description void
AbstractScoreDirector. assertExpectedUndoMoveScore(Move move, Score beforeMoveScore)
void
InnerScoreDirector. assertExpectedUndoMoveScore(Move move, Score beforeMoveScore)
Asserts that if theScore
is calculated for the currentworking solution
in the currentScoreDirector
(with incremental calculation residue), it is equal to the parameterbeforeMoveScore
.void
AbstractScoreDirector. assertExpectedWorkingScore(Score expectedWorkingScore, Object completedAction)
void
InnerScoreDirector. assertExpectedWorkingScore(Score expectedWorkingScore, Object completedAction)
Asserts that if theScore
is calculated for the currentworking solution
in the currentScoreDirector
(with possibly incremental calculation residue), it is equal to the parameterexpectedWorkingScore
.void
AbstractScoreDirector. assertPredictedScoreFromScratch(Score workingScore, Object completedAction)
void
InnerScoreDirector. assertPredictedScoreFromScratch(Score predictedScore, Object completedAction)
Asserts that if theScore
is calculated for the currentworking solution
in a freshScoreDirector
(with no incremental calculation residue), it is equal to the parameterpredictedScore
.void
AbstractScoreDirector. assertShadowVariablesAreNotStale(Score expectedWorkingScore, Object completedAction)
void
InnerScoreDirector. assertShadowVariablesAreNotStale(Score expectedWorkingScore, Object completedAction)
Asserts that if allVariableListener
s are forcibly triggered, and therefore all shadow variables are updated if needed, that none of the shadow variables of theworking solution
change, Then also asserts that theScore
calculated for theworking solution
afterwards is equal to the parameterexpectedWorkingScore
.void
AbstractScoreDirector. assertWorkingScoreFromScratch(Score workingScore, Object completedAction)
void
InnerScoreDirector. assertWorkingScoreFromScratch(Score workingScore, Object completedAction)
Asserts that if theScore
is calculated for the currentworking solution
in a freshScoreDirector
(with no incremental calculation residue), it is equal to the parameterworkingScore
.protected void
AbstractScoreDirector. setCalculatedScore(Score score)
Method parameters in org.optaplanner.core.impl.score.director with type arguments of type Score Modifier and Type Method Description void
AbstractScoreDirector. doAndProcessMove(Move<Solution_> move, boolean assertMoveScoreFromScratch, Consumer<Score> moveProcessor)
void
InnerScoreDirector. doAndProcessMove(Move<Solution_> move, boolean assertMoveScoreFromScratch, Consumer<Score> moveProcessor)
-
Uses of Score in org.optaplanner.core.impl.score.director.drools
Fields in org.optaplanner.core.impl.score.director.drools with type parameters of type Score Modifier and Type Field Description protected Map<org.kie.api.definition.rule.Rule,Function<Solution_,Score<?>>>
DroolsScoreDirectorFactory. ruleToConstraintWeightExtractorMap
Methods in org.optaplanner.core.impl.score.director.drools that return Score Modifier and Type Method Description Score
DroolsScoreDirector. calculateScore()
Methods in org.optaplanner.core.impl.score.director.drools that return types with arguments of type Score Modifier and Type Method Description Map<org.kie.api.definition.rule.Rule,Function<Solution_,Score<?>>>
DroolsScoreDirectorFactory. getRuleToConstraintWeightExtractorMap()
-
Uses of Score in org.optaplanner.core.impl.score.director.drools.testgen
Methods in org.optaplanner.core.impl.score.director.drools.testgen that return Score Modifier and Type Method Description Score
TestGenDroolsScoreDirector. calculateScore()
Methods in org.optaplanner.core.impl.score.director.drools.testgen with parameters of type Score Modifier and Type Method Description void
TestGenDroolsScoreDirector. assertShadowVariablesAreNotStale(Score expectedWorkingScore, Object completedAction)
void
TestGenDroolsScoreDirector. assertWorkingScoreFromScratch(Score workingScore, Object completedAction)
-
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
Methods in org.optaplanner.core.impl.score.director.easy that return Score Modifier and Type Method Description Score
EasyScoreDirector. calculateScore()
-
Uses of Score in org.optaplanner.core.impl.score.director.incremental
Methods in org.optaplanner.core.impl.score.director.incremental that return Score Modifier and Type Method Description Score
IncrementalScoreDirector. calculateScore()
-
Uses of Score in org.optaplanner.core.impl.score.director.stream
Methods in org.optaplanner.core.impl.score.director.stream that return Score Modifier and Type Method Description Score
ConstraintStreamScoreDirector. calculateScore()
-
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
Methods in org.optaplanner.core.impl.score.stream that return Score Modifier and Type Method Description Score<?>
ConstraintSession. calculateScore(int initScore)
-
Uses of Score in org.optaplanner.core.impl.score.stream.bavet
Methods in org.optaplanner.core.impl.score.stream.bavet that return Score Modifier and Type Method Description Score<?>
BavetConstraintSession. calculateScore(int initScore)
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)
BavetConstraintSession(boolean constraintMatchEnabled, ScoreDefinition scoreDefinition, Map<BavetConstraint<Solution_>,Score<?>> constraintToWeightMap)
-
Uses of Score in org.optaplanner.core.impl.score.stream.bavet.bi
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 ConstraintMatchTotal
BavetScoringBiNode. buildConstraintMatchTotal(Score<?> zeroScore)
protected void
BavetAbstractBiConstraintStream. createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractBiNode<A,B> node)
protected void
BavetJoinBridgeBiConstraintStream. createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractBiNode<A,B> uncastedNode)
protected void
BavetScoringBiConstraintStream. createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractBiNode<A,B> node)
protected abstract BavetAbstractBiNode<A,B>
BavetAbstractBiConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractBiNode<A,B> parentNode)
protected BavetFilterBiNode<A,B>
BavetFilterBiConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractBiNode<A,B> parentNode)
protected BavetGroupBiNode<GroupKey_,ResultContainer_,Result_>
BavetGroupBiConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractBiNode<GroupKey_,Result_> parentNode)
protected BavetJoinBiNode<A,B>
BavetJoinBiConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractBiNode<A,B> parentNode)
protected BavetJoinBridgeBiNode<A,B>
BavetJoinBridgeBiConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractBiNode<A,B> parentNode)
protected BavetScoringBiNode<A,B>
BavetScoringBiConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractBiNode<A,B> parentNode)
BavetAbstractBiNode<A,B>
BavetAbstractBiConstraintStream. createNodeChain(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractBiNode<A,B> parentNode)
BavetGroupBiNode<GroupKey_,ResultContainer_,Result_>
BavetGroupBiConstraintStream. createNodeChain(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractBiNode<GroupKey_,Result_> parentNode)
BavetJoinBiNode<A,B>
BavetJoinBiConstraintStream. createNodeChain(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, 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 nodeOrder, 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 nodeOrder, 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 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)
ConstraintMatchTotal
BavetScoringNode. buildConstraintMatchTotal(Score<?> zeroScore)
BavetJoinNode
BavetJoinConstraintStream. createNodeChain(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, 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 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 ConstraintMatchTotal
BavetScoringTriNode. buildConstraintMatchTotal(Score<?> zeroScore)
protected void
BavetAbstractTriConstraintStream. createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractTriNode<A,B,C> node)
protected void
BavetScoringTriConstraintStream. createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractTriNode<A,B,C> node)
protected abstract BavetAbstractTriNode<A,B,C>
BavetAbstractTriConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractTriNode<A,B,C> parentNode)
protected BavetFilterTriNode<A,B,C>
BavetFilterTriConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractTriNode<A,B,C> parentNode)
protected BavetJoinTriNode<A,B,C>
BavetJoinTriConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractTriNode<A,B,C> parentNode)
protected BavetScoringTriNode<A,B,C>
BavetScoringTriConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractTriNode<A,B,C> parentNode)
BavetAbstractTriNode<A,B,C>
BavetAbstractTriConstraintStream. createNodeChain(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractTriNode<A,B,C> parentNode)
BavetJoinTriNode<A,B,C>
BavetJoinTriConstraintStream. createNodeChain(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, 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 nodeOrder, 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 nodeOrder, 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 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 ConstraintMatchTotal
BavetScoringUniNode. buildConstraintMatchTotal(Score<?> zeroScore)
protected void
BavetAbstractUniConstraintStream. createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractUniNode<A> node)
protected void
BavetGroupBridgeUniConstraintStream. createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractUniNode<A> node)
protected void
BavetJoinBridgeUniConstraintStream. createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractUniNode<A> uncastedNode)
protected void
BavetScoringUniConstraintStream. createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractUniNode<A> node)
protected abstract BavetAbstractUniNode<A>
BavetAbstractUniConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractUniNode<A> parentNode)
protected BavetAbstractUniNode<A>
BavetFilterUniConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractUniNode<A> parentNode)
protected BavetFromUniNode<A>
BavetFromUniConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractUniNode<A> parentNode)
protected BavetGroupBridgeUniNode<A,NewA,ResultContainer_,NewB>
BavetGroupBridgeUniConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractUniNode<A> parentNode)
protected BavetJoinBridgeUniNode<A>
BavetJoinBridgeUniConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractUniNode<A> parentNode)
protected BavetScoringUniNode<A>
BavetScoringUniConstraintStream. createNode(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractUniNode<A> parentNode)
BavetAbstractUniNode<A>
BavetAbstractUniConstraintStream. createNodeChain(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, BavetAbstractUniNode<A> parentNode)
BavetFromUniNode<A>
BavetFromUniConstraintStream. createNodeChain(BavetNodeBuildPolicy<Solution_> buildPolicy, Score<?> constraintWeight, int nodeOrder, 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 nodeOrder, 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 nodeOrder, 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
Methods in org.optaplanner.core.impl.score.stream.drools that return Score Modifier and Type Method Description Score<?>
DroolsConstraintSession. calculateScore(int initScore)
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, List<DroolsFromUniConstraintStream<Solution_,Object>> fromStreamList, DroolsAbstractConstraintStream<Solution_> scoringStream)
-
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 type parameters of type Score Modifier and Type Method Description protected <S extends Score<S>,H extends AbstractScoreHolder<S>>
voidDroolsCondition. impactScore(org.drools.model.Drools drools, H scoreHolder)
protected <S extends Score<S>,H extends AbstractScoreHolder<S>>
voidDroolsCondition. impactScore(DroolsConstraint<?> constraint, org.drools.model.Drools drools, H scoreHolder, int impact)
protected <S extends Score<S>,H extends AbstractScoreHolder<S>>
voidDroolsCondition. impactScore(DroolsConstraint<?> constraint, org.drools.model.Drools drools, H scoreHolder, long impact)
protected <S extends Score<S>,H extends AbstractScoreHolder<S>>
voidDroolsCondition. impactScore(DroolsConstraint<?> constraint, org.drools.model.Drools drools, H scoreHolder, BigDecimal impact)
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, DroolsAbstractConstraintStream<Solution_> scoringStream)
-
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
Methods in org.optaplanner.core.impl.solver that return Score Modifier and Type Method Description Score
DefaultSolver. getBestScore()
-
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(DefaultSolverScope<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
DefaultSolverScope. bestScore
protected Score
DefaultSolverScope. startingInitializedScore
Methods in org.optaplanner.core.impl.solver.scope that return Score Modifier and Type Method Description Score
DefaultSolverScope. calculateScore()
Score
DefaultSolverScope. getBestScore()
Score
DefaultSolverScope. getStartingInitializedScore()
Methods in org.optaplanner.core.impl.solver.scope with parameters of type Score Modifier and Type Method Description void
DefaultSolverScope. setBestScore(Score bestScore)
void
DefaultSolverScope. setStartingInitializedScore(Score startingInitializedScore)
-
Uses of Score in org.optaplanner.core.impl.solver.termination
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
AbstractScoreJacksonJsonDeserializer<Score_ extends Score<Score_>>
Jackson binding support for aScore
type.class
AbstractScoreJacksonJsonSerializer<Score_ extends Score<Score_>>
Jackson binding support for aScore
subtype.class
ScoreJacksonJsonSerializer<Score_ extends Score<Score_>>
Deprecated.in favor ofHardSoftScoreJacksonJsonSerializer
and variants.Methods in org.optaplanner.persistence.jackson.api.score that return Score Modifier and Type Method Description Score
PolymorphicScoreJacksonJsonDeserializer. 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
PolymorphicScoreJacksonJsonSerializer. 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
AbstractScoreJaxbXmlAdapter<Score_ extends 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
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)
Constructors in org.optaplanner.test.impl.score.stream with parameters of type Score Constructor Description DefaultMultiConstraintAssertion(ConstraintProvider constraintProvider, Score<?> actualScore)
-