Uses of Record Class
ai.timefold.solver.core.impl.score.director.InnerScore
Packages that use InnerScore
Package
Description
-
Uses of InnerScore in ai.timefold.solver.core.impl.exhaustivesearch.node
Methods in ai.timefold.solver.core.impl.exhaustivesearch.node that return InnerScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
InnerScore<Score_>ExhaustiveSearchNode.getOptimisticBound()<Score_ extends Score<Score_>>
InnerScore<Score_>ExhaustiveSearchNode.getScore()Methods in ai.timefold.solver.core.impl.exhaustivesearch.node with parameters of type InnerScoreModifier and TypeMethodDescriptionvoidExhaustiveSearchNode.setOptimisticBound(InnerScore<?> optimisticBound) voidExhaustiveSearchNode.setScore(InnerScore<?> score) -
Uses of InnerScore in ai.timefold.solver.core.impl.exhaustivesearch.node.bounder
Methods in ai.timefold.solver.core.impl.exhaustivesearch.node.bounder that return InnerScoreModifier and TypeMethodDescriptionScoreBounder.calculateOptimisticBound(ScoreDirector<?> scoreDirector, InnerScore<Score_> score) In OR terms, this is called the lower bound if they minimize, and upper bound if they maximize.TrendBasedScoreBounder.calculateOptimisticBound(ScoreDirector<?> scoreDirector, InnerScore<Score_> score) ScoreBounder.calculatePessimisticBound(ScoreDirector<?> scoreDirector, InnerScore<Score_> score) In OR terms, this is called the upper bound if they minimize, and lower bound if they maximize.TrendBasedScoreBounder.calculatePessimisticBound(ScoreDirector<?> scoreDirector, InnerScore<Score_> score) Methods in ai.timefold.solver.core.impl.exhaustivesearch.node.bounder with parameters of type InnerScoreModifier and TypeMethodDescriptionScoreBounder.calculateOptimisticBound(ScoreDirector<?> scoreDirector, InnerScore<Score_> score) In OR terms, this is called the lower bound if they minimize, and upper bound if they maximize.TrendBasedScoreBounder.calculateOptimisticBound(ScoreDirector<?> scoreDirector, InnerScore<Score_> score) ScoreBounder.calculatePessimisticBound(ScoreDirector<?> scoreDirector, InnerScore<Score_> score) In OR terms, this is called the upper bound if they minimize, and lower bound if they maximize.TrendBasedScoreBounder.calculatePessimisticBound(ScoreDirector<?> scoreDirector, InnerScore<Score_> score) -
Uses of InnerScore in ai.timefold.solver.core.impl.exhaustivesearch.scope
Methods in ai.timefold.solver.core.impl.exhaustivesearch.scope that return InnerScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
InnerScore<Score_>ExhaustiveSearchPhaseScope.getBestPessimisticBound()<Score_ extends Score<Score_>>
InnerScore<Score_>ExhaustiveSearchStepScope.getStartingStepScore()Methods in ai.timefold.solver.core.impl.exhaustivesearch.scope with parameters of type InnerScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
voidExhaustiveSearchPhaseScope.registerPessimisticBound(InnerScore<Score_> pessimisticBound) voidExhaustiveSearchPhaseScope.setBestPessimisticBound(InnerScore<?> bestPessimisticBound) -
Uses of InnerScore in ai.timefold.solver.core.impl.localsearch.decider.acceptor.lateacceptance
Fields in ai.timefold.solver.core.impl.localsearch.decider.acceptor.lateacceptance declared as InnerScoreModifier and TypeFieldDescriptionprotected InnerScore<?>DiversifiedLateAcceptanceAcceptor.lateWorseScoreprotected InnerScore<?>[]DiversifiedLateAcceptanceAcceptor.previousScoresprotected InnerScore<?>[]LateAcceptanceAcceptor.previousScores -
Uses of InnerScore in ai.timefold.solver.core.impl.localsearch.decider.acceptor.stepcountinghillclimbing
Fields in ai.timefold.solver.core.impl.localsearch.decider.acceptor.stepcountinghillclimbing declared as InnerScoreModifier and TypeFieldDescriptionprotected InnerScore<?>StepCountingHillClimbingAcceptor.thresholdScore -
Uses of InnerScore in ai.timefold.solver.core.impl.move.director
Methods in ai.timefold.solver.core.impl.move.director that return InnerScoreModifier and TypeMethodDescriptionfinal InnerScore<Score_>MoveDirector.executeTemporary(Move<Solution_> move) -
Uses of InnerScore in ai.timefold.solver.core.impl.phase.scope
Fields in ai.timefold.solver.core.impl.phase.scope declared as InnerScoreModifier and TypeFieldDescriptionprotected InnerScore<?>AbstractMoveScope.scoreprotected InnerScore<?>AbstractStepScope.scoreprotected InnerScore<?>AbstractPhaseScope.startingScoreMethods in ai.timefold.solver.core.impl.phase.scope that return InnerScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
InnerScore<Score_>AbstractPhaseScope.calculateScore()<Score_ extends Score<Score_>>
InnerScore<Score_>AbstractPhaseScope.getBestScore()<Score_ extends Score<Score_>>
InnerScore<Score_>AbstractMoveScope.getScore()<Score_ extends Score<Score_>>
InnerScore<Score_>AbstractStepScope.getScore()<Score_ extends Score<Score_>>
InnerScore<Score_>AbstractPhaseScope.getStartingScore()Methods in ai.timefold.solver.core.impl.phase.scope with parameters of type InnerScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
voidAbstractPhaseScope.assertExpectedWorkingScore(InnerScore<Score_> expectedWorkingScore, Object completedAction) <Score_ extends Score<Score_>>
voidAbstractPhaseScope.assertPredictedScoreFromScratch(InnerScore<Score_> workingScore, Object completedAction) <Score_ extends Score<Score_>>
voidAbstractPhaseScope.assertShadowVariablesAreNotStale(InnerScore<Score_> workingScore, Object completedAction) <Score_ extends Score<Score_>>
voidAbstractPhaseScope.assertWorkingScoreFromScratch(InnerScore<Score_> workingScore, Object completedAction) voidAbstractMoveScope.setScore(InnerScore<?> score) voidAbstractStepScope.setScore(InnerScore<?> score) -
Uses of InnerScore in ai.timefold.solver.core.impl.score
Methods in ai.timefold.solver.core.impl.score with parameters of type InnerScoreModifier and TypeMethodDescriptionDefaultScoreExplanation.explainScore(InnerScore<Score_> workingScore, Collection<ConstraintMatchTotal<Score_>> constraintMatchTotalCollection, Collection<Indictment<Score_>> indictmentCollection) DefaultScoreExplanation.explainScore(InnerScore<Score_> workingScore, Collection<ConstraintMatchTotal<Score_>> constraintMatchTotalCollection, Collection<Indictment<Score_>> indictmentCollection, int indictmentLimit, int constraintMatchLimit) Constructors in ai.timefold.solver.core.impl.score with parameters of type InnerScoreModifierConstructorDescriptionDefaultScoreExplanation(Solution_ solution, InnerScore<Score_> innerScore, Map<String, ConstraintMatchTotal<Score_>> constraintMatchTotalMap, Map<Object, Indictment<Score_>> indictmentMap) -
Uses of InnerScore in ai.timefold.solver.core.impl.score.director
Methods in ai.timefold.solver.core.impl.score.director that return InnerScoreModifier and TypeMethodDescriptionInnerScoreDirector.calculateScore()Calculates theScoreand updates theworking solutionaccordingly.AbstractScoreDirector.executeTemporaryMove(Move<Solution_> move, boolean assertMoveScoreFromScratch) InnerScoreDirector.executeTemporaryMove(Move<Solution_> move, boolean assertMoveScoreFromScratch) Executes a move, finds out its score, and immediately undoes it.static <Score_ extends Score<Score_>>
InnerScore<Score_>InnerScore.fullyAssigned(Score_ score) static <Score_ extends Score<Score_>>
InnerScore<Score_>InnerScore.withUnassignedCount(Score_ score, int unassignedCount) Methods in ai.timefold.solver.core.impl.score.director with parameters of type InnerScoreModifier and TypeMethodDescriptionvoidAbstractScoreDirector.assertExpectedUndoMoveScore(Move<Solution_> move, InnerScore<Score_> beforeMoveInnerScore, SolverLifecyclePoint executionPoint) voidInnerScoreDirector.assertExpectedUndoMoveScore(Move<Solution_> move, InnerScore<Score_> beforeMoveScore, SolverLifecyclePoint executionPoint) Asserts that if theScoreis calculated for the currentworking solutionin the currentScoreDirector(with incremental calculation residue), it is equal to the parameterbeforeMoveScore.voidAbstractScoreDirector.assertExpectedWorkingScore(InnerScore<Score_> expectedWorkingScore, Object completedAction) voidInnerScoreDirector.assertExpectedWorkingScore(InnerScore<Score_> expectedWorkingScore, Object completedAction) Asserts that if theScoreis calculated for the currentworking solutionin the currentScoreDirector(with possibly incremental calculation residue), it is equal to the parameterexpectedWorkingScore.voidAbstractScoreDirector.assertPredictedScoreFromScratch(InnerScore<Score_> workingScore, Object completedAction) voidInnerScoreDirector.assertPredictedScoreFromScratch(InnerScore<Score_> predictedScore, Object completedAction) Asserts that if theScoreis calculated for the currentworking solutionin a freshScoreDirector(with no incremental calculation residue), it is equal to the parameterpredictedScore.voidAbstractScoreDirector.assertShadowVariablesAreNotStale(InnerScore<Score_> expectedWorkingScore, Object completedAction) voidInnerScoreDirector.assertShadowVariablesAreNotStale(InnerScore<Score_> expectedWorkingScore, Object completedAction) Asserts that if allVariableListeners are forcibly triggered, and therefore all shadow variables are updated if needed, that none of the shadow variables of theworking solutionchange, Then also asserts that theScorecalculated for theworking solutionafterwards is equal to the parameterexpectedWorkingScore.voidAbstractScoreDirector.assertWorkingScoreFromScratch(InnerScore<Score_> workingScore, Object completedAction) voidInnerScoreDirector.assertWorkingScoreFromScratch(InnerScore<Score_> workingScore, Object completedAction) Asserts that if theScoreis calculated for the currentworking solutionin a freshScoreDirector(with no incremental calculation residue), it is equal to the parameterworkingScore.intInnerScore.compareTo(InnerScore<Score_> other) AbstractScoreDirector.getSolutionCorruptionAfterUndo(Move<Solution_> move, InnerScore<Score_> undoInnerScore) -
Uses of InnerScore in ai.timefold.solver.core.impl.score.director.easy
Methods in ai.timefold.solver.core.impl.score.director.easy that return InnerScore -
Uses of InnerScore in ai.timefold.solver.core.impl.score.director.incremental
Methods in ai.timefold.solver.core.impl.score.director.incremental that return InnerScore -
Uses of InnerScore in ai.timefold.solver.core.impl.score.director.stream
Methods in ai.timefold.solver.core.impl.score.director.stream that return InnerScore -
Uses of InnerScore in ai.timefold.solver.core.impl.solver.event
Constructors in ai.timefold.solver.core.impl.solver.event with parameters of type InnerScoreModifierConstructorDescriptionDefaultBestSolutionChangedEvent(@NonNull Solver<Solution_> solver, long timeMillisSpent, @NonNull Solution_ newBestSolution, @NonNull InnerScore newBestScore) -
Uses of InnerScore in ai.timefold.solver.core.impl.solver.monitoring
Methods in ai.timefold.solver.core.impl.solver.monitoring that return InnerScoreModifier and TypeMethodDescriptionstatic <Score_ extends Score<Score_>>
@Nullable InnerScore<Score_>SolverMetricUtil.extractScore(SolverMetric metric, ScoreDefinition<Score_> scoreDefinition, Function<String, @Nullable Number> scoreLevelFunction) Methods in ai.timefold.solver.core.impl.solver.monitoring with parameters of type InnerScoreModifier and TypeMethodDescriptionstatic <Score_ extends Score<Score_>>
voidSolverMetricUtil.registerScore(SolverMetric metric, io.micrometer.core.instrument.Tags tags, ScoreDefinition<Score_> scoreDefinition, Map<io.micrometer.core.instrument.Tags, ScoreLevels> tagToScoreLevels, InnerScore<Score_> innerScore) -
Uses of InnerScore in ai.timefold.solver.core.impl.solver.recaller
Methods in ai.timefold.solver.core.impl.solver.recaller with parameters of type InnerScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
voidBestSolutionRecaller.processWorkingSolutionDuringMove(InnerScore<Score_> moveScore, AbstractStepScope<Solution_> stepScope) -
Uses of InnerScore in ai.timefold.solver.core.impl.solver.scope
Methods in ai.timefold.solver.core.impl.solver.scope that return InnerScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
InnerScore<Score_>SolverScope.calculateScore()<Score_ extends Score<Score_>>
InnerScore<Score_>SolverScope.getBestScore()Methods in ai.timefold.solver.core.impl.solver.scope with parameters of type InnerScoreModifier and TypeMethodDescription<Score_ extends Score<Score_>>
voidSolverScope.setBestScore(InnerScore<Score_> bestScore)