Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/17/15 09:25:44 (9 years ago)
Author:
abeham
Message:

#2431:

  • Added run collection view
  • Changed name of analyzers
  • Modified algorithms to include Execution Time as a result
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PerformanceComparison/HeuristicLab.Optimization/3.3/Algorithms/EngineAlgorithm.cs

    r12012 r12771  
    2222using System;
    2323using System.Linq;
     24using System.Reflection;
    2425using HeuristicLab.Common;
    2526using HeuristicLab.Core;
     27using HeuristicLab.Data;
    2628using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2729using HeuristicLab.PluginInfrastructure;
     
    7173    }
    7274
     75    protected override void OnExecutionTimeChanged() {
     76      base.OnExecutionTimeChanged();
     77      IResult result;
     78      if (!Results.TryGetValue("Execution Time", out result))
     79        Results.Add(new Result("Execution Time", new TimeSpanValue(ExecutionTime)));
     80      else ((TimeSpanValue)result.Value).Value = ExecutionTime;
     81    }
     82
    7383    public override ResultCollection Results {
    7484      get {
Note: See TracChangeset for help on using the changeset viewer.