From 420bc471e519a01b578904de16325515f2b700df Mon Sep 17 00:00:00 2001 From: Boris Kocian Date: Wed, 10 Jul 2019 15:14:46 +0200 Subject: [PATCH] Bug removed --- .../core/config/localsearch/LocalSearchPhaseConfig.java | 1 + 1 file changed, 1 insertion(+) diff --git a/optaplanner-core/src/main/java/org/optaplanner/core/config/localsearch/LocalSearchPhaseConfig.java b/optaplanner-core/src/main/java/org/optaplanner/core/config/localsearch/LocalSearchPhaseConfig.java index 815aa9b78f..9f2dc9915c 100644 --- a/optaplanner-core/src/main/java/org/optaplanner/core/config/localsearch/LocalSearchPhaseConfig.java +++ b/optaplanner-core/src/main/java/org/optaplanner/core/config/localsearch/LocalSearchPhaseConfig.java @@ -264,6 +264,7 @@ protected LocalSearchForager buildForager(HeuristicConfigPolicy configPolicy) { case GREAT_DELUGE: // Fast stepping algorithm foragerConfig_.setAcceptedCountLimit(1); + break; case VARIABLE_NEIGHBORHOOD_DESCENT: foragerConfig_.setPickEarlyType(LocalSearchPickEarlyType.FIRST_LAST_STEP_SCORE_IMPROVING); break;