Changeset 13776 for branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Interfaces/IConstrainedTestFunction.cs
- Timestamp:
- 04/20/16 10:29:06 (8 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/HeuristicLab.Problems.MultiObjectiveTestFunctions/3.3/Interfaces/IConstrainedTestFunction.cs
r13773 r13776 20 20 #endregion 21 21 22 using System.Collections.Generic;23 22 using HeuristicLab.Core; 24 23 using HeuristicLab.Encodings.RealVectorEncoding; … … 28 27 /// An interface which represents an evaluation operator for multi objective test functions. 29 28 /// </summary> 30 public interface IMultiObjectiveTestFunction : INamedItem { 31 bool[] Maximization(int objectives); 32 double[,] Bounds(int objectives); 33 IEnumerable<double[]> OptimalParetoFront(int objectives); 34 double[] ReferencePoint(int objectives); 35 double BestKnownHypervolume(int objectives); 29 public interface IConstrainedTestFunction : INamedItem { 36 30 37 int MinimumSolutionLength { get; } 38 int MaximumSolutionLength { get; } 39 int MinimumObjectives { get; } 40 int MaximumObjectives { get; } 41 42 double[] Evaluate(RealVector point, int objectives); 31 /// <summary> 32 /// checks whether a given solution violates the contraints of this function 33 /// </summary> 34 /// <param name="point"></param> 35 /// <param name="objectives"></param> 36 /// <returns>a double array that holds the distances that describe how much every contraint is violated (0 is not violated) </returns> 37 double[] CheckConstraints(RealVector point, int objectives); 43 38 } 44 39 }
Note: See TracChangeset
for help on using the changeset viewer.