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
Location:
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.App
Files:
2 edited

Legend:

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

    r17324 r17439  
    8383      <Name>HeuristicLab.Problems.Instances-3.3</Name>
    8484    </ProjectReference>
     85    <ProjectReference Include="..\HeuristicLab.SequentialEngine\3.3\HeuristicLab.SequentialEngine-3.3.csproj">
     86      <Project>{DC3D7072-7999-4719-B65D-3997744D5DC1}</Project>
     87      <Name>HeuristicLab.SequentialEngine-3.3</Name>
     88    </ProjectReference>
    8589  </ItemGroup>
    8690  <ItemGroup />
  • 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.