Ignore:
Timestamp:
11/25/15 23:24:01 (4 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)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ProblemRefactoring/HeuristicLab.Problems.TestFunctions/3.3/Instances/SOTFDataDescriptor.cs

    r12012 r13403  
    2424namespace HeuristicLab.Problems.TestFunctions {
    2525  internal class SOTFDataDescriptor : IDataDescriptor {
    26     public string Name { get { return Evaluator.FunctionName + " Function"; } }
     26    public string Name { get { return TestFunction.ItemName + " Function"; } }
    2727
    2828    public string Description {
    29       get { return Evaluator.Description; }
     29      get { return TestFunction.Description; }
    3030    }
    3131
    32     internal ISingleObjectiveTestFunctionProblemEvaluator Evaluator { get; set; }
     32    internal ISingleObjectiveTestFunction TestFunction { get; set; }
    3333
    34     public SOTFDataDescriptor(ISingleObjectiveTestFunctionProblemEvaluator evaluator) {
    35       Evaluator = evaluator;
     34    public SOTFDataDescriptor(ISingleObjectiveTestFunction testFunction) {
     35      TestFunction = testFunction;
    3636    }
    3737  }
Note: See TracChangeset for help on using the changeset viewer.