Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/01/11 14:33:18 (14 years ago)
Author:
mkommend
Message:

#1418: Added IHeuristicOptimizationProblem and adapted all according classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionProblem.cs

    r5445 r5578  
    3737  [StorableClass]
    3838  [Creatable("Problems")]
    39   public sealed class SingleObjectiveTestFunctionProblem : ParameterizedNamedItem, ISingleObjectiveProblem, IStorableContent {
     39  public sealed class SingleObjectiveTestFunctionProblem : ParameterizedNamedItem, ISingleObjectiveHeuristicOptimizationProblem, IStorableContent {
    4040    public string Filename { get; set; }
    4141
     
    5555      get { return (ValueParameter<BoolValue>)Parameters["Maximization"]; }
    5656    }
    57     IParameter ISingleObjectiveProblem.MaximizationParameter {
     57    IParameter ISingleObjectiveHeuristicOptimizationProblem.MaximizationParameter {
    5858      get { return MaximizationParameter; }
    5959    }
     
    6767      get { return (ValueParameter<IRealVectorCreator>)Parameters["SolutionCreator"]; }
    6868    }
    69     IParameter IProblem.SolutionCreatorParameter {
     69    IParameter IHeuristicOptimizationProblem.SolutionCreatorParameter {
    7070      get { return SolutionCreatorParameter; }
    7171    }
     
    7373      get { return (ValueParameter<ISingleObjectiveTestFunctionProblemEvaluator>)Parameters["Evaluator"]; }
    7474    }
    75     IParameter IProblem.EvaluatorParameter {
     75    IParameter IHeuristicOptimizationProblem.EvaluatorParameter {
    7676      get { return EvaluatorParameter; }
    7777    }
     
    7979      get { return (OptionalValueParameter<DoubleValue>)Parameters["BestKnownQuality"]; }
    8080    }
    81     IParameter ISingleObjectiveProblem.BestKnownQualityParameter {
     81    IParameter ISingleObjectiveHeuristicOptimizationProblem.BestKnownQualityParameter {
    8282      get { return BestKnownQualityParameter; }
    8383    }
     
    104104      set { SolutionCreatorParameter.Value = value; }
    105105    }
    106     ISolutionCreator IProblem.SolutionCreator {
     106    ISolutionCreator IHeuristicOptimizationProblem.SolutionCreator {
    107107      get { return SolutionCreatorParameter.Value; }
    108108    }
     
    111111      set { EvaluatorParameter.Value = value; }
    112112    }
    113     ISingleObjectiveEvaluator ISingleObjectiveProblem.Evaluator {
     113    ISingleObjectiveEvaluator ISingleObjectiveHeuristicOptimizationProblem.Evaluator {
    114114      get { return EvaluatorParameter.Value; }
    115115    }
    116     IEvaluator IProblem.Evaluator {
     116    IEvaluator IHeuristicOptimizationProblem.Evaluator {
    117117      get { return EvaluatorParameter.Value; }
    118118    }
Note: See TracChangeset for help on using the changeset viewer.