Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/03/12 00:46:04 (12 years ago)
Author:
ascheibe
Message:

#1783 improved handling of inner optimizers in batch runs

File:
1 edited

Legend:

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

    r8150 r8189  
    229229        if (clearRuns) runs.Clear();
    230230        Optimizer.Prepare(clearRuns);
     231        batchRunStarted = false;
     232        batchRunPaused = false;
     233        batchRunStopped = false;
    231234      } else {
    232235        ExecutionState = ExecutionState.Stopped;
     
    372375        Optimizer.Prepare();
    373376        Optimizer.Start();
     377      } else if (executionState == ExecutionState.Started) {
     378        // if the batch run hasn't been started but the inner optimizer was run then pause
     379        OnPaused();
    374380      } else OnStopped();
    375381    }
Note: See TracChangeset for help on using the changeset viewer.