org.drools.planner.core.constructionheuristic.placer.entity
Class QueuedEntityPlacer
java.lang.Object
org.drools.planner.core.constructionheuristic.placer.AbstractPlacer
org.drools.planner.core.constructionheuristic.placer.entity.QueuedEntityPlacer
- All Implemented Interfaces:
- EventListener, EntityPlacer, Placer, SolverPhaseLifecycleListener, SolverLifecycleListener
public class QueuedEntityPlacer
- extends AbstractPlacer
- implements EntityPlacer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entitySelector
protected final EntitySelector entitySelector
valuePlacer
protected final ValuePlacer valuePlacer
entityIterator
protected Iterator<Object> entityIterator
QueuedEntityPlacer
public QueuedEntityPlacer(EntitySelector entitySelector,
ValuePlacer valuePlacer)
phaseStarted
public void phaseStarted(AbstractSolverPhaseScope solverPhaseScope)
- Specified by:
phaseStarted
in interface SolverPhaseLifecycleListener
- Overrides:
phaseStarted
in class AbstractPlacer
hasPlacement
public boolean hasPlacement()
- Specified by:
hasPlacement
in interface EntityPlacer
doPlacement
public void doPlacement(ConstructionHeuristicStepScope stepScope)
- Specified by:
doPlacement
in interface EntityPlacer
phaseEnded
public void phaseEnded(AbstractSolverPhaseScope solverPhaseScope)
- Specified by:
phaseEnded
in interface SolverPhaseLifecycleListener
- Overrides:
phaseEnded
in class AbstractPlacer
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.