Modifier and Type | Method and Description |
---|---|
static <Score_ extends Score<Score_>> |
ScoreDifferencePercentage.calculateScoreDifferencePercentage(Score_ baseScore,
Score_ valueScore) |
Modifier and Type | Method and Description |
---|---|
int |
ResilientScoreComparator.compare(Score a,
Score b) |
int |
ResilientScoreComparator.compare(Score a,
Score b) |
Modifier and Type | Method and Description |
---|---|
Score |
SubSingleBenchmarkResult.getAverageScore() |
Score |
SolverBenchmarkResult.getAverageScore() |
Score |
SingleBenchmarkResult.getAverageScore() |
Score |
PlannerBenchmarkResult.getAverageScore() |
Score |
BenchmarkResult.getAverageScore() |
Score |
SolverBenchmarkResult.getAverageWinningScoreDifference() |
Score |
SubSingleBenchmarkResult.getScore() |
Score |
SolverBenchmarkResult.getTotalScore() |
Score |
SingleBenchmarkResult.getTotalScore() |
Score |
SolverBenchmarkResult.getTotalWinningScoreDifference() |
Score |
SingleBenchmarkResult.getWinningScoreDifference() |
Modifier and Type | Method and Description |
---|---|
List<Score> |
SolverBenchmarkResult.getScoreList() |
Modifier and Type | Method and Description |
---|---|
void |
SingleBenchmarkResult.setAverageAndTotalScoreForTesting(Score averageAndTotalScore) |
void |
SubSingleBenchmarkResult.setScore(Score score) |
void |
SingleBenchmarkResult.setWinningScoreDifference(Score winningScoreDifference) |
Modifier and Type | Method and Description |
---|---|
static double[] |
StatisticUtils.determineStandardDeviationDoubles(List<? extends BenchmarkResult> benchmarkResultList,
Score averageScore,
int successCount)
Calculates standard deviation of
BenchmarkResult.getAverageScore() s from averageScore . |
Modifier and Type | Method and Description |
---|---|
Score |
BestScoreStatisticPoint.getScore() |
Constructor and Description |
---|
BestScoreStatisticPoint(long timeMillisSpent,
Score score) |
Modifier and Type | Method and Description |
---|---|
Score |
StepScoreStatisticPoint.getScore() |
Constructor and Description |
---|
StepScoreStatisticPoint(long timeMillisSpent,
Score score) |
Modifier and Type | Method and Description |
---|---|
Score |
ConstraintMatchTotalBestScoreStatisticPoint.getScoreTotal() |
Constructor and Description |
---|
ConstraintMatchTotalBestScoreStatisticPoint(long timeMillisSpent,
String constraintPackage,
String constraintName,
int constraintMatchCount,
Score scoreTotal) |
Modifier and Type | Method and Description |
---|---|
Score |
ConstraintMatchTotalStepScoreStatisticPoint.getScoreTotal() |
Constructor and Description |
---|
ConstraintMatchTotalStepScoreStatisticPoint(long timeMillisSpent,
String constraintPackage,
String constraintName,
int constraintMatchCount,
Score scoreTotal) |
Modifier and Type | Method and Description |
---|---|
Score |
PickedMoveTypeBestScoreDiffStatisticPoint.getBestScoreDiff() |
Constructor and Description |
---|
PickedMoveTypeBestScoreDiffStatisticPoint(long timeMillisSpent,
String moveType,
Score bestScoreDiff) |
Modifier and Type | Method and Description |
---|---|
Score |
PickedMoveTypeStepScoreDiffStatisticPoint.getStepScoreDiff() |
Constructor and Description |
---|
PickedMoveTypeStepScoreDiffStatisticPoint(long timeMillisSpent,
String moveType,
Score stepScoreDiff) |
Modifier and Type | Interface and Description |
---|---|
interface |
Solution<S extends Score>
Deprecated.
Use
PlanningScore , ProblemFactCollectionProperty and ProblemFactProperty instead. Will be removed in 8.0. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractScore<S extends Score>
Abstract superclass for
Score . |
interface |
Score<Score_ extends Score>
A Score is result of the score function (AKA fitness function) on a single possible solution.
|
Modifier and Type | Interface and Description |
---|---|
interface |
FeasibilityScore<S extends FeasibilityScore>
A
Score that supports FeasibilityScore.isFeasible() . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBendableScore<S extends FeasibilityScore<S>>
Abstract superclass for bendable
Score types. |
class |
AbstractScore<S extends Score>
Abstract superclass for
Score . |
Modifier and Type | Method and Description |
---|---|
boolean |
Score.isCompatibleArithmeticArgument(Score otherScore) |
Modifier and Type | Method and 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) |
Modifier and Type | Class and Description |
---|---|
class |
BendableScore
This
Score is based on n levels of int constraints. |
Modifier and Type | Method and Description |
---|---|
boolean |
BendableScore.isCompatibleArithmeticArgument(Score otherScore) |
Modifier and Type | Class and Description |
---|---|
class |
BendableBigDecimalScore
This
Score is based on n levels of BigDecimal constraints. |
Modifier and Type | Method and Description |
---|---|
boolean |
BendableBigDecimalScore.isCompatibleArithmeticArgument(Score otherScore) |
Modifier and Type | Class and Description |
---|---|
class |
BendableLongScore
This
Score is based on n levels of long constraints. |
Modifier and Type | Method and Description |
---|---|
boolean |
BendableLongScore.isCompatibleArithmeticArgument(Score otherScore) |
Modifier and Type | Class and Description |
---|---|
class |
HardMediumSoftScore
This
Score is based on 3 levels of int constraints: hard, medium and soft. |
Modifier and Type | Method and Description |
---|---|
boolean |
HardMediumSoftScore.isCompatibleArithmeticArgument(Score otherScore) |
Modifier and Type | Class and Description |
---|---|
class |
HardMediumSoftBigDecimalScore
This
Score is based on 3 levels of BigDecimal constraints: hard, medium and soft. |
Modifier and Type | Method and Description |
---|---|
boolean |
HardMediumSoftBigDecimalScore.isCompatibleArithmeticArgument(Score otherScore) |
Modifier and Type | Class and Description |
---|---|
class |
HardMediumSoftLongScore
This
Score is based on 3 levels of long constraints: hard, medium and soft. |
Modifier and Type | Method and Description |
---|---|
boolean |
HardMediumSoftLongScore.isCompatibleArithmeticArgument(Score otherScore) |
Modifier and Type | Class and Description |
---|---|
class |
HardSoftScore
This
Score is based on 2 levels of int constraints: hard and soft. |
Modifier and Type | Method and Description |
---|---|
boolean |
HardSoftScore.isCompatibleArithmeticArgument(Score otherScore) |
Modifier and Type | Class and Description |
---|---|
class |
HardSoftBigDecimalScore
This
Score is based on 2 levels of BigDecimal constraints: hard and soft. |
Modifier and Type | Method and Description |
---|---|
boolean |
HardSoftBigDecimalScore.isCompatibleArithmeticArgument(Score otherScore) |
Modifier and Type | Class and Description |
---|---|
class |
HardSoftDoubleScore
This
Score is based on 2 levels of double constraints: hard and soft. |
Modifier and Type | Method and Description |
---|---|
boolean |
HardSoftDoubleScore.isCompatibleArithmeticArgument(Score otherScore) |
Modifier and Type | Class and Description |
---|---|
class |
HardSoftLongScore
This
Score is based on 2 levels of long constraints: hard and soft. |
Modifier and Type | Method and Description |
---|---|
boolean |
HardSoftLongScore.isCompatibleArithmeticArgument(Score otherScore) |
Modifier and Type | Class and Description |
---|---|
class |
SimpleScore
This
Score is based on 1 level of int constraints. |
Modifier and Type | Method and Description |
---|---|
boolean |
SimpleScore.isCompatibleArithmeticArgument(Score otherScore) |
Modifier and Type | Class and Description |
---|---|
class |
SimpleBigDecimalScore
This
Score is based on 1 level of BigDecimal constraints. |
Modifier and Type | Method and Description |
---|---|
boolean |
SimpleBigDecimalScore.isCompatibleArithmeticArgument(Score otherScore) |
Modifier and Type | Class and Description |
---|---|
class |
SimpleDoubleScore
This
Score is based on 1 level of double constraints. |
Modifier and Type | Method and Description |
---|---|
boolean |
SimpleDoubleScore.isCompatibleArithmeticArgument(Score otherScore) |
Modifier and Type | Class and Description |
---|---|
class |
SimpleLongScore
This
Score is based on 1 level of long constraints. |
Modifier and Type | Method and Description |
---|---|
boolean |
SimpleLongScore.isCompatibleArithmeticArgument(Score otherScore) |
Modifier and Type | Method and Description |
---|---|
int |
NaturalScoreComparator.compare(Score score1,
Score score2) |
int |
NaturalScoreComparator.compare(Score score1,
Score score2) |
Modifier and Type | Method and Description |
---|---|
Score |
ConstraintMatchTotal.getConstraintWeight()
The value of the
ConstraintWeight annotated member of the ConstraintConfiguration . |
Score |
Indictment.getScore()
Sum of the
Indictment.getConstraintMatchSet() 's ConstraintMatch.getScore() . |
Score |
ConstraintMatchTotal.getScore()
|
Score |
ConstraintMatch.getScore() |
Score |
Indictment.getScoreTotal()
Deprecated.
in favor of
Indictment.getScore() |
Score |
ConstraintMatchTotal.getScoreTotal()
Deprecated.
in favor of
ConstraintMatchTotal.getScore() |
Modifier and Type | Method and Description |
---|---|
ConstraintMatch |
ConstraintMatchTotal.addConstraintMatch(List<Object> justificationList,
Score score) |
Constructor and 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) |
ConstraintMatchTotal(String constraintPackage,
String constraintName,
Score constraintWeight,
Score zeroScore) |
Indictment(Object justification,
Score zeroScore) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractScoreHolder<Score_ extends Score<Score_>>
Abstract superclass for
ScoreHolder . |
interface |
ScoreHolder<Score_ extends Score<Score_>>
This class is injected as a global by
DroolsScoreDirector into the Drools DRL. |
Modifier and Type | Field and Description |
---|---|
protected Score_ |
AbstractScoreHolder.zeroScore |
Modifier and Type | Method and Description |
---|---|
default Constraint |
ConstraintStream.penalize(String constraintName,
Score<?> constraintWeight)
Negatively impact the
Score : subtract the constraintWeight for each match. |
Constraint |
ConstraintStream.penalize(String constraintPackage,
String constraintName,
Score<?> constraintWeight)
As defined by
ConstraintStream.penalize(String, Score) . |
default Constraint |
ConstraintStream.reward(String constraintName,
Score<?> constraintWeight)
Positively impact the
Score : add the constraintWeight for each match. |
Constraint |
ConstraintStream.reward(String constraintPackage,
String constraintName,
Score<?> constraintWeight)
As defined by
ConstraintStream.reward(String, Score) . |
Modifier and Type | Method and Description |
---|---|
default Constraint |
BiConstraintStream.penalize(String constraintName,
Score<?> constraintWeight,
ToIntBiFunction<A,B> matchWeigher)
Negatively impact the
Score : subtract the constraintWeight multiplied by the match weight. |
Constraint |
BiConstraintStream.penalize(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToIntBiFunction<A,B> matchWeigher)
As defined by
BiConstraintStream.penalize(String, Score, ToIntBiFunction) . |
default Constraint |
BiConstraintStream.penalizeBigDecimal(String constraintName,
Score<?> constraintWeight,
BiFunction<A,B,BigDecimal> matchWeigher)
Negatively impact the
Score : 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.penalizeLong(String constraintName,
Score<?> constraintWeight,
ToLongBiFunction<A,B> matchWeigher)
Negatively impact the
Score : subtract the constraintWeight multiplied by the match weight. |
Constraint |
BiConstraintStream.penalizeLong(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToLongBiFunction<A,B> matchWeigher)
|
default Constraint |
BiConstraintStream.reward(String constraintName,
Score<?> constraintWeight,
ToIntBiFunction<A,B> matchWeigher)
Positively impact the
Score : add the constraintWeight multiplied by the match weight. |
Constraint |
BiConstraintStream.reward(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToIntBiFunction<A,B> matchWeigher)
As defined by
BiConstraintStream.reward(String, Score, ToIntBiFunction) . |
default Constraint |
BiConstraintStream.rewardBigDecimal(String constraintName,
Score<?> constraintWeight,
BiFunction<A,B,BigDecimal> matchWeigher)
Positively impact the
Score : 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.rewardLong(String constraintName,
Score<?> constraintWeight,
ToLongBiFunction<A,B> matchWeigher)
Positively impact the
Score : add the constraintWeight multiplied by the match weight. |
Constraint |
BiConstraintStream.rewardLong(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToLongBiFunction<A,B> matchWeigher)
|
Modifier and Type | Method and Description |
---|---|
default Constraint |
TriConstraintStream.penalize(String constraintName,
Score<?> constraintWeight,
ToIntTriFunction<A,B,C> matchWeigher)
Negatively impact the
Score : subtract the constraintWeight multiplied by the match weight. |
Constraint |
TriConstraintStream.penalize(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToIntTriFunction<A,B,C> matchWeigher)
|
default Constraint |
TriConstraintStream.penalizeBigDecimal(String constraintName,
Score<?> constraintWeight,
TriFunction<A,B,C,BigDecimal> matchWeigher)
Negatively impact the
Score : 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.penalizeLong(String constraintName,
Score<?> constraintWeight,
ToLongTriFunction<A,B,C> matchWeigher)
Negatively impact the
Score : 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.reward(String constraintName,
Score<?> constraintWeight,
ToIntTriFunction<A,B,C> matchWeigher)
Positively impact the
Score : add the constraintWeight multiplied by the match weight. |
Constraint |
TriConstraintStream.reward(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToIntTriFunction<A,B,C> matchWeigher)
As defined by
TriConstraintStream.reward(String, Score, ToIntTriFunction) . |
default Constraint |
TriConstraintStream.rewardBigDecimal(String constraintName,
Score<?> constraintWeight,
TriFunction<A,B,C,BigDecimal> matchWeigher)
Positively impact the
Score : 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.rewardLong(String constraintName,
Score<?> constraintWeight,
ToLongTriFunction<A,B,C> matchWeigher)
Positively impact the
Score : add the constraintWeight multiplied by the match weight. |
Constraint |
TriConstraintStream.rewardLong(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToLongTriFunction<A,B,C> matchWeigher)
|
Modifier and Type | Method and Description |
---|---|
default Constraint |
UniConstraintStream.penalize(String constraintName,
Score<?> constraintWeight,
ToIntFunction<A> matchWeigher)
Negatively impact the
Score : subtract the constraintWeight multiplied by the match weight. |
Constraint |
UniConstraintStream.penalize(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToIntFunction<A> matchWeigher)
As defined by
UniConstraintStream.penalize(String, Score, ToIntFunction) . |
default Constraint |
UniConstraintStream.penalizeBigDecimal(String constraintName,
Score<?> constraintWeight,
Function<A,BigDecimal> matchWeigher)
Negatively impact the
Score : subtract the constraintWeight multiplied by the match weight. |
Constraint |
UniConstraintStream.penalizeBigDecimal(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
Function<A,BigDecimal> matchWeigher)
|
default Constraint |
UniConstraintStream.penalizeLong(String constraintName,
Score<?> constraintWeight,
ToLongFunction<A> matchWeigher)
Negatively impact the
Score : subtract the constraintWeight multiplied by the match weight. |
Constraint |
UniConstraintStream.penalizeLong(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToLongFunction<A> matchWeigher)
|
default Constraint |
UniConstraintStream.reward(String constraintName,
Score<?> constraintWeight,
ToIntFunction<A> matchWeigher)
Positively impact the
Score : add the constraintWeight multiplied by the match weight. |
Constraint |
UniConstraintStream.reward(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToIntFunction<A> matchWeigher)
As defined by
UniConstraintStream.reward(String, Score, ToIntFunction) . |
default Constraint |
UniConstraintStream.rewardBigDecimal(String constraintName,
Score<?> constraintWeight,
Function<A,BigDecimal> matchWeigher)
Positively impact the
Score : add the constraintWeight multiplied by the match weight. |
Constraint |
UniConstraintStream.rewardBigDecimal(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
Function<A,BigDecimal> matchWeigher)
|
default Constraint |
UniConstraintStream.rewardLong(String constraintName,
Score<?> constraintWeight,
ToLongFunction<A> matchWeigher)
Positively impact the
Score : add the constraintWeight multiplied by the match weight. |
Constraint |
UniConstraintStream.rewardLong(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToLongFunction<A> matchWeigher)
|
Modifier and Type | Method and Description |
---|---|
Score |
Solver.getBestScore()
Returns the
Score of the Solver.getBestSolution() . |
Modifier and Type | Method and Description |
---|---|
Score |
BestSolutionChangedEvent.getNewBestScore()
Returns the
Score of the BestSolutionChangedEvent.getNewBestSolution() . |
Constructor and Description |
---|
BestSolutionChangedEvent(Solver<Solution_> solver,
long timeMillisSpent,
Solution_ newBestSolution,
Score newBestScore) |
Modifier and Type | Field and Description |
---|---|
protected Comparator<Score> |
DefaultConstructionHeuristicForager.scoreComparator |
Modifier and Type | Method and Description |
---|---|
Function<Solution_,Score<?>> |
ConstraintWeightDescriptor.createExtractor() |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSolution<S extends Score>
Deprecated.
Use
PlanningSolution.autoDiscoverMemberType() instead. |
Modifier and Type | Field and Description |
---|---|
protected S |
AbstractSolution.score
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Score |
SolutionDescriptor.getScore(Solution_ solution) |
Modifier and Type | Method and Description |
---|---|
Class<? extends Score> |
SolutionDescriptor.extractScoreClass() |
Modifier and Type | Method and Description |
---|---|
void |
SolutionDescriptor.setScore(Solution_ solution,
Score score)
Called when the
Score has been calculated or predicted. |
void |
SolutionDescriptor.validateConstraintWeight(String constraintPackage,
String constraintName,
Score<?> constraintWeight) |
Modifier and Type | Method and Description |
---|---|
ScoreDefinition |
SolutionDescriptor.buildScoreDefinition(Class<? extends Score> scoreType,
PlanningScore annotation) |
Modifier and Type | Method and Description |
---|---|
Score |
ExhaustiveSearchNode.getOptimisticBound() |
Score |
ExhaustiveSearchNode.getScore() |
Modifier and Type | Method and Description |
---|---|
void |
ExhaustiveSearchNode.setOptimisticBound(Score optimisticBound) |
void |
ExhaustiveSearchNode.setScore(Score score) |
Modifier and Type | Method and Description |
---|---|
Score |
TrendBasedScoreBounder.calculateOptimisticBound(ScoreDirector scoreDirector,
Score score) |
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.calculatePessimisticBound(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.
|
Modifier and Type | Method and Description |
---|---|
Score |
TrendBasedScoreBounder.calculateOptimisticBound(ScoreDirector scoreDirector,
Score score) |
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.calculatePessimisticBound(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.
|
Modifier and Type | Method and Description |
---|---|
Score |
ExhaustiveSearchPhaseScope.getBestPessimisticBound() |
Score |
ExhaustiveSearchStepScope.getStartingStepScore() |
Modifier and Type | Method and Description |
---|---|
void |
ExhaustiveSearchPhaseScope.registerPessimisticBound(Score pessimisticBound) |
void |
ExhaustiveSearchPhaseScope.setBestPessimisticBound(Score bestPessimisticBound) |
Modifier and Type | Method and Description |
---|---|
Score |
OrderByMoveIndexBlockingQueue.MoveResult.getScore() |
Score |
ApplyStepOperation.getScore() |
Modifier and Type | Method and 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) |
Constructor and Description |
---|
ApplyStepOperation(int stepIndex,
Move<Solution_> step,
Score score) |
MoveResult(int moveThreadIndex,
int stepIndex,
int moveIndex,
Move<Solution_> move,
boolean moveDoable,
Score score) |
Modifier and Type | Method and Description |
---|---|
Score |
GreatDelugeAcceptor.getInitialWaterLevel() |
Score |
GreatDelugeAcceptor.getWaterLevelIncrementScore() |
Modifier and Type | Method and Description |
---|---|
void |
GreatDelugeAcceptor.setInitialWaterLevel(Score initialLevel) |
void |
GreatDelugeAcceptor.setWaterLevelIncrementScore(Score waterLevelIncrementScore) |
Modifier and Type | Field and Description |
---|---|
protected Score[] |
LateAcceptanceAcceptor.previousScores |
Modifier and Type | Field and Description |
---|---|
protected Score |
SimulatedAnnealingAcceptor.startingTemperature |
Modifier and Type | Method and Description |
---|---|
void |
SimulatedAnnealingAcceptor.setStartingTemperature(Score startingTemperature) |
Modifier and Type | Field and Description |
---|---|
protected Score |
StepCountingHillClimbingAcceptor.thresholdScore |
Modifier and Type | Field and Description |
---|---|
protected Score |
StrategicOscillationByLevelFinalistPodium.finalistScore |
protected Score |
HighestScoreFinalistPodium.finalistScore |
Modifier and Type | Method and Description |
---|---|
Score |
PartitionSolver.getBestScore() |
Modifier and Type | Field and Description |
---|---|
protected Score |
AbstractStepScope.score |
protected Score |
AbstractMoveScope.score |
protected Score |
AbstractPhaseScope.startingScore |
Modifier and Type | Method and Description |
---|---|
Score |
AbstractPhaseScope.calculateScore() |
Score |
AbstractPhaseScope.getBestScore() |
Score |
AbstractStepScope.getScore() |
Score |
AbstractMoveScope.getScore() |
Score |
AbstractPhaseScope.getStartingScore() |
Modifier and Type | Method and 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 |
AbstractStepScope.setScore(Score score) |
void |
AbstractMoveScope.setScore(Score score) |
Modifier and Type | Method and Description |
---|---|
static Score |
ScoreUtils.parseScore(Class<? extends Score> scoreClass,
String scoreString) |
Modifier and Type | Method and Description |
---|---|
static double[] |
ScoreUtils.extractLevelDoubles(Score score) |
Modifier and Type | Method and Description |
---|---|
static Score |
ScoreUtils.parseScore(Class<? extends Score> scoreClass,
String scoreString) |
Modifier and Type | Method and Description |
---|---|
int |
FlatteningHardSoftScoreComparator.compare(Score s1,
Score s2) |
int |
FlatteningHardSoftScoreComparator.compare(Score s1,
Score s2) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractScoreDefinition<S extends Score<S>>
Abstract superclass for
ScoreDefinition . |
interface |
ScoreDefinition<S extends Score<S>>
|
Modifier and Type | Method and Description |
---|---|
Score |
ScoreDirector.calculateScore()
Calculates the
Score and updates the working solution accordingly. |
Score |
InnerScoreDirector.doAndProcessMove(Move<Solution_> move,
boolean assertMoveScoreFromScratch) |
Score |
AbstractScoreDirector.doAndProcessMove(Move<Solution_> move,
boolean assertMoveScoreFromScratch) |
Modifier and Type | Method and Description |
---|---|
void |
InnerScoreDirector.assertExpectedUndoMoveScore(Move move,
Score beforeMoveScore)
Asserts that if the
Score is calculated for the current working solution
in the current ScoreDirector (with incremental calculation residue),
it is equal to the parameter beforeMoveScore . |
void |
AbstractScoreDirector.assertExpectedUndoMoveScore(Move move,
Score beforeMoveScore) |
void |
InnerScoreDirector.assertExpectedWorkingScore(Score expectedWorkingScore,
Object completedAction)
Asserts that if the
Score is calculated for the current working solution
in the current ScoreDirector (with possibly incremental calculation residue),
it is equal to the parameter expectedWorkingScore . |
void |
AbstractScoreDirector.assertExpectedWorkingScore(Score expectedWorkingScore,
Object completedAction) |
void |
InnerScoreDirector.assertPredictedScoreFromScratch(Score predictedScore,
Object completedAction)
Asserts that if the
Score is calculated for the current working solution
in a fresh ScoreDirector (with no incremental calculation residue),
it is equal to the parameter predictedScore . |
void |
AbstractScoreDirector.assertPredictedScoreFromScratch(Score workingScore,
Object completedAction) |
void |
InnerScoreDirector.assertShadowVariablesAreNotStale(Score expectedWorkingScore,
Object completedAction)
Asserts that if all
VariableListener s are forcibly triggered,
and therefore all shadow variables are updated if needed,
that none of the shadow variables of the working solution change,
Then also asserts that the Score calculated for the working solution afterwards
is equal to the parameter expectedWorkingScore . |
void |
AbstractScoreDirector.assertShadowVariablesAreNotStale(Score expectedWorkingScore,
Object completedAction) |
void |
InnerScoreDirector.assertWorkingScoreFromScratch(Score workingScore,
Object completedAction)
Asserts that if the
Score is calculated for the current working solution
in a fresh ScoreDirector (with no incremental calculation residue),
it is equal to the parameter workingScore . |
void |
AbstractScoreDirector.assertWorkingScoreFromScratch(Score workingScore,
Object completedAction) |
protected void |
AbstractScoreDirector.setCalculatedScore(Score score) |
Modifier and Type | Method and Description |
---|---|
void |
InnerScoreDirector.doAndProcessMove(Move<Solution_> move,
boolean assertMoveScoreFromScratch,
Consumer<Score> moveProcessor) |
void |
AbstractScoreDirector.doAndProcessMove(Move<Solution_> move,
boolean assertMoveScoreFromScratch,
Consumer<Score> moveProcessor) |
Modifier and Type | Field and Description |
---|---|
protected Map<org.kie.api.definition.rule.Rule,Function<Solution_,Score<?>>> |
DroolsScoreDirectorFactory.ruleToConstraintWeightExtractorMap |
Modifier and Type | Method and Description |
---|---|
Score |
DroolsScoreDirector.calculateScore() |
Modifier and Type | Method and Description |
---|---|
Map<org.kie.api.definition.rule.Rule,Function<Solution_,Score<?>>> |
DroolsScoreDirectorFactory.getRuleToConstraintWeightExtractorMap() |
Modifier and Type | Method and Description |
---|---|
Score |
TestGenDroolsScoreDirector.calculateScore() |
Modifier and Type | Method and Description |
---|---|
void |
TestGenDroolsScoreDirector.assertShadowVariablesAreNotStale(Score expectedWorkingScore,
Object completedAction) |
void |
TestGenDroolsScoreDirector.assertWorkingScoreFromScratch(Score workingScore,
Object completedAction) |
Modifier and Type | Method and Description |
---|---|
Score<?> |
TestGenCorruptedScoreException.getUncorruptedScore() |
Score<?> |
TestGenCorruptedScoreException.getWorkingScore() |
Constructor and Description |
---|
TestGenCorruptedScoreException(Score<?> workingScore,
Score<?> uncorruptedScore) |
TestGenCorruptedScoreException(Score<?> workingScore,
Score<?> uncorruptedScore) |
Modifier and Type | Method and Description |
---|---|
Score |
EasyScoreDirector.calculateScore() |
Score |
EasyScoreCalculator.calculateScore(Solution_ solution)
This method is only called if the
Score cannot be predicted. |
Modifier and Type | Method and Description |
---|---|
Score |
IncrementalScoreDirector.calculateScore() |
Score |
IncrementalScoreCalculator.calculateScore()
This method is only called if the
Score cannot be predicted. |
Modifier and Type | Method and Description |
---|---|
Score |
ConstraintStreamScoreDirector.calculateScore() |
Modifier and Type | Class and Description |
---|---|
class |
ScoreInliner<Score_ extends Score<Score_>> |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
Score<?> |
ConstraintSession.calculateScore(int initScore) |
Modifier and Type | Method and Description |
---|---|
Score<?> |
BavetConstraintSession.calculateScore(int initScore) |
Constructor and Description |
---|
BavetConstraintSession(boolean constraintMatchEnabled,
ScoreDefinition scoreDefinition,
Map<BavetConstraint<Solution_>,Score<?>> constraintToWeightMap) |
Modifier and Type | Method and Description |
---|---|
Score<?> |
BavetScoringBiNode.getConstraintWeight() |
Score<?> |
BavetScoringBiTuple.getMatchScore() |
Modifier and Type | Method and Description |
---|---|
ConstraintMatchTotal |
BavetScoringBiNode.buildConstraintMatchTotal(Score<?> zeroScore) |
protected void |
BavetScoringBiConstraintStream.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 |
BavetAbstractBiConstraintStream.createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy,
Score<?> constraintWeight,
int nodeOrder,
BavetAbstractBiNode<A,B> node) |
protected BavetScoringBiNode<A,B> |
BavetScoringBiConstraintStream.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 BavetJoinBiNode<A,B> |
BavetJoinBiConstraintStream.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 abstract BavetAbstractBiNode<A,B> |
BavetAbstractBiConstraintStream.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) |
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.penalize(String constraintPackage,
String constraintName,
Score<?> constraintWeight) |
Constraint |
BavetAbstractBiConstraintStream.penalize(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToIntBiFunction<A,B> matchWeigher) |
Constraint |
BavetAbstractBiConstraintStream.penalizeBigDecimal(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
BiFunction<A,B,BigDecimal> matchWeigher) |
Constraint |
BavetAbstractBiConstraintStream.penalizeLong(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToLongBiFunction<A,B> matchWeigher) |
Constraint |
BavetAbstractBiConstraintStream.reward(String constraintPackage,
String constraintName,
Score<?> constraintWeight) |
Constraint |
BavetAbstractBiConstraintStream.reward(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToIntBiFunction<A,B> matchWeigher) |
Constraint |
BavetAbstractBiConstraintStream.rewardBigDecimal(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
BiFunction<A,B,BigDecimal> matchWeigher) |
Constraint |
BavetAbstractBiConstraintStream.rewardLong(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToLongBiFunction<A,B> matchWeigher) |
void |
BavetScoringBiTuple.setMatchScore(Score<?> matchScore) |
Constructor and Description |
---|
BavetScoringBiNode(BavetConstraintSession session,
int nodeOrder,
String constraintPackage,
String constraintName,
Score<?> constraintWeight,
TriFunction<A,B,Consumer<Score<?>>,UndoScoreImpacter> scoreImpacter) |
Constructor and Description |
---|
BavetScoringBiNode(BavetConstraintSession session,
int nodeOrder,
String constraintPackage,
String constraintName,
Score<?> constraintWeight,
TriFunction<A,B,Consumer<Score<?>>,UndoScoreImpacter> scoreImpacter) |
Modifier and Type | Method and Description |
---|---|
Score<?> |
BavetConstraint.extractConstraintWeight(Solution_ workingSolution) |
Score<?> |
BavetScoringNode.getConstraintWeight() |
Score<?> |
BavetScoringTuple.getMatchScore() |
Modifier and Type | Method and Description |
---|---|
protected Function<Solution_,Score<?>> |
BavetAbstractConstraintStream.buildConstraintWeightExtractor(String constraintPackage,
String constraintName) |
protected Function<Solution_,Score<?>> |
BavetAbstractConstraintStream.buildConstraintWeightExtractor(String constraintPackage,
String constraintName,
Score<?> constraintWeight) |
Modifier and Type | Method and Description |
---|---|
protected BavetConstraint<Solution_> |
BavetAbstractConstraintStream.buildConstraint(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
boolean positive) |
ConstraintMatchTotal |
BavetScoringNode.buildConstraintMatchTotal(Score<?> zeroScore) |
protected Function<Solution_,Score<?>> |
BavetAbstractConstraintStream.buildConstraintWeightExtractor(String constraintPackage,
String constraintName,
Score<?> constraintWeight) |
BavetJoinNode |
BavetJoinConstraintStream.createNodeChain(BavetNodeBuildPolicy<Solution_> buildPolicy,
Score<?> constraintWeight,
int nodeOrder,
BavetJoinBridgeNode leftNode,
BavetJoinBridgeNode rightNode) |
void |
BavetConstraint.createNodes(BavetNodeBuildPolicy<Solution_> buildPolicy,
Map<Class<?>,BavetFromUniNode<Object>> declaredClassToNodeMap,
Score<?> constraintWeight) |
void |
BavetScoringTuple.setMatchScore(Score<?> matchScore) |
Constructor and Description |
---|
BavetConstraint(BavetConstraintFactory<Solution_> constraintFactory,
String constraintPackage,
String constraintName,
Function<Solution_,Score<?>> constraintWeightExtractor,
boolean positive,
List<BavetFromUniConstraintStream<Solution_,Object>> fromStreamList) |
Modifier and Type | Method and Description |
---|---|
Score<?> |
BavetScoringTriNode.getConstraintWeight() |
Score<?> |
BavetScoringTriTuple.getMatchScore() |
Modifier and Type | Method and Description |
---|---|
ConstraintMatchTotal |
BavetScoringTriNode.buildConstraintMatchTotal(Score<?> zeroScore) |
protected void |
BavetScoringTriConstraintStream.createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy,
Score<?> constraintWeight,
int nodeOrder,
BavetAbstractTriNode<A,B,C> node) |
protected void |
BavetAbstractTriConstraintStream.createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy,
Score<?> constraintWeight,
int nodeOrder,
BavetAbstractTriNode<A,B,C> node) |
protected BavetScoringTriNode<A,B,C> |
BavetScoringTriConstraintStream.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 BavetFilterTriNode<A,B,C> |
BavetFilterTriConstraintStream.createNode(BavetNodeBuildPolicy<Solution_> buildPolicy,
Score<?> constraintWeight,
int nodeOrder,
BavetAbstractTriNode<A,B,C> parentNode) |
protected abstract BavetAbstractTriNode<A,B,C> |
BavetAbstractTriConstraintStream.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.penalize(String constraintPackage,
String constraintName,
Score<?> constraintWeight) |
Constraint |
BavetAbstractTriConstraintStream.penalize(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToIntTriFunction<A,B,C> matchWeigher) |
Constraint |
BavetAbstractTriConstraintStream.penalizeBigDecimal(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
TriFunction<A,B,C,BigDecimal> matchWeigher) |
Constraint |
BavetAbstractTriConstraintStream.penalizeLong(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToLongTriFunction<A,B,C> matchWeigher) |
Constraint |
BavetAbstractTriConstraintStream.reward(String constraintPackage,
String constraintName,
Score<?> constraintWeight) |
Constraint |
BavetAbstractTriConstraintStream.reward(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToIntTriFunction<A,B,C> matchWeigher) |
Constraint |
BavetAbstractTriConstraintStream.rewardBigDecimal(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
TriFunction<A,B,C,BigDecimal> matchWeigher) |
Constraint |
BavetAbstractTriConstraintStream.rewardLong(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToLongTriFunction<A,B,C> matchWeigher) |
void |
BavetScoringTriTuple.setMatchScore(Score<?> matchScore) |
Constructor and Description |
---|
BavetScoringTriNode(BavetConstraintSession session,
int nodeOrder,
String constraintPackage,
String constraintName,
Score<?> constraintWeight,
QuadFunction<A,B,C,Consumer<Score<?>>,UndoScoreImpacter> scoreImpacter) |
Constructor and Description |
---|
BavetScoringTriNode(BavetConstraintSession session,
int nodeOrder,
String constraintPackage,
String constraintName,
Score<?> constraintWeight,
QuadFunction<A,B,C,Consumer<Score<?>>,UndoScoreImpacter> scoreImpacter) |
Modifier and Type | Method and Description |
---|---|
Score<?> |
BavetScoringUniNode.getConstraintWeight() |
Score<?> |
BavetScoringUniTuple.getMatchScore() |
Modifier and Type | Method and Description |
---|---|
ConstraintMatchTotal |
BavetScoringUniNode.buildConstraintMatchTotal(Score<?> zeroScore) |
protected void |
BavetScoringUniConstraintStream.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 |
BavetGroupBridgeUniConstraintStream.createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy,
Score<?> constraintWeight,
int nodeOrder,
BavetAbstractUniNode<A> node) |
protected void |
BavetAbstractUniConstraintStream.createChildNodeChains(BavetNodeBuildPolicy<Solution_> buildPolicy,
Score<?> constraintWeight,
int nodeOrder,
BavetAbstractUniNode<A> node) |
protected BavetScoringUniNode<A> |
BavetScoringUniConstraintStream.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 BavetGroupBridgeUniNode<A,GroupKey_,ResultContainer_,Result_> |
BavetGroupBridgeUniConstraintStream.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 BavetAbstractUniNode<A> |
BavetFilterUniConstraintStream.createNode(BavetNodeBuildPolicy<Solution_> buildPolicy,
Score<?> constraintWeight,
int nodeOrder,
BavetAbstractUniNode<A> parentNode) |
protected abstract BavetAbstractUniNode<A> |
BavetAbstractUniConstraintStream.createNode(BavetNodeBuildPolicy<Solution_> buildPolicy,
Score<?> constraintWeight,
int nodeOrder,
BavetAbstractUniNode<A> parentNode) |
BavetFromUniNode<A> |
BavetFromUniConstraintStream.createNodeChain(BavetNodeBuildPolicy<Solution_> buildPolicy,
Score<?> constraintWeight,
int nodeOrder,
BavetAbstractUniNode<A> parentNode) |
BavetAbstractUniNode<A> |
BavetAbstractUniConstraintStream.createNodeChain(BavetNodeBuildPolicy<Solution_> buildPolicy,
Score<?> constraintWeight,
int nodeOrder,
BavetAbstractUniNode<A> parentNode) |
Constraint |
BavetAbstractUniConstraintStream.penalize(String constraintPackage,
String constraintName,
Score<?> constraintWeight) |
Constraint |
BavetAbstractUniConstraintStream.penalize(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToIntFunction<A> matchWeigher) |
Constraint |
BavetAbstractUniConstraintStream.penalizeBigDecimal(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
Function<A,BigDecimal> matchWeigher) |
Constraint |
BavetAbstractUniConstraintStream.penalizeLong(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToLongFunction<A> matchWeigher) |
Constraint |
BavetAbstractUniConstraintStream.reward(String constraintPackage,
String constraintName,
Score<?> constraintWeight) |
Constraint |
BavetAbstractUniConstraintStream.reward(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToIntFunction<A> matchWeigher) |
Constraint |
BavetAbstractUniConstraintStream.rewardBigDecimal(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
Function<A,BigDecimal> matchWeigher) |
Constraint |
BavetAbstractUniConstraintStream.rewardLong(String constraintPackage,
String constraintName,
Score<?> constraintWeight,
ToLongFunction<A> matchWeigher) |
void |
BavetScoringUniTuple.setMatchScore(Score<?> matchScore) |
Constructor and Description |
---|
BavetScoringUniNode(BavetConstraintSession session,
int nodeOrder,
BavetAbstractUniNode<A> parentNode,
String constraintPackage,
String constraintName,
Score<?> constraintWeight,
BiFunction<A,Consumer<Score<?>>,UndoScoreImpacter> scoreImpacter) |
Constructor and Description |
---|
BavetScoringUniNode(BavetConstraintSession session,
int nodeOrder,
BavetAbstractUniNode<A> parentNode,
String constraintPackage,
String constraintName,
Score<?> constraintWeight,
BiFunction<A,Consumer<Score<?>>,UndoScoreImpacter> scoreImpacter) |
Modifier and Type | Method and Description |
---|---|
Score |
DefaultSolver.getBestScore() |
Modifier and Type | Method and Description |
---|---|
void |
BestSolutionRecaller.processWorkingSolutionDuringMove(Score score,
AbstractStepScope<Solution_> stepScope) |
protected void |
BestSolutionRecaller.updateBestSolution(DefaultSolverScope<Solution_> solverScope,
Score bestScore,
Solution_ bestSolution) |
Modifier and Type | Field and Description |
---|---|
protected Score |
DefaultSolverScope.bestScore |
protected Score |
DefaultSolverScope.startingInitializedScore |
Modifier and Type | Method and Description |
---|---|
Score |
DefaultSolverScope.calculateScore() |
Score |
DefaultSolverScope.getBestScore() |
Score |
DefaultSolverScope.getStartingInitializedScore() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultSolverScope.setBestScore(Score bestScore) |
void |
DefaultSolverScope.setStartingInitializedScore(Score startingInitializedScore) |
Modifier and Type | Method and Description |
---|---|
Score |
UnimprovedTimeMillisSpentScoreDifferenceThresholdTermination.getUnimprovedScoreDifferenceThreshold() |
Modifier and Type | Method and Description |
---|---|
protected double |
BestScoreTermination.calculateTimeGradient(Score startScore,
Score endScore,
Score score) |
protected double |
BestScoreTermination.calculateTimeGradient(Score startScore,
Score endScore,
Score score) |
protected double |
BestScoreTermination.calculateTimeGradient(Score startScore,
Score endScore,
Score score) |
protected boolean |
BestScoreTermination.isTerminated(boolean bestSolutionInitialized,
Score bestScore) |
protected boolean |
BestScoreFeasibleTermination.isTerminated(Score bestScore) |
Constructor and Description |
---|
BestScoreTermination(ScoreDefinition scoreDefinition,
Score bestScoreLimit,
double[] timeGradientWeightNumbers) |
UnimprovedTimeMillisSpentScoreDifferenceThresholdTermination(long unimprovedTimeMillisSpentLimit,
Score unimprovedScoreDifferenceThreshold) |
UnimprovedTimeMillisSpentScoreDifferenceThresholdTermination(long unimprovedTimeMillisSpentLimit,
Score unimprovedScoreDifferenceThreshold,
Clock clock) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractScoreJacksonJsonDeserializer<Score_ extends Score<Score_>>
Jackson binding support for a
Score type. |
class |
AbstractScoreJacksonJsonSerializer<Score_ extends Score<Score_>>
Jackson binding support for a
Score subtype. |
class |
ScoreJacksonJsonSerializer<Score_ extends Score<Score_>>
Deprecated.
in favor of
HardSoftScoreJacksonJsonSerializer and variants. |
Modifier and Type | Method and Description |
---|---|
Score |
PolymorphicScoreJacksonJsonDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser parser,
com.fasterxml.jackson.databind.DeserializationContext context) |
Modifier and Type | Method and Description |
---|---|
void |
PolymorphicScoreJacksonJsonSerializer.serialize(Score score,
com.fasterxml.jackson.core.JsonGenerator generator,
com.fasterxml.jackson.databind.SerializerProvider serializers) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractScoreJaxbXmlAdapter<Score_ extends Score<Score_>> |
Modifier and Type | Method and Description |
---|---|
Score |
AbstractScoreHibernateType.nullSafeGet(ResultSet resultSet,
String[] names,
org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object owner) |
Constructor and Description |
---|
AbstractScoreVerifier(SolverFactory<Solution_> solverFactory,
Class<? extends Score> expectedScoreClass) |
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.