Class MoveStreamsBasedMoveRepository<Solution_>
java.lang.Object
ai.timefold.solver.core.impl.move.MoveStreamsBasedMoveRepository<Solution_>
- All Implemented Interfaces:
MoveRepository<Solution_>,PhaseLifecycleListener<Solution_>,SolverLifecycleListener<Solution_>,Iterable<Move<Solution_>>,EventListener
@NullMarked
public final class MoveStreamsBasedMoveRepository<Solution_>
extends Object
implements MoveRepository<Solution_>
-
Constructor Summary
ConstructorsConstructorDescriptionMoveStreamsBasedMoveRepository(DefaultMoveStreamFactory<Solution_> moveStreamFactory, MoveProducer<Solution_> moveProducer, boolean random) -
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(Solution_ workingSolution, SupplyManager supplyManager) voidbooleaniterator()voidphaseEnded(AbstractPhaseScope<Solution_> phaseScope) voidphaseStarted(AbstractPhaseScope<Solution_> phaseScope) voidvoidsolvingEnded(SolverScope<Solution_> solverScope) voidsolvingStarted(SolverScope<Solution_> solverScope) voidstepEnded(AbstractStepScope<Solution_> stepScope) voidstepStarted(AbstractStepScope<Solution_> stepScope) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface ai.timefold.solver.core.impl.solver.event.SolverLifecycleListener
solvingError
-
Constructor Details
-
MoveStreamsBasedMoveRepository
public MoveStreamsBasedMoveRepository(DefaultMoveStreamFactory<Solution_> moveStreamFactory, MoveProducer<Solution_> moveProducer, boolean random)
-
-
Method Details
-
isNeverEnding
public boolean isNeverEnding()- Specified by:
isNeverEndingin interfaceMoveRepository<Solution_>
-
initialize
- Specified by:
initializein interfaceMoveRepository<Solution_>
-
insert
-
update
-
retract
-
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_>
-
iterator
-