Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/12/12 14:53:54 (12 years ago)
Author:
abeham
Message:

#1985:

  • Added camera icon
  • Rewrote time matching to use regular expressions
  • Changed item name of TimeLimitRun
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/RuntimeOptimizer/HeuristicLab.Optimization/3.3/MetaOptimizers/TimeLimitRun.cs

    r8977 r9040  
    3838  /// A run in which an algorithm is executed for a certain maximum time only.
    3939  /// </summary>
    40   [Item("TimeLimitRun", "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.")]
    4141  [Creatable("Testing & Analysis")]
    4242  [StorableClass]
     
    359359      var algRun = cloner.Clone(Algorithm.Runs.Last());
    360360      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);
    366362      Runs.Add(algRun);
    367363      Algorithm.Runs.Clear();
Note: See TracChangeset for help on using the changeset viewer.