OptaPlanner core 6.0.0.CR2

org.optaplanner.core.impl.constructionheuristic.decider
Class ConstructionHeuristicDecider

java.lang.Object
  extended by org.optaplanner.core.impl.constructionheuristic.placer.AbstractEntityPlacer
      extended by org.optaplanner.core.impl.constructionheuristic.decider.ConstructionHeuristicDecider

public class ConstructionHeuristicDecider
extends AbstractEntityPlacer


Field Summary
protected  boolean assertExpectedUndoMoveScore
           
protected  boolean assertMoveScoreFromScratch
           
protected  ConstructionHeuristicForager forager
           
protected  Termination termination
           
 
Fields inherited from class org.optaplanner.core.impl.constructionheuristic.placer.AbstractEntityPlacer
logger, solverPhaseLifecycleSupport
 
Constructor Summary
ConstructionHeuristicDecider(Termination termination, ConstructionHeuristicForager forager)
           
 
Method Summary
 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)
           
 
Methods inherited from class org.optaplanner.core.impl.constructionheuristic.placer.AbstractEntityPlacer
phaseEnded, phaseStarted, stepEnded, stepStarted
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

termination

protected final Termination termination

forager

protected final ConstructionHeuristicForager forager

assertMoveScoreFromScratch

protected boolean assertMoveScoreFromScratch

assertExpectedUndoMoveScore

protected boolean assertExpectedUndoMoveScore
Constructor Detail

ConstructionHeuristicDecider

public ConstructionHeuristicDecider(Termination termination,
                                    ConstructionHeuristicForager forager)
Method Detail

setAssertMoveScoreFromScratch

public void setAssertMoveScoreFromScratch(boolean assertMoveScoreFromScratch)

setAssertExpectedUndoMoveScore

public void setAssertExpectedUndoMoveScore(boolean assertExpectedUndoMoveScore)

solvingStarted

public void solvingStarted(DefaultSolverScope solverScope)
Overrides:
solvingStarted in class AbstractEntityPlacer

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)
Overrides:
solvingEnded in class AbstractEntityPlacer

decideNextStep

public void decideNextStep(ConstructionHeuristicStepScope stepScope,
                           Placement placement)

OptaPlanner core 6.0.0.CR2

Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.