Skip to content

Commit

Permalink
fix: minor adjustments regarding initialized solution
Browse files Browse the repository at this point in the history
  • Loading branch information
zepfred committed Jun 24, 2024
1 parent 5f26fa6 commit f06ef85
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ null, null, null, null, new Random(0), scoreDirectorFactory.getInitializingScore
bestSolutionRecaller.setSolverEventSupport(new SolverEventSupport<>(null));
var termination = TerminationFactory.<Solution_> create(new TerminationConfig())
.buildTermination(policy, new BasicPlumbingTermination<>(false));
var constructionHeuristicPhase = (DefaultConstructionHeuristicPhase<Solution_>) factory.buildPhase(0, policy,
bestSolutionRecaller, termination);
var constructionHeuristicPhase = (DefaultConstructionHeuristicPhase<Solution_>) factory.buildPhase(0, false,
policy, bestSolutionRecaller, termination);

// Create solver; more or less a mock.
var solverScope = new SolverScope<Solution_>();
Expand Down

0 comments on commit f06ef85

Please sign in to comment.