Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/22/11 18:36:20 (13 years ago)
Author:
cneumuel
Message:

#1215

  • adaptions for OSGA
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Evaluators/AlgorithmEvaluator.cs

    r6090 r6473  
    5555
    5656    public override IOperation Apply() {
     57      bool isValidScope = RepetitionIndexParameter.ActualValue != null; // this is a workaround for OSGA, where the PMOEvaluator is executed on scopes which happen to contain additional subscopes which collide with the subscopes created for the repetitions/problems in PMOEvaluator
     58      if (!isValidScope) return base.Apply();
     59
    5760      ItemDictionary<StringValue, RunCollection> solutionCache = ResultsParameter.ActualValue.ContainsKey("SolutionCache") ? (ItemDictionary<StringValue, RunCollection>)ResultsParameter.ActualValue["SolutionCache"].Value : null;
    5861      ParameterConfigurationTree parameterConfiguration = ParameterConfigurationParameter.ActualValue;
Note: See TracChangeset for help on using the changeset viewer.