Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/06/10 03:37:29 (14 years ago)
Author:
swagner
Message:

Continued work on algorithm batch processing (#947).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Optimization/3.3/EngineAlgorithm.cs

    r3274 r3275  
    157157    }
    158158
    159     public override void Prepare(bool clearResults) {
    160       base.Prepare(clearResults);
    161 
    162       ResultCollection results = Results;
     159    public override void Prepare() {
     160      base.Prepare();
    163161      globalScope.Clear();
    164       if (clearResults)
    165         globalScope.Variables.Add(new Variable("Results", new ResultCollection()));
    166       else
    167         globalScope.Variables.Add(new Variable("Results", results));
     162      globalScope.Variables.Add(new Variable("Results", new ResultCollection()));
    168163
    169164      if (engine != null) {
Note: See TracChangeset for help on using the changeset viewer.