Free cookie consent management tool by TermsFeed Policy Generator

Changeset 3860 for trunk/sources


Ignore:
Timestamp:
05/26/10 15:19:58 (15 years ago)
Author:
abeham
Message:

#866

  • forgot to commit
Location:
trunk/sources/HeuristicLab.Problems.ExternalEvaluation/3.3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.ExternalEvaluation/3.3/ExternalEvaluationProblem.cs

    r3859 r3860  
    6969    #endregion
    7070
     71    #region Properties
     72    public BoolValue Maximization {
     73      get { return MaximizationParameter.Value; }
     74      set { MaximizationParameter.Value = value; }
     75    }
     76    public IOperator SolutionCreator {
     77      get { return SolutionCreatorParameter.Value; }
     78      set { SolutionCreatorParameter.Value = value; }
     79    }
     80    ISolutionCreator IProblem.SolutionCreator {
     81      get { return SolutionCreatorParameter.Value; }
     82    }
     83    public ISingleObjectiveTestFunctionProblemEvaluator Evaluator {
     84      get { return EvaluatorParameter.Value; }
     85      set { EvaluatorParameter.Value = value; }
     86    }
     87    ISingleObjectiveEvaluator ISingleObjectiveProblem.Evaluator {
     88      get { return EvaluatorParameter.Value; }
     89    }
     90    IEvaluator IProblem.Evaluator {
     91      get { return EvaluatorParameter.Value; }
     92    }
     93    public DoubleValue BestKnownQuality {
     94      get { return BestKnownQualityParameter.Value; }
     95      set { BestKnownQualityParameter.Value = value; }
     96    }
     97    private List<IOperator> operators;
     98    public IEnumerable<IOperator> Operators {
     99      get { return operators; }
     100    }
     101    private BestSingleObjectiveTestFunctionSolutionAnalyzer BestSingleObjectiveTestFunctionSolutionAnalyzer {
     102      get { return operators.OfType<BestSingleObjectiveTestFunctionSolutionAnalyzer>().FirstOrDefault(); }
     103    }
     104    #endregion
     105
    71106    public ExternalEvaluationProblem()
    72107      : base() {
  • trunk/sources/HeuristicLab.Problems.ExternalEvaluation/3.3/HeuristicLab.Problems.ExternalEvaluation-3.3.csproj

    r3859 r3860  
    8383    <Compile Include="Drivers\ExternalEvaluationStreamDriver.cs" />
    8484    <Compile Include="ExternalEvaluationProblem.cs" />
     85    <Compile Include="ExternalEvaluationSolutionCreator.cs" />
    8586    <Compile Include="ExternalEvaluator.cs" />
    8687    <Compile Include="HeuristicLabProblemsExternalEvaluationPlugin.cs" />
Note: See TracChangeset for help on using the changeset viewer.