Uses of Class
org.optaplanner.core.impl.solver.scope.SolverScope
Package
Description
-
Uses of SolverScope in org.optaplanner.benchmark.impl.statistic
Modifier and TypeMethodDescriptionvoid
StatisticRegistry.solvingEnded
(SolverScope<Solution_> solverScope) void
StatisticRegistry.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.constructionheuristic
Modifier and TypeMethodDescriptionvoid
DefaultConstructionHeuristicPhase.solve
(SolverScope<Solution_> solverScope) void
DefaultConstructionHeuristicPhase.solvingEnded
(SolverScope<Solution_> solverScope) void
DefaultConstructionHeuristicPhase.solvingError
(SolverScope<Solution_> solverScope, Exception exception) void
DefaultConstructionHeuristicPhase.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.constructionheuristic.decider
Modifier and TypeMethodDescriptionvoid
ConstructionHeuristicDecider.solvingEnded
(SolverScope<Solution_> solverScope) void
ConstructionHeuristicDecider.solvingError
(SolverScope<Solution_> solverScope, Exception exception) void
MultiThreadedConstructionHeuristicDecider.solvingError
(SolverScope<Solution_> solverScope, Exception exception) void
ConstructionHeuristicDecider.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.constructionheuristic.placer
Modifier and TypeMethodDescriptionvoid
AbstractEntityPlacer.solvingEnded
(SolverScope<Solution_> solverScope) void
AbstractEntityPlacer.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.constructionheuristic.scope
ModifierConstructorDescriptionConstructionHeuristicPhaseScope
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.exhaustivesearch
Modifier and TypeMethodDescriptionvoid
DefaultExhaustiveSearchPhase.solve
(SolverScope<Solution_> solverScope) void
DefaultExhaustiveSearchPhase.solvingEnded
(SolverScope<Solution_> solverScope) void
DefaultExhaustiveSearchPhase.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.exhaustivesearch.decider
Modifier and TypeMethodDescriptionvoid
ExhaustiveSearchDecider.solvingEnded
(SolverScope<Solution_> solverScope) void
ExhaustiveSearchDecider.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.exhaustivesearch.scope
-
Uses of SolverScope in org.optaplanner.core.impl.heuristic.selector
Modifier and TypeMethodDescriptionvoid
AbstractSelector.solvingEnded
(SolverScope<Solution_> solverScope) void
AbstractSelector.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.heuristic.selector.common
Modifier and TypeMethodDescriptionvoid
SelectionCacheLifecycleListener.constructCache
(SolverScope<Solution_> solverScope) void
SelectionCacheLifecycleListener.disposeCache
(SolverScope<Solution_> solverScope) void
SelectionCacheLifecycleBridge.solvingEnded
(SolverScope<Solution_> solverScope) void
SelectionCacheLifecycleBridge.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.heuristic.selector.common.nearby
Modifier and TypeMethodDescriptionvoid
AbstractNearbySelector.solvingEnded
(SolverScope<Solution_> solverScope) void
AbstractNearbySelector.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.heuristic.selector.entity.decorator
Modifier and TypeMethodDescriptionvoid
AbstractCachingEntitySelector.constructCache
(SolverScope<Solution_> solverScope) void
ProbabilityEntitySelector.constructCache
(SolverScope<Solution_> solverScope) void
SortingEntitySelector.constructCache
(SolverScope<Solution_> solverScope) void
AbstractCachingEntitySelector.disposeCache
(SolverScope<Solution_> solverScope) void
ProbabilityEntitySelector.disposeCache
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.heuristic.selector.entity.pillar
Modifier and TypeMethodDescriptionvoid
DefaultPillarSelector.constructCache
(SolverScope<Solution_> solverScope) void
DefaultPillarSelector.disposeCache
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.heuristic.selector.list
Modifier and TypeMethodDescriptionvoid
ElementDestinationSelector.solvingEnded
(SolverScope<Solution_> solverScope) void
RandomSubListSelector.solvingEnded
(SolverScope<Solution_> solverScope) void
ElementDestinationSelector.solvingStarted
(SolverScope<Solution_> solverScope) void
RandomSubListSelector.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.heuristic.selector.list.nearby
Modifier and TypeMethodDescriptionvoid
NearSubListNearbyDestinationSelector.solvingEnded
(SolverScope<Solution_> solverScope) void
NearSubListNearbySubListSelector.solvingEnded
(SolverScope<Solution_> solverScope) void
NearValueNearbyDestinationSelector.solvingEnded
(SolverScope<Solution_> solverScope) void
NearSubListNearbyDestinationSelector.solvingStarted
(SolverScope<Solution_> solverScope) void
NearSubListNearbySubListSelector.solvingStarted
(SolverScope<Solution_> solverScope) void
NearValueNearbyDestinationSelector.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.heuristic.selector.move.decorator
Modifier and TypeMethodDescriptionvoid
AbstractCachingMoveSelector.constructCache
(SolverScope<Solution_> solverScope) void
ProbabilityMoveSelector.constructCache
(SolverScope<Solution_> solverScope) void
SortingMoveSelector.constructCache
(SolverScope<Solution_> solverScope) void
AbstractCachingMoveSelector.disposeCache
(SolverScope<Solution_> solverScope) void
ProbabilityMoveSelector.disposeCache
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.heuristic.selector.move.factory
Modifier and TypeMethodDescriptionvoid
MoveListFactoryToMoveSelectorBridge.constructCache
(SolverScope<Solution_> solverScope) void
MoveListFactoryToMoveSelectorBridge.disposeCache
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.heuristic.selector.move.generic
Modifier and TypeMethodDescriptionvoid
ChangeMoveSelector.solvingEnded
(SolverScope<Solution_> solverScope) void
SwapMoveSelector.solvingEnded
(SolverScope<Solution_> solverScope) void
ChangeMoveSelector.solvingStarted
(SolverScope<Solution_> solverScope) void
SwapMoveSelector.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.heuristic.selector.move.generic.chained
Modifier and TypeMethodDescriptionvoid
KOptMoveSelector.solvingEnded
(SolverScope<Solution_> solverScope) void
SubChainChangeMoveSelector.solvingEnded
(SolverScope<Solution_> solverScope) void
SubChainSwapMoveSelector.solvingEnded
(SolverScope<Solution_> solverScope) void
TailChainSwapMoveSelector.solvingEnded
(SolverScope<Solution_> solverScope) void
KOptMoveSelector.solvingStarted
(SolverScope<Solution_> solverScope) void
SubChainChangeMoveSelector.solvingStarted
(SolverScope<Solution_> solverScope) void
SubChainSwapMoveSelector.solvingStarted
(SolverScope<Solution_> solverScope) void
TailChainSwapMoveSelector.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.heuristic.selector.move.generic.list
Modifier and TypeMethodDescriptionvoid
ListChangeMoveSelector.solvingEnded
(SolverScope<Solution_> solverScope) void
ListSwapMoveSelector.solvingEnded
(SolverScope<Solution_> solverScope) void
ListChangeMoveSelector.solvingStarted
(SolverScope<Solution_> solverScope) void
ListSwapMoveSelector.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.heuristic.selector.value.chained
Modifier and TypeMethodDescriptionvoid
DefaultSubChainSelector.constructCache
(SolverScope<Solution_> solverScope) void
DefaultSubChainSelector.disposeCache
(SolverScope<Solution_> solverScope) void
DefaultSubChainSelector.solvingEnded
(SolverScope<Solution_> solverScope) void
DefaultSubChainSelector.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.heuristic.selector.value.decorator
Modifier and TypeMethodDescriptionvoid
AbstractCachingValueSelector.constructCache
(SolverScope<Solution_> solverScope) void
ProbabilityValueSelector.constructCache
(SolverScope<Solution_> solverScope) void
SortingValueSelector.constructCache
(SolverScope<Solution_> solverScope) void
AbstractCachingValueSelector.disposeCache
(SolverScope<Solution_> solverScope) void
ProbabilityValueSelector.disposeCache
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.localsearch
Modifier and TypeMethodDescriptionvoid
DefaultLocalSearchPhase.solve
(SolverScope<Solution_> solverScope) void
DefaultLocalSearchPhase.solvingEnded
(SolverScope<Solution_> solverScope) void
DefaultLocalSearchPhase.solvingError
(SolverScope<Solution_> solverScope, Exception exception) void
DefaultLocalSearchPhase.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.localsearch.decider
Modifier and TypeMethodDescriptionvoid
LocalSearchDecider.solvingEnded
(SolverScope<Solution_> solverScope) void
LocalSearchDecider.solvingError
(SolverScope<Solution_> solverScope, Exception exception) void
MultiThreadedLocalSearchDecider.solvingError
(SolverScope<Solution_> solverScope, Exception exception) void
LocalSearchDecider.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.localsearch.decider.acceptor
Modifier and TypeMethodDescriptionvoid
CompositeAcceptor.solvingEnded
(SolverScope<Solution_> solverScope) void
CompositeAcceptor.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.localsearch.decider.forager
Modifier and TypeMethodDescriptionvoid
AcceptedLocalSearchForager.solvingEnded
(SolverScope<Solution_> solverScope) void
AcceptedLocalSearchForager.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.localsearch.scope
-
Uses of SolverScope in org.optaplanner.core.impl.partitionedsearch
Modifier and TypeFieldDescriptionprotected final SolverScope<Solution_>
PartitionSolver.solverScope
Modifier and TypeMethodDescriptionDefaultPartitionedSearchPhase.buildPartitionSolver
(ChildThreadPlumbingTermination<Solution_> childThreadPlumbingTermination, Semaphore runnablePartThreadSemaphore, SolverScope<Solution_> solverScope) void
DefaultPartitionedSearchPhase.solve
(SolverScope<Solution_> solverScope) void
PartitionSolver.solvingEnded
(SolverScope<Solution_> solverScope) void
PartitionSolver.solvingStarted
(SolverScope<Solution_> solverScope) ModifierConstructorDescriptionPartitionSolver
(BestSolutionRecaller<Solution_> bestSolutionRecaller, Termination<Solution_> termination, List<Phase<Solution_>> phaseList, SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.partitionedsearch.scope
-
Uses of SolverScope in org.optaplanner.core.impl.phase
Modifier and TypeMethodDescriptionvoid
NoChangePhase.solve
(SolverScope<Solution_> solverScope) void
Phase.solve
(SolverScope<Solution_> solverScope) void
AbstractPhase.solvingEnded
(SolverScope<Solution_> solverScope) void
AbstractPhase.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.phase.custom
Modifier and TypeMethodDescriptionvoid
DefaultCustomPhase.solve
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.phase.custom.scope
-
Uses of SolverScope in org.optaplanner.core.impl.phase.event
Modifier and TypeMethodDescriptionvoid
PhaseLifecycleSupport.fireSolvingEnded
(SolverScope<Solution_> solverScope) void
PhaseLifecycleSupport.fireSolvingError
(SolverScope<Solution_> solverScope, Exception exception) void
PhaseLifecycleSupport.fireSolvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.phase.scope
Modifier and TypeFieldDescriptionprotected final SolverScope<Solution_>
AbstractPhaseScope.solverScope
-
Uses of SolverScope in org.optaplanner.core.impl.solver
Modifier and TypeFieldDescriptionprotected final SolverScope<Solution_>
DefaultSolver.solverScope
Modifier and TypeMethodDescriptionvoid
DefaultSolver.outerSolvingEnded
(SolverScope<Solution_> solverScope) void
DefaultSolver.outerSolvingStarted
(SolverScope<Solution_> solverScope) protected void
AbstractSolver.runPhases
(SolverScope<Solution_> solverScope) void
AbstractSolver.solvingEnded
(SolverScope<Solution_> solverScope) void
DefaultSolver.solvingEnded
(SolverScope<Solution_> solverScope) void
AbstractSolver.solvingError
(SolverScope<Solution_> solverScope, Exception exception) void
AbstractSolver.solvingStarted
(SolverScope<Solution_> solverScope) void
DefaultSolver.solvingStarted
(SolverScope<Solution_> solverScope) ModifierConstructorDescriptionDefaultSolver
(EnvironmentMode environmentMode, RandomFactory randomFactory, BestSolutionRecaller<Solution_> bestSolutionRecaller, BasicPlumbingTermination<Solution_> basicPlumbingTermination, Termination<Solution_> termination, List<Phase<Solution_>> phaseList, SolverScope<Solution_> solverScope, String moveThreadCountDescription) -
Uses of SolverScope in org.optaplanner.core.impl.solver.change
Modifier and TypeMethodDescriptionvoid
ProblemChangeAdapter.doProblemChange
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.solver.event
Modifier and TypeMethodDescriptionvoid
SolverEventSupport.fireBestSolutionChanged
(SolverScope<Solution_> solverScope, Solution_ newBestSolution) void
SolverLifecycleListener.solvingEnded
(SolverScope<Solution_> solverScope) void
SolverLifecycleListenerAdapter.solvingEnded
(SolverScope<Solution_> solverScope) default void
SolverLifecycleListener.solvingError
(SolverScope<Solution_> solverScope, Exception exception) Invoked in case of an exception in theSolver
run.void
SolverLifecycleListener.solvingStarted
(SolverScope<Solution_> solverScope) void
SolverLifecycleListenerAdapter.solvingStarted
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.solver.recaller
Modifier and TypeMethodDescriptionvoid
BestSolutionRecaller.solvingStarted
(SolverScope<Solution_> solverScope) void
BestSolutionRecaller.updateBestSolutionAndFire
(SolverScope<Solution_> solverScope) void
BestSolutionRecaller.updateBestSolutionAndFireIfInitialized
(SolverScope<Solution_> solverScope) -
Uses of SolverScope in org.optaplanner.core.impl.solver.scope
Modifier and TypeMethodDescriptionSolverScope.createChildThreadSolverScope
(ChildThreadType childThreadType) -
Uses of SolverScope in org.optaplanner.core.impl.solver.termination
Modifier and TypeMethodDescriptiondouble
AndCompositeTermination.calculateSolverTimeGradient
(SolverScope<Solution_> solverScope) Calculates the minimum timeGradient of all Terminations.double
BasicPlumbingTermination.calculateSolverTimeGradient
(SolverScope<Solution_> solverScope) double
BestScoreFeasibleTermination.calculateSolverTimeGradient
(SolverScope<Solution_> solverScope) double
BestScoreTermination.calculateSolverTimeGradient
(SolverScope<Solution_> solverScope) double
ChildThreadPlumbingTermination.calculateSolverTimeGradient
(SolverScope<Solution_> solverScope) double
OrCompositeTermination.calculateSolverTimeGradient
(SolverScope<Solution_> solverScope) Calculates the maximum timeGradient of all Terminations.double
PhaseToSolverTerminationBridge.calculateSolverTimeGradient
(SolverScope<Solution_> solverScope) double
ScoreCalculationCountTermination.calculateSolverTimeGradient
(SolverScope<Solution_> solverScope) double
StepCountTermination.calculateSolverTimeGradient
(SolverScope<Solution_> solverScope) double
Termination.calculateSolverTimeGradient
(SolverScope<Solution_> solverScope) A timeGradient is a relative estimate of how long the search will continue.double
TimeMillisSpentTermination.calculateSolverTimeGradient
(SolverScope<Solution_> solverScope) double
UnimprovedStepCountTermination.calculateSolverTimeGradient
(SolverScope<Solution_> solverScope) double
UnimprovedTimeMillisSpentScoreDifferenceThresholdTermination.calculateSolverTimeGradient
(SolverScope<Solution_> solverScope) double
UnimprovedTimeMillisSpentTermination.calculateSolverTimeGradient
(SolverScope<Solution_> solverScope) AbstractTermination.createChildThreadTermination
(SolverScope<Solution_> solverScope, ChildThreadType childThreadType) AndCompositeTermination.createChildThreadTermination
(SolverScope<Solution_> solverScope, ChildThreadType childThreadType) BasicPlumbingTermination.createChildThreadTermination
(SolverScope<Solution_> solverScope, ChildThreadType childThreadType) BestScoreFeasibleTermination.createChildThreadTermination
(SolverScope<Solution_> solverScope, ChildThreadType childThreadType) BestScoreTermination.createChildThreadTermination
(SolverScope<Solution_> solverScope, ChildThreadType childThreadType) ChildThreadPlumbingTermination.createChildThreadTermination
(SolverScope<Solution_> solverScope, ChildThreadType childThreadType) OrCompositeTermination.createChildThreadTermination
(SolverScope<Solution_> solverScope, ChildThreadType childThreadType) PhaseToSolverTerminationBridge.createChildThreadTermination
(SolverScope<Solution_> solverScope, ChildThreadType childThreadType) ScoreCalculationCountTermination.createChildThreadTermination
(SolverScope<Solution_> solverScope, ChildThreadType childThreadType) StepCountTermination.createChildThreadTermination
(SolverScope<Solution_> solverScope, ChildThreadType childThreadType) Termination.createChildThreadTermination
(SolverScope<Solution_> solverScope, ChildThreadType childThreadType) TimeMillisSpentTermination.createChildThreadTermination
(SolverScope<Solution_> solverScope, ChildThreadType childThreadType) UnimprovedStepCountTermination.createChildThreadTermination
(SolverScope<Solution_> solverScope, ChildThreadType childThreadType) UnimprovedTimeMillisSpentScoreDifferenceThresholdTermination.createChildThreadTermination
(SolverScope<Solution_> solverScope, ChildThreadType childThreadType) UnimprovedTimeMillisSpentTermination.createChildThreadTermination
(SolverScope<Solution_> solverScope, ChildThreadType childThreadType) protected List<Termination<Solution_>>
AbstractCompositeTermination.createChildThreadTerminationList
(SolverScope<Solution_> solverScope, ChildThreadType childThreadType) boolean
AndCompositeTermination.isSolverTerminated
(SolverScope<Solution_> solverScope) boolean
BasicPlumbingTermination.isSolverTerminated
(SolverScope<Solution_> solverScope) boolean
BestScoreFeasibleTermination.isSolverTerminated
(SolverScope<Solution_> solverScope) boolean
BestScoreTermination.isSolverTerminated
(SolverScope<Solution_> solverScope) boolean
ChildThreadPlumbingTermination.isSolverTerminated
(SolverScope<Solution_> solverScope) boolean
OrCompositeTermination.isSolverTerminated
(SolverScope<Solution_> solverScope) boolean
PhaseToSolverTerminationBridge.isSolverTerminated
(SolverScope<Solution_> solverScope) boolean
ScoreCalculationCountTermination.isSolverTerminated
(SolverScope<Solution_> solverScope) boolean
StepCountTermination.isSolverTerminated
(SolverScope<Solution_> solverScope) boolean
Termination.isSolverTerminated
(SolverScope<Solution_> solverScope) Called by theSolver
after every phase to determine if the search should stop.boolean
TimeMillisSpentTermination.isSolverTerminated
(SolverScope<Solution_> solverScope) boolean
UnimprovedStepCountTermination.isSolverTerminated
(SolverScope<Solution_> solverScope) boolean
UnimprovedTimeMillisSpentScoreDifferenceThresholdTermination.isSolverTerminated
(SolverScope<Solution_> solverScope) boolean
UnimprovedTimeMillisSpentTermination.isSolverTerminated
(SolverScope<Solution_> solverScope) void
AbstractCompositeTermination.solvingEnded
(SolverScope<Solution_> solverScope) void
UnimprovedTimeMillisSpentScoreDifferenceThresholdTermination.solvingEnded
(SolverScope<Solution_> solverScope) void
AbstractCompositeTermination.solvingStarted
(SolverScope<Solution_> solverScope) void
UnimprovedTimeMillisSpentScoreDifferenceThresholdTermination.solvingStarted
(SolverScope<Solution_> solverScope)