- Timestamp:
- 12/03/12 13:48:23 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.RAPGA/3.3/DuplicatesSelector.cs
r8926 r8989 59 59 60 60 var marks = new bool[scopes.Count]; 61 for (int i = 0; i < scopes.Count; i++) { 62 for (int j = i + 1; j < scopes.Count; j++) { 63 if (SimilarityCalculator.Equals(scopes[i], scopes[j])) marks[j] = true; 64 } 65 } 61 for (int i = 0; i < scopes.Count; i++) 62 for (int j = i + 1; j < scopes.Count; j++) 63 marks[j] = SimilarityCalculator.Equals(scopes[i], scopes[j]); 64 66 65 67 66 var selected = new IScope[marks.Count(x => x)];
Note: See TracChangeset
for help on using the changeset viewer.