Changeset 14090 for branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions
- Timestamp:
- 07/15/16 19:27:12 (8 years ago)
- Location:
- branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/IHR/IHR.cs
r14069 r14090 52 52 throw new ArgumentException("The dimensionality of the problem(ProblemSize) must be larger than or equal to the number of objectives"); 53 53 } 54 RealVector y = Y(r); 55 return new double[] { F1(y), F2(r, y) }; 54 return new double[] { F1(r), F2(r) }; 56 55 } 57 56 protected abstract double F1(RealVector y); 58 protected abstract double F2(RealVector r, RealVectory);57 protected abstract double F2(RealVector y); 59 58 protected abstract double G(RealVector y); 60 59 … … 70 69 return (x * x) / (Math.Abs(x) + 0.1); 71 70 } 72 protected RealVector Y(RealVector x) {73 return x;74 }75 71 } 76 72 } -
branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/IHR/IHR1.cs
r14068 r14090 58 58 } 59 59 60 protected override double F2(RealVector r, RealVectory) {60 protected override double F2(RealVector y) { 61 61 var g = G(y); 62 62 return g * HF(1 - Math.Sqrt(H(y[0], y) / g), y); -
branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/IHR/IHR2.cs
r14068 r14090 59 59 } 60 60 61 protected override double F2(RealVector r, RealVectory) {61 protected override double F2(RealVector y) { 62 62 var g = G(y); 63 63 var d = H(y[0], y) / g; -
branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/IHR/IHR3.cs
r14068 r14090 59 59 } 60 60 61 protected override double F2(RealVector r, RealVectory) {61 protected override double F2(RealVector y) { 62 62 var g = G(y); 63 63 var d = H(y[0], y) / g; -
branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/IHR/IHR4.cs
r14068 r14090 62 62 } 63 63 64 protected override double F2(RealVector r, RealVectory) {64 protected override double F2(RealVector y) { 65 65 var g = G(y); 66 66 var d = H(y[0], y) / g; -
branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/IHR/IHR6.cs
r14068 r14090 58 58 } 59 59 60 protected override double F2(RealVector r, RealVectory) {60 protected override double F2(RealVector y) { 61 61 var g = G(y); 62 62 var d = H(y[0], y) / g; -
branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/Misc/ELLI1.cs
r14068 r14090 68 68 public override double[] Evaluate(RealVector r, int objectives) { 69 69 if (objectives != 2) throw new ArgumentException("The ELLI problem must always have 2 objectives"); 70 double x = r[0];71 70 double a = 1000; 72 71 double sum = 0.0; -
branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Testfunctions/Misc/SchafferN2.cs
r14068 r14090 44 44 45 45 protected override IEnumerable<double[]> GetOptimalParetoFront(int objectives) { 46 throw new NotImplementedException();46 return null; 47 47 } 48 48
Note: See TracChangeset
for help on using the changeset viewer.