Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/25/15 23:24:01 (8 years ago)
Author:
abeham
Message:

#2521:

  • Adapted single-objective test function problem to new problem infrastructure
  • Added additional interfaces to RealVectorEncoding
  • Fixed IParticleUpdater interface (must implement IStochasticOperator if it contains a Random parameter)
Location:
branches/ProblemRefactoring/HeuristicLab.Problems.TestFunctions/3.3/Functions
Files:
1 copied
1 moved

Legend:

Unmodified
Added
Removed
  • branches/ProblemRefactoring/HeuristicLab.Problems.TestFunctions/3.3/Functions/Beale.cs

    r13393 r13403  
    3232  /// It is implemented as described in Moré, J.J., Garbow, B., and Hillstrom, K. 1981. Testing unconstrained optimization software. ACM Transactions on Mathematical Software 7, pp. 136-140, ACM.
    3333  /// </summary>
    34   [Item("BealeEvaluator", "Evaluates the Beale function on a given point. The optimum of this function is 0 at (3,0.5). It is implemented as described in Moré, J.J., Garbow, B., and Hillstrom, K. 1981. Testing unconstrained optimization software. ACM Transactions on Mathematical Software 7, pp. 136-140, ACM.")]
     34  [Item("Beale", "Evaluates the Beale function on a given point. The optimum of this function is 0 at (3,0.5). It is implemented as described in Moré, J.J., Garbow, B., and Hillstrom, K. 1981. Testing unconstrained optimization software. ACM Transactions on Mathematical Software 7, pp. 136-140, ACM.")]
    3535  [StorableClass]
    36   public class BealeEvaluator : SingleObjectiveTestFunctionProblemEvaluator {
    37     public override string FunctionName { get { return "Beale"; } }
     36  public class Beale : SingleObjectiveTestFunction {
    3837    /// <summary>
    3938    /// Returns false as the Beale function is a minimization problem.
     
    6867
    6968    [StorableConstructor]
    70     protected BealeEvaluator(bool deserializing) : base(deserializing) { }
    71     protected BealeEvaluator(BealeEvaluator original, Cloner cloner) : base(original, cloner) { }
    72     public BealeEvaluator() : base() { }
     69    protected Beale(bool deserializing) : base(deserializing) { }
     70    protected Beale(Beale original, Cloner cloner) : base(original, cloner) { }
     71    public Beale() : base() { }
    7372
    7473    public override IDeepCloneable Clone(Cloner cloner) {
    75       return new BealeEvaluator(this, cloner);
     74      return new Beale(this, cloner);
    7675    }
    7776
Note: See TracChangeset for help on using the changeset viewer.