Changeset 17578
- Timestamp:
- 05/29/20 15:26:33 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveImprover.cs
r17577 r17578 101 101 var count = 0; 102 102 for (var i = 0; i < maxAttempts; i++) { 103 ISingleObjectiveSolutionContext<TEncodedSolution> best = default;103 ISingleObjectiveSolutionContext<TEncodedSolution> best = null; 104 104 var bestQuality = quality; 105 105 foreach (var neighbor in GetNeighbors(solutionContext, random).Take(sampleSize)) {
Note: See TracChangeset
for help on using the changeset viewer.