Class AbstractEntityPlacer<Solution_>
- java.lang.Object
-
- org.optaplanner.core.impl.constructionheuristic.placer.AbstractEntityPlacer<Solution_>
-
- All Implemented Interfaces:
Iterable<Placement<Solution_>>
,EventListener
,EntityPlacer<Solution_>
,PhaseLifecycleListener<Solution_>
,SolverLifecycleListener<Solution_>
- Direct Known Subclasses:
PooledEntityPlacer
,QueuedEntityPlacer
,QueuedValuePlacer
public abstract class AbstractEntityPlacer<Solution_> extends Object implements EntityPlacer<Solution_>
Abstract superclass forEntityPlacer
.- See Also:
EntityPlacer
-
-
Field Summary
Fields Modifier and Type Field Description protected org.slf4j.Logger
logger
protected PhaseLifecycleSupport<Solution_>
phaseLifecycleSupport
-
Constructor Summary
Constructors Constructor Description AbstractEntityPlacer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
phaseEnded(AbstractPhaseScope<Solution_> phaseScope)
void
phaseStarted(AbstractPhaseScope<Solution_> phaseScope)
void
solvingEnded(SolverScope<Solution_> solverScope)
void
solvingStarted(SolverScope<Solution_> solverScope)
void
stepEnded(AbstractStepScope<Solution_> stepScope)
void
stepStarted(AbstractStepScope<Solution_> stepScope)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
-
-
-
Field Detail
-
logger
protected final transient org.slf4j.Logger logger
-
phaseLifecycleSupport
protected PhaseLifecycleSupport<Solution_> phaseLifecycleSupport
-
-
Method Detail
-
solvingStarted
public void solvingStarted(SolverScope<Solution_> solverScope)
- Specified by:
solvingStarted
in interfaceSolverLifecycleListener<Solution_>
-
phaseStarted
public void phaseStarted(AbstractPhaseScope<Solution_> phaseScope)
- Specified by:
phaseStarted
in interfacePhaseLifecycleListener<Solution_>
-
stepStarted
public void stepStarted(AbstractStepScope<Solution_> stepScope)
- Specified by:
stepStarted
in interfacePhaseLifecycleListener<Solution_>
-
stepEnded
public void stepEnded(AbstractStepScope<Solution_> stepScope)
- Specified by:
stepEnded
in interfacePhaseLifecycleListener<Solution_>
-
phaseEnded
public void phaseEnded(AbstractPhaseScope<Solution_> phaseScope)
- Specified by:
phaseEnded
in interfacePhaseLifecycleListener<Solution_>
-
solvingEnded
public void solvingEnded(SolverScope<Solution_> solverScope)
- Specified by:
solvingEnded
in interfaceSolverLifecycleListener<Solution_>
-
-