Solution_
- the solution type, the class with the PlanningSolution
annotationpublic class ConstructionHeuristicDecider<Solution_> extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
assertExpectedUndoMoveScore |
protected boolean |
assertMoveScoreFromScratch |
protected ConstructionHeuristicForager |
forager |
protected org.slf4j.Logger |
logger |
protected String |
logIndentation |
protected Termination |
termination |
Constructor and Description |
---|
ConstructionHeuristicDecider(String logIndentation,
Termination termination,
ConstructionHeuristicForager forager) |
Modifier and Type | Method and Description |
---|---|
void |
decideNextStep(ConstructionHeuristicStepScope<Solution_> stepScope,
Placement<Solution_> placement) |
protected void |
doMove(ConstructionHeuristicMoveScope<Solution_> moveScope) |
ConstructionHeuristicForager |
getForager() |
void |
phaseEnded(ConstructionHeuristicPhaseScope<Solution_> phaseScope) |
void |
phaseStarted(ConstructionHeuristicPhaseScope<Solution_> phaseScope) |
protected void |
pickMove(ConstructionHeuristicStepScope<Solution_> stepScope) |
void |
setAssertExpectedUndoMoveScore(boolean assertExpectedUndoMoveScore) |
void |
setAssertMoveScoreFromScratch(boolean assertMoveScoreFromScratch) |
void |
solvingEnded(DefaultSolverScope<Solution_> solverScope) |
void |
solvingStarted(DefaultSolverScope<Solution_> solverScope) |
void |
stepEnded(ConstructionHeuristicStepScope<Solution_> stepScope) |
void |
stepStarted(ConstructionHeuristicStepScope<Solution_> stepScope) |
protected final transient org.slf4j.Logger logger
protected final String logIndentation
protected final Termination termination
protected final ConstructionHeuristicForager forager
protected boolean assertMoveScoreFromScratch
protected boolean assertExpectedUndoMoveScore
public ConstructionHeuristicDecider(String logIndentation, Termination termination, ConstructionHeuristicForager forager)
public ConstructionHeuristicForager getForager()
public void setAssertMoveScoreFromScratch(boolean assertMoveScoreFromScratch)
public void setAssertExpectedUndoMoveScore(boolean assertExpectedUndoMoveScore)
public void solvingStarted(DefaultSolverScope<Solution_> solverScope)
public void phaseStarted(ConstructionHeuristicPhaseScope<Solution_> phaseScope)
public void stepStarted(ConstructionHeuristicStepScope<Solution_> stepScope)
public void stepEnded(ConstructionHeuristicStepScope<Solution_> stepScope)
public void phaseEnded(ConstructionHeuristicPhaseScope<Solution_> phaseScope)
public void solvingEnded(DefaultSolverScope<Solution_> solverScope)
public void decideNextStep(ConstructionHeuristicStepScope<Solution_> stepScope, Placement<Solution_> placement)
protected void pickMove(ConstructionHeuristicStepScope<Solution_> stepScope)
protected void doMove(ConstructionHeuristicMoveScope<Solution_> moveScope)
Copyright © 2006–2019 JBoss by Red Hat. All rights reserved.