public class ConstructionHeuristicDecider extends AbstractEntityPlacer
Modifier and Type | Field and Description |
---|---|
protected boolean |
assertExpectedUndoMoveScore |
protected boolean |
assertMoveScoreFromScratch |
protected ConstructionHeuristicForager |
forager |
protected Termination |
termination |
logger, solverPhaseLifecycleSupport
Constructor and Description |
---|
ConstructionHeuristicDecider(Termination termination,
ConstructionHeuristicForager forager) |
Modifier and Type | Method and Description |
---|---|
void |
decideNextStep(ConstructionHeuristicStepScope stepScope,
Placement placement) |
void |
phaseEnded(ConstructionHeuristicSolverPhaseScope phaseScope) |
void |
phaseStarted(ConstructionHeuristicSolverPhaseScope phaseScope) |
void |
setAssertExpectedUndoMoveScore(boolean assertExpectedUndoMoveScore) |
void |
setAssertMoveScoreFromScratch(boolean assertMoveScoreFromScratch) |
void |
solvingEnded(DefaultSolverScope solverScope) |
void |
solvingStarted(DefaultSolverScope solverScope) |
void |
stepEnded(ConstructionHeuristicStepScope stepScope) |
void |
stepStarted(ConstructionHeuristicStepScope stepScope) |
phaseEnded, phaseStarted, stepEnded, stepStarted
protected final Termination termination
protected final ConstructionHeuristicForager forager
protected boolean assertMoveScoreFromScratch
protected boolean assertExpectedUndoMoveScore
public ConstructionHeuristicDecider(Termination termination, ConstructionHeuristicForager forager)
public void setAssertMoveScoreFromScratch(boolean assertMoveScoreFromScratch)
public void setAssertExpectedUndoMoveScore(boolean assertExpectedUndoMoveScore)
public void solvingStarted(DefaultSolverScope solverScope)
solvingStarted
in class AbstractEntityPlacer
public void phaseStarted(ConstructionHeuristicSolverPhaseScope phaseScope)
public void stepStarted(ConstructionHeuristicStepScope stepScope)
public void stepEnded(ConstructionHeuristicStepScope stepScope)
public void phaseEnded(ConstructionHeuristicSolverPhaseScope phaseScope)
public void solvingEnded(DefaultSolverScope solverScope)
solvingEnded
in class AbstractEntityPlacer
public void decideNextStep(ConstructionHeuristicStepScope stepScope, Placement placement)
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.