org.drools.planner.core.constructionheuristic.placer.value
Class ValuePlacer

java.lang.Object
  extended by org.drools.planner.core.constructionheuristic.placer.AbstractPlacer
      extended by org.drools.planner.core.constructionheuristic.placer.value.ValuePlacer
All Implemented Interfaces:
EventListener, Placer, SolverPhaseLifecycleListener, SolverLifecycleListener

public class ValuePlacer
extends AbstractPlacer


Field Summary
protected  boolean assertMoveScoreIsUncorrupted
           
protected  boolean assertUndoMoveIsUncorrupted
           
protected  int selectedCountLimit
           
protected  Termination termination
           
protected  ValueSelector valueSelector
           
protected  PlanningVariableDescriptor variableDescriptor
           
 
Fields inherited from class org.drools.planner.core.constructionheuristic.placer.AbstractPlacer
logger, solverPhaseLifecycleSupport, workingRandom
 
Constructor Summary
ValuePlacer(Termination termination, ValueSelector valueSelector, int selectedCountLimit)
           
 
Method Summary
 void doPlacement(ConstructionHeuristicStepScope stepScope)
           
 void setAssertMoveScoreIsUncorrupted(boolean assertMoveScoreIsUncorrupted)
           
 void setAssertUndoMoveIsUncorrupted(boolean assertUndoMoveIsUncorrupted)
           
 
Methods inherited from class org.drools.planner.core.constructionheuristic.placer.AbstractPlacer
phaseEnded, phaseStarted, solvingEnded, solvingStarted, 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

valueSelector

protected final ValueSelector valueSelector

variableDescriptor

protected final PlanningVariableDescriptor variableDescriptor

selectedCountLimit

protected final int selectedCountLimit

assertMoveScoreIsUncorrupted

protected boolean assertMoveScoreIsUncorrupted

assertUndoMoveIsUncorrupted

protected boolean assertUndoMoveIsUncorrupted
Constructor Detail

ValuePlacer

public ValuePlacer(Termination termination,
                   ValueSelector valueSelector,
                   int selectedCountLimit)
Method Detail

setAssertMoveScoreIsUncorrupted

public void setAssertMoveScoreIsUncorrupted(boolean assertMoveScoreIsUncorrupted)

setAssertUndoMoveIsUncorrupted

public void setAssertUndoMoveIsUncorrupted(boolean assertUndoMoveIsUncorrupted)

doPlacement

public void doPlacement(ConstructionHeuristicStepScope stepScope)


Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.