Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/17/20 15:13:17 (4 years ago)
Author:
dpiringe
Message:

#3026:

  • fixed a bug in HeuristicLab.JsonInterface.App -> now the Runner checks if the instantiated optimizer is an EngineAlgorithm, if true: Engine = SequentialEngine (engine can be configured in later versions)
  • added a TabControl in ExportJsonDialog for parameters and results
  • updated parameter tree view with checkboxes (and linked them with VM)
  • renamed ActivatedResults to Results for templates
  • fixed a bug with injection of operators in MultiCheckedOperatorConverter -> now operators of an ValueParameter get set correctly
  • updated MultiCheckedOperatorConverter to extract/inject parameters of operators
  • fixed bug with path for template -> removed usage of method Path.GetDirectoryName, returned wrong results
  • splitted cache for JsonItemConverter into a cache for injection and extraction
  • JsonTemplateInstantiator now uses first item in objects array instead of searching for an object with template name
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.App/Runner.cs

    r17395 r17439  
    77using System.Threading.Tasks;
    88using HeuristicLab.Optimization;
     9using HeuristicLab.SequentialEngine;
    910
    1011namespace HeuristicLab.JsonInterface.App {
     
    1213    internal static void Run(string template, string config, string outputFile = @"C:\Workspace\test.txt") {
    1314      IOptimizer optimizer = JsonTemplateInstantiator.Instantiate(template, config);
    14  
     15      if(optimizer is EngineAlgorithm e)
     16        e.Engine = new SequentialEngine.SequentialEngine();
     17     
    1518      Task task = optimizer.StartAsync();
    1619      while(!task.IsCompleted) {
Note: See TracChangeset for help on using the changeset viewer.