org.optaplanner.core.impl.constructionheuristic.placer.entity
Class QueuedEntityPlacer
java.lang.Object
org.optaplanner.core.impl.constructionheuristic.placer.AbstractPlacer
org.optaplanner.core.impl.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
valuePlacerList
protected final List<ValuePlacer> valuePlacerList
entityIterator
protected Iterator<Object> entityIterator
nominatedEntity
protected Object nominatedEntity
valuePlacerIterator
protected Iterator<ValuePlacer> valuePlacerIterator
QueuedEntityPlacer
public QueuedEntityPlacer(EntitySelector entitySelector,
List<ValuePlacer> valuePlacerList)
phaseStarted
public void phaseStarted(AbstractSolverPhaseScope solverPhaseScope)
- Specified by:
phaseStarted
in interface SolverPhaseLifecycleListener
- Overrides:
phaseStarted
in class AbstractPlacer
nominateMove
public ConstructionHeuristicMoveScope nominateMove(ConstructionHeuristicStepScope stepScope)
- Specified by:
nominateMove
in interface EntityPlacer
- Parameters:
stepScope
- never null
- Returns:
- null if no more move can be nominated
phaseEnded
public void phaseEnded(AbstractSolverPhaseScope solverPhaseScope)
- Specified by:
phaseEnded
in interface SolverPhaseLifecycleListener
- Overrides:
phaseEnded
in class AbstractPlacer
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.