Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/14/11 18:49:46 (13 years ago)
Author:
cneumuel
Message:

#1215

  • some fixes
File:
1 edited

Legend:

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

    r6090 r6197  
    132132          int repetitionIndex = repetitionIndices[i].Value;
    133133
    134           IRun run = algorithms[i].Runs.Single();
     134          IRun run = (IRun)algorithms[i].Runs.Single().Clone();
    135135          MetaOptimizationUtil.ClearResults(run, resultNames);
    136136          MetaOptimizationUtil.ClearParameters(run, parameterNames);
     
    142142          executionTimes[problemIndex][repetitionIndex] = (((TimeSpanValue)run.Results["Execution Time"]).Value);
    143143          evaluatedSolutions[problemIndex][repetitionIndex] = (((IntValue)run.Results["EvaluatedSolutions"]).Value);
    144           runs.Add((IRun)run.Clone());
     144          runs.Add(run);
    145145        }
    146146
Note: See TracChangeset for help on using the changeset viewer.