public class ConstructionHeuristicDecider extends AbstractEntityPlacer
Modifier and Type | Field and Description |
---|---|
protected boolean |
assertExpectedUndoMoveScore |
protected boolean |
assertMoveScoreFromScratch |
protected ConstructionHeuristicForager |
forager |
protected Termination |
termination |
logger, phaseLifecycleSupport
Constructor and Description |
---|
ConstructionHeuristicDecider(Termination termination,
ConstructionHeuristicForager forager) |
Modifier and Type | Method and Description |
---|---|
void |
decideNextStep(ConstructionHeuristicStepScope stepScope,
Placement placement) |
ConstructionHeuristicForager |
getForager() |
void |
phaseEnded(ConstructionHeuristicPhaseScope phaseScope) |
void |
phaseStarted(ConstructionHeuristicPhaseScope 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 ConstructionHeuristicForager getForager()
public void setAssertMoveScoreFromScratch(boolean assertMoveScoreFromScratch)
public void setAssertExpectedUndoMoveScore(boolean assertExpectedUndoMoveScore)
public void solvingStarted(DefaultSolverScope solverScope)
solvingStarted
in class AbstractEntityPlacer
public void phaseStarted(ConstructionHeuristicPhaseScope phaseScope)
public void stepStarted(ConstructionHeuristicStepScope stepScope)
public void stepEnded(ConstructionHeuristicStepScope stepScope)
public void phaseEnded(ConstructionHeuristicPhaseScope phaseScope)
public void solvingEnded(DefaultSolverScope solverScope)
solvingEnded
in class AbstractEntityPlacer
public void decideNextStep(ConstructionHeuristicStepScope stepScope, Placement placement)
Copyright © 2006–2016 JBoss by Red Hat. All rights reserved.