Changeset 13894 for branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Calculators/HyperVolume.cs
- Timestamp:
- 06/15/16 09:04:09 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Calculators/HyperVolume.cs
r13776 r13894 57 57 double[][] set = front.ToArray(); //Still no Good 58 58 if (set.Length == 0) throw new ArgumentException("Fronts must not be empty"); 59 if (refp.Length != set .Length) throw new ArgumentException("Front and referencepoint need to be of the same dimensionality");59 if (refp.Length != set[0].Length) throw new ArgumentException("Front and referencepoint need to be of the same dimensionality"); 60 60 Array.Sort<double[]>(set, Utilities.getDimensionComparer(0, maximization[0])); 61 61 double[] last = set[set.Length - 1];
Note: See TracChangeset
for help on using the changeset viewer.