org.optaplanner.core.impl.constructionheuristic
Class DefaultConstructionHeuristicSolverPhase
java.lang.Object
org.optaplanner.core.impl.phase.AbstractSolverPhase
org.optaplanner.core.impl.constructionheuristic.DefaultConstructionHeuristicSolverPhase
- All Implemented Interfaces:
- EventListener, ConstructionHeuristicSolverPhase, SolverPhaseLifecycleListener, SolverPhase, SolverLifecycleListener
public class DefaultConstructionHeuristicSolverPhase
- extends AbstractSolverPhase
- implements ConstructionHeuristicSolverPhase
Default implementation of ConstructionHeuristicSolverPhase
.
Methods inherited from class org.optaplanner.core.impl.phase.AbstractSolverPhase |
addSolverPhaseLifecycleListener, getPhaseIndex, getTermination, phaseEnded, phaseStarted, removeSolverPhaseLifecycleListener, setBestSolutionRecaller, setPhaseIndex, setTermination, stepEnded, stepStarted |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entityPlacer
protected EntityPlacer entityPlacer
decider
protected ConstructionHeuristicDecider decider
assertStepScoreFromScratch
protected boolean assertStepScoreFromScratch
assertExpectedStepScore
protected boolean assertExpectedStepScore
DefaultConstructionHeuristicSolverPhase
public DefaultConstructionHeuristicSolverPhase()
setEntityPlacer
public void setEntityPlacer(EntityPlacer entityPlacer)
setDecider
public void setDecider(ConstructionHeuristicDecider decider)
setAssertStepScoreFromScratch
public void setAssertStepScoreFromScratch(boolean assertStepScoreFromScratch)
setAssertExpectedStepScore
public void setAssertExpectedStepScore(boolean assertExpectedStepScore)
solve
public void solve(DefaultSolverScope solverScope)
- Specified by:
solve
in interface SolverPhase
solvingStarted
public void solvingStarted(DefaultSolverScope solverScope)
- Specified by:
solvingStarted
in interface SolverLifecycleListener
- Overrides:
solvingStarted
in class AbstractSolverPhase
phaseStarted
public void phaseStarted(ConstructionHeuristicSolverPhaseScope phaseScope)
stepStarted
public void stepStarted(ConstructionHeuristicStepScope stepScope)
stepEnded
public void stepEnded(ConstructionHeuristicStepScope stepScope)
phaseEnded
public void phaseEnded(ConstructionHeuristicSolverPhaseScope phaseScope)
solvingEnded
public void solvingEnded(DefaultSolverScope solverScope)
- Specified by:
solvingEnded
in interface SolverLifecycleListener
- Overrides:
solvingEnded
in class AbstractSolverPhase
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.