Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/26/20 12:58:45 (4 years ago)
Author:
dpiringe
Message:

#3026:

  • the runs of an optimizer gets cleared before starting it in HeuristicLab.JsonInterface.App.Runner now
  • all runs of an optimizer gets cleared when exporting it with ExportJsonDialog
  • fixed a bug in CommandLineArgumentHandling: now always returns a StringArgument when all conditions are false
Location:
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.App
Files:
2 edited

Legend:

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

    r17451 r17453  
    8989      <Name>HeuristicLab.Optimization-3.3</Name>
    9090    </ProjectReference>
     91    <ProjectReference Include="..\HeuristicLab.ParallelEngine\3.3\HeuristicLab.ParallelEngine-3.3.csproj">
     92      <Project>{00814351-4AB8-4088-9B99-F62787B89E93}</Project>
     93      <Name>HeuristicLab.ParallelEngine-3.3</Name>
     94    </ProjectReference>
    9195    <ProjectReference Include="..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj">
    9296      <Project>{94186a6a-5176-4402-ae83-886557b53cca}</Project>
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.App/Runner.cs

    r17451 r17453  
    77using System.Threading.Tasks;
    88using HeuristicLab.Optimization;
     9using HeuristicLab.ParallelEngine;
    910using HeuristicLab.SequentialEngine;
    1011using Newtonsoft.Json.Linq;
     
    1415    internal static void Run(string template, string config, string outputFile) {
    1516      IOptimizer optimizer = JsonTemplateInstantiator.Instantiate(template, config, out IEnumerable<string> allowedResultNames);
     17      optimizer.Runs.Clear();
    1618      if(optimizer is EngineAlgorithm e)
    17         e.Engine = new SequentialEngine.SequentialEngine();
     19        e.Engine = new ParallelEngine.ParallelEngine();
    1820     
    1921      Task task = optimizer.StartAsync();
Note: See TracChangeset for help on using the changeset viewer.