Modifier and Type | Interface and Description |
---|---|
interface |
Solution<S extends Score>
A Solution represents a problem and a possible solution of that problem.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractScore<S extends Score>
Abstract superclass for
Score . |
interface |
Score<S 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 |
AbstractScore<S extends Score>
Abstract superclass for
Score . |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractScore.isCompatibleArithmeticArgument(Score otherScore) |
boolean |
Score.isCompatibleArithmeticArgument(Score otherScore) |
Modifier and Type | Method and Description |
---|---|
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.parseLevelStrings(Class<? extends Score> scoreClass,
String scoreString,
int levelsSize) |
protected static String[] |
AbstractScore.parseLevelStrings(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 |
---|---|
Score |
BendableScoreHolder.extractScore() |
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 |
---|---|
Score |
BendableBigDecimalScoreHolder.extractScore() |
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 |
---|---|
Score |
BendableLongScoreHolder.extractScore() |
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 |
---|---|
Score |
HardMediumSoftScoreHolder.extractScore() |
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 |
---|---|
Score |
HardMediumSoftLongScoreHolder.extractScore() |
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 |
---|---|
Score |
HardSoftScoreHolder.extractScore() |
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 |
---|---|
Score |
HardSoftBigDecimalScoreHolder.extractScore() |
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 |
---|---|
Score |
HardSoftDoubleScoreHolder.extractScore() |
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 |
---|---|
Score |
HardSoftLongScoreHolder.extractScore() |
Modifier and Type | Class and Description |
---|---|
class |
SimpleScore
This
Score is based on 1 level of int constraints. |
Modifier and Type | Method and Description |
---|---|
Score |
SimpleScoreHolder.extractScore() |
Modifier and Type | Class and Description |
---|---|
class |
SimpleBigDecimalScore
This
Score is based on 1 level of BigDecimal constraints. |
Modifier and Type | Method and Description |
---|---|
Score |
SimpleBigDecimalScoreHolder.extractScore() |
Modifier and Type | Class and Description |
---|---|
class |
SimpleDoubleScore
This
Score is based on 1 level of double constraints. |
Modifier and Type | Method and Description |
---|---|
Score |
SimpleDoubleScoreHolder.extractScore() |
Modifier and Type | Class and Description |
---|---|
class |
SimpleLongScore
This
Score is based on 1 level of long constraints. |
Modifier and Type | Method and Description |
---|---|
Score |
SimpleLongScoreHolder.extractScore() |
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 |
ScoreHolder.extractScore()
|
Modifier and Type | Field and Description |
---|---|
protected Comparator<Score> |
DefaultConstructionHeuristicForager.scoreComparator |
Modifier and Type | Method and Description |
---|---|
Score |
ConstructionHeuristicMoveScope.getScore() |
Modifier and Type | Method and Description |
---|---|
void |
ConstructionHeuristicMoveScope.setScore(Score score) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractSolution<S extends Score>
Currently only used by OptaPlanner Workbench.
|
Modifier and Type | Field and Description |
---|---|
protected S |
AbstractSolution.score |
Modifier and Type | Method and Description |
---|---|
Class<? extends Score> |
SolutionDescriptor.extractScoreClass() |
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 |
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) |
Modifier and Type | Method and 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) |
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 | Field and Description |
---|---|
protected Score[] |
LateAcceptanceAcceptor.previousScores |
Modifier and Type | Field and Description |
---|---|
protected Score[] |
LateSimulatedAnnealingAcceptor.previousScores
Deprecated.
|
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 | Method and Description |
---|---|
Comparator<Score> |
NaturalDeciderScoreComparatorFactory.createDeciderScoreComparator() |
Comparator<Score> |
ShiftingHardPenaltyDeciderScoreComparatorFactory.createDeciderScoreComparator() |
Comparator<Score> |
DeciderScoreComparatorFactory.createDeciderScoreComparator() |
Modifier and Type | Field and Description |
---|---|
protected Score |
HighestScoreFinalistPodium.finalistScore |
protected Score |
StrategicOscillationByLevelFinalistPodium.finalistScore |
Modifier and Type | Method and Description |
---|---|
Score |
LocalSearchMoveScope.getScore() |
Modifier and Type | Method and Description |
---|---|
void |
LocalSearchMoveScope.setScore(Score score) |
Modifier and Type | Field and Description |
---|---|
protected Score |
AbstractStepScope.score |
protected Score |
AbstractPhaseScope.startingScore |
Modifier and Type | Method and Description |
---|---|
Score |
AbstractPhaseScope.calculateScore() |
Score |
AbstractPhaseScope.getBestScore() |
Score |
AbstractStepScope.getScore() |
Score |
AbstractPhaseScope.getStartingScore() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractPhaseScope.assertExpectedUndoMoveScore(Move move,
Move undoMove,
Score beforeMoveScore) |
void |
AbstractPhaseScope.assertExpectedWorkingScore(Score expectedWorkingScore,
Object completedAction) |
void |
AbstractPhaseScope.assertWorkingScoreFromScratch(Score workingScore,
Object completedAction) |
void |
AbstractStepScope.setScore(Score score) |
Modifier and Type | Method and Description |
---|---|
static double[] |
ScoreUtils.extractLevelDoubles(Score score) |
static String |
ScoreUtils.getScoreWithUninitializedPrefix(int uninitializedVariableCount,
Score score) |
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>
Abstract superclass for
ScoreDefinition . |
interface |
ScoreDefinition<S extends Score>
|
Modifier and Type | Method and Description |
---|---|
Score |
ScoreDirector.calculateScore()
Calculates the
Score and updates the workingSolution accordingly. |
Modifier and Type | Method and Description |
---|---|
void |
AbstractScoreDirector.assertExpectedWorkingScore(Score expectedWorkingScore,
Object completedAction) |
void |
InnerScoreDirector.assertExpectedWorkingScore(Score expectedWorkingScore,
Object completedAction)
Asserts that if the
Score is calculated for the current workingSolution
in the current ScoreDirector (with possibly incremental calculation residue),
it is equal to the parameter expectedWorkingScore . |
void |
AbstractScoreDirector.assertShadowVariablesAreNotStale(Score expectedWorkingScore,
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 workingSolution change,
Then also asserts that the Score calculated for the workingSolution afterwards
is equal to the parameter expectedWorkingScore . |
void |
AbstractScoreDirector.assertWorkingScoreFromScratch(Score workingScore,
Object completedAction) |
void |
InnerScoreDirector.assertWorkingScoreFromScratch(Score workingScore,
Object completedAction)
Asserts that if the
Score is calculated for the current workingSolution
in a fresh ScoreDirector (with no incremental calculation residue),
it is equal to the parameter workingScore . |
protected void |
AbstractScoreDirector.setCalculatedScore(Score score) |
Modifier and Type | Method and Description |
---|---|
Score |
DroolsScoreDirector.calculateScore() |
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 |
IncrementalScoreCalculator.calculateScore()
This method is only called if the
Score cannot be predicted. |
Score |
IncrementalScoreDirector.calculateScore() |
Modifier and Type | Method and Description |
---|---|
void |
BestSolutionRecaller.processWorkingSolutionDuringMove(int uninitializedVariableCount,
Score score,
AbstractStepScope stepScope) |
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.assertExpectedWorkingScore(Score expectedWorkingScore,
Object completedAction) |
void |
DefaultSolverScope.assertWorkingScoreFromScratch(Score workingScore,
Object completedAction) |
void |
DefaultSolverScope.setBestScore(Score bestScore) |
void |
DefaultSolverScope.setStartingInitializedScore(Score startingInitializedScore) |
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(boolean bestSolutionInitialized,
Score bestScore) |
Constructor and Description |
---|
BestScoreTermination(ScoreDefinition scoreDefinition,
Score bestScoreLimit,
double[] timeGradientWeightNumbers) |
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.