Class DefaultPartitionedSearchPhase<Solution_>
java.lang.Object
org.optaplanner.core.impl.phase.AbstractPhase<Solution_>
org.optaplanner.core.impl.partitionedsearch.DefaultPartitionedSearchPhase<Solution_>
- Type Parameters:
- Solution_- the solution type, the class with the- PlanningSolutionannotation
- All Implemented Interfaces:
- EventListener,- PartitionedSearchPhaseLifecycleListener<Solution_>,- PartitionedSearchPhase<Solution_>,- PhaseLifecycleListener<Solution_>,- Phase<Solution_>,- SolverLifecycleListener<Solution_>
public class DefaultPartitionedSearchPhase<Solution_>
extends AbstractPhase<Solution_>
implements PartitionedSearchPhase<Solution_>, PartitionedSearchPhaseLifecycleListener<Solution_>
Default implementation of 
PartitionedSearchPhase.- 
Nested Class SummaryNested Classes
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final HeuristicConfigPolicy<Solution_>protected final List<PhaseConfig>protected final Integerprotected final SolutionPartitioner<Solution_>protected final ThreadFactoryFields inherited from class org.optaplanner.core.impl.phase.AbstractPhaseassertExpectedStepScore, assertShadowVariablesAreNotStaleAfterStep, assertStepScoreFromScratch, logger, logIndentation, phaseIndex, phaseLifecycleSupport, phaseTermination, solver
- 
Method SummaryModifier and TypeMethodDescriptionbuildPartitionSolver(ChildThreadPlumbingTermination<Solution_> childThreadPlumbingTermination, Semaphore runnablePartThreadSemaphore, SolverScope<Solution_> solverScope) protected voiddoStep(PartitionedSearchStepScope<Solution_> stepScope) voidphaseEnded(PartitionedSearchPhaseScope<Solution_> phaseScope) voidphaseStarted(PartitionedSearchPhaseScope<Solution_> phaseScope) voidsolve(SolverScope<Solution_> solverScope) voidstepEnded(PartitionedSearchStepScope<Solution_> stepScope) voidstepStarted(PartitionedSearchStepScope<Solution_> stepScope) Methods inherited from class org.optaplanner.core.impl.phase.AbstractPhaseaddPhaseLifecycleListener, assertWorkingSolutionInitialized, calculateWorkingStepScore, getPhaseIndex, getPhaseTermination, getSolver, isAssertExpectedStepScore, isAssertShadowVariablesAreNotStaleAfterStep, isAssertStepScoreFromScratch, phaseEnded, phaseStarted, predictWorkingStepScore, removePhaseLifecycleListener, setSolver, solvingEnded, solvingStarted, stepEnded, stepStartedMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.optaplanner.core.impl.phase.PhaseaddPhaseLifecycleListener, removePhaseLifecycleListenerMethods inherited from interface org.optaplanner.core.impl.phase.event.PhaseLifecycleListenerphaseEnded, phaseStarted, stepEnded, stepStartedMethods inherited from interface org.optaplanner.core.impl.solver.event.SolverLifecycleListenersolvingEnded, solvingError, solvingStarted
- 
Field Details- 
solutionPartitioner
- 
threadFactory
- 
runnablePartThreadLimit
- 
phaseConfigList
- 
configPolicy
 
- 
- 
Method Details- 
getPhaseTypeString- Specified by:
- getPhaseTypeStringin class- AbstractPhase<Solution_>
 
- 
solve
- 
buildPartitionSolverpublic PartitionSolver<Solution_> buildPartitionSolver(ChildThreadPlumbingTermination<Solution_> childThreadPlumbingTermination, Semaphore runnablePartThreadSemaphore, SolverScope<Solution_> solverScope) 
- 
doStep
- 
phaseStarted- Specified by:
- phaseStartedin interface- PartitionedSearchPhaseLifecycleListener<Solution_>
 
- 
stepStarted- Specified by:
- stepStartedin interface- PartitionedSearchPhaseLifecycleListener<Solution_>
 
- 
stepEnded- Specified by:
- stepEndedin interface- PartitionedSearchPhaseLifecycleListener<Solution_>
 
- 
phaseEnded- Specified by:
- phaseEndedin interface- PartitionedSearchPhaseLifecycleListener<Solution_>
 
 
-