Changeset 9040 for branches/RuntimeOptimizer/HeuristicLab.Optimization/3.3/MetaOptimizers/TimeLimitRun.cs
- Timestamp:
- 12/12/12 14:53:54 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RuntimeOptimizer/HeuristicLab.Optimization/3.3/MetaOptimizers/TimeLimitRun.cs
r8977 r9040 38 38 /// A run in which an algorithm is executed for a certain maximum time only. 39 39 /// </summary> 40 [Item("TimeLimit Run", "A run in which an optimizer is executed a certain maximum time.")]40 [Item("TimeLimit Run", "A run in which an optimizer is executed a certain maximum time.")] 41 41 [Creatable("Testing & Analysis")] 42 42 [StorableClass] … … 359 359 var algRun = cloner.Clone(Algorithm.Runs.Last()); 360 360 var clonedSnapshots = cloner.Clone(snapshots); 361 try { 362 algRun.Results.Add("Snapshots", clonedSnapshots); 363 } catch (ArgumentException ex) { // Snapshots already exists 364 // TODO strategy? 365 } 361 algRun.Results.Add("TimeLimitRunSnapshots", clonedSnapshots); 366 362 Runs.Add(algRun); 367 363 Algorithm.Runs.Clear();
Note: See TracChangeset
for help on using the changeset viewer.