- Timestamp:
- 03/01/19 12:51:59 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2987_MOEAD_Algorithm/HeuristicLab.Algorithms.MOEAD/3.4/MOEADUtil.cs
r16630 r16649 175 175 public static void UpdateIdeal(this double[] idealPoint, double[] point) { 176 176 for (int i = 0; i < point.Length; ++i) { 177 if (double.IsInfinity(point[i]) || double.IsNaN(point[i])) { 178 continue; 179 } 180 177 181 if (idealPoint[i] > point[i]) { 178 182 idealPoint[i] = point[i]; … … 183 187 public static void UpdateNadir(this double[] nadirPoint, double[] point) { 184 188 for (int i = 0; i < point.Length; ++i) { 189 if (double.IsInfinity(point[i]) || double.IsNaN(point[i])) { 190 continue; 191 } 192 185 193 if (nadirPoint[i] < point[i]) { 186 194 nadirPoint[i] = point[i];
Note: See TracChangeset
for help on using the changeset viewer.