File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
core/src/main/java/ai/timefold/solver/core/impl/localsearch/decider/acceptor Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1818import ai .timefold .solver .core .impl .localsearch .decider .acceptor .restart .NoOpRestartStrategy ;
1919import ai .timefold .solver .core .impl .localsearch .decider .acceptor .restart .RestartStrategy ;
2020import ai .timefold .solver .core .impl .localsearch .decider .acceptor .restart .UnimprovedMoveCountRestartStrategy ;
21+ import ai .timefold .solver .core .impl .localsearch .decider .acceptor .restart .UnimprovedTimeRestartStrategy ;
2122import ai .timefold .solver .core .impl .localsearch .decider .acceptor .simulatedannealing .SimulatedAnnealingAcceptor ;
2223import ai .timefold .solver .core .impl .localsearch .decider .acceptor .stepcountinghillclimbing .StepCountingHillClimbingAcceptor ;
2324import ai .timefold .solver .core .impl .localsearch .decider .acceptor .tabu .EntityTabuAcceptor ;
@@ -250,8 +251,8 @@ private RestartStrategy<Solution_> buildRestartStrategy() {
250251 var enableReconfiguration = acceptorConfig .getReconfigurationRestartType () != null ;
251252 if (enableReconfiguration ) {
252253 return switch (acceptorConfig .getReconfigurationRestartType ()) {
253- case UNIMPROVED_TIME -> new UnimprovedMoveCountRestartStrategy <>();
254254 case UNIMPROVED_MOVE_COUNT -> new UnimprovedMoveCountRestartStrategy <>();
255+ case UNIMPROVED_TIME -> new UnimprovedTimeRestartStrategy <>();
255256 };
256257 }
257258 return restartStrategy ;
You can’t perform that action at this time.
0 commit comments