- Timestamp:
- 04/06/10 03:37:29 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization/3.3/EngineAlgorithm.cs
r3274 r3275 157 157 } 158 158 159 public override void Prepare(bool clearResults) { 160 base.Prepare(clearResults); 161 162 ResultCollection results = Results; 159 public override void Prepare() { 160 base.Prepare(); 163 161 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())); 168 163 169 164 if (engine != null) {
Note: See TracChangeset
for help on using the changeset viewer.