Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/22/10 00:11:15 (14 years ago)
Author:
abeham
Message:

#1040

  • Fixed some bugs in NSGA-II
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.NSGA2/3.3/CrowdedComparisonSorter.cs

    r4040 r4067  
    5858      int[] indices = Enumerable.Range(0, size).ToArray();
    5959
    60       Array.Sort(indices, new CustomComparer(ranks, distances));
    6160      IScope[] scopes = ExecutionContext.Scope.SubScopes.ToArray();
    62       Array.Sort(indices, scopes);
     61      Array.Sort(indices, scopes, new CustomComparer(ranks, distances));
    6362      ExecutionContext.Scope.SubScopes.Clear();
    6463      ExecutionContext.Scope.SubScopes.AddRange(scopes);
Note: See TracChangeset for help on using the changeset viewer.