Changeset 7448 for branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Analyzers
- Timestamp:
- 02/03/12 18:22:41 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GeneralizedQAP/HeuristicLab.Problems.GeneralizedQuadraticAssignment/3.3/Analyzers/GQAPSolutionArchiveUpdater.cs
r7438 r7448 31 31 for (int i = 0; i < front.Count - 1; i++) { 32 32 for (int j = i + 1; j < front.Count; j++) { 33 if (front[i].FlowDistanceQuality.Value < front[j].FlowDistanceQuality.Value34 && front[i].InstallationQuality.Value < front[j].InstallationQuality.Value) {33 if (front[i].FlowDistanceQuality.Value <= front[j].FlowDistanceQuality.Value 34 && front[i].InstallationQuality.Value <= front[j].InstallationQuality.Value) { 35 35 front.RemoveAt(j); 36 36 j--; 37 } else if (front[i].FlowDistanceQuality.Value > front[j].FlowDistanceQuality.Value38 && front[i].InstallationQuality.Value > front[j].InstallationQuality.Value) {37 } else if (front[i].FlowDistanceQuality.Value >= front[j].FlowDistanceQuality.Value 38 && front[i].InstallationQuality.Value >= front[j].InstallationQuality.Value) { 39 39 front.RemoveAt(i); 40 40 j = i;
Note: See TracChangeset
for help on using the changeset viewer.