Changeset 13776 for branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Calculators/HyperVolume.cs
- Timestamp:
- 04/20/16 10:29:06 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Calculators/HyperVolume.cs
r13725 r13776 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 60 Array.Sort<double[]>(set, Utilities.getDimensionComparer(0, maximization[0])); 60 61 double[] last = set[set.Length - 1];
Note: See TracChangeset
for help on using the changeset viewer.