Class AbstractEntityPlacer<Solution_>
java.lang.Object
ai.timefold.solver.core.impl.constructionheuristic.placer.AbstractEntityPlacer<Solution_>
- All Implemented Interfaces:
EntityPlacer<Solution_>,PhaseLifecycleListener<Solution_>,SolverLifecycleListener<Solution_>,Iterable<Placement<Solution_>>,EventListener
- Direct Known Subclasses:
PooledEntityPlacer,QueuedEntityPlacer,QueuedValuePlacer
public abstract class AbstractEntityPlacer<Solution_>
extends Object
implements EntityPlacer<Solution_>
Abstract superclass for
EntityPlacer.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final HeuristicConfigPolicy<Solution_>protected final EntityPlacerFactory<Solution_>protected final org.slf4j.Loggerprotected PhaseLifecycleSupport<Solution_> -
Method Summary
Modifier and TypeMethodDescriptioncopy()voidphaseEnded(AbstractPhaseScope<Solution_> phaseScope) voidphaseStarted(AbstractPhaseScope<Solution_> phaseScope) voidsolvingEnded(SolverScope<Solution_> solverScope) voidsolvingStarted(SolverScope<Solution_> solverScope) voidstepEnded(AbstractStepScope<Solution_> stepScope) voidstepStarted(AbstractStepScope<Solution_> stepScope) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ai.timefold.solver.core.impl.constructionheuristic.placer.EntityPlacer
rebuildWithFilterMethods inherited from interface java.lang.Iterable
forEach, iterator, spliteratorMethods inherited from interface ai.timefold.solver.core.impl.solver.event.SolverLifecycleListener
solvingError
-
Field Details
-
logger
protected final transient org.slf4j.Logger logger -
factory
-
configPolicy
-
phaseLifecycleSupport
-
-
Method Details
-
copy
- Specified by:
copyin interfaceEntityPlacer<Solution_>
-
solvingStarted
- Specified by:
solvingStartedin interfaceSolverLifecycleListener<Solution_>
-
phaseStarted
- Specified by:
phaseStartedin interfacePhaseLifecycleListener<Solution_>
-
stepStarted
- Specified by:
stepStartedin interfacePhaseLifecycleListener<Solution_>
-
stepEnded
- Specified by:
stepEndedin interfacePhaseLifecycleListener<Solution_>
-
phaseEnded
- Specified by:
phaseEndedin interfacePhaseLifecycleListener<Solution_>
-
solvingEnded
- Specified by:
solvingEndedin interfaceSolverLifecycleListener<Solution_>
-