- Timestamp:
- 02/26/20 12:58:45 (5 years ago)
- 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 89 89 <Name>HeuristicLab.Optimization-3.3</Name> 90 90 </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> 91 95 <ProjectReference Include="..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj"> 92 96 <Project>{94186a6a-5176-4402-ae83-886557b53cca}</Project> -
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.App/Runner.cs
r17451 r17453 7 7 using System.Threading.Tasks; 8 8 using HeuristicLab.Optimization; 9 using HeuristicLab.ParallelEngine; 9 10 using HeuristicLab.SequentialEngine; 10 11 using Newtonsoft.Json.Linq; … … 14 15 internal static void Run(string template, string config, string outputFile) { 15 16 IOptimizer optimizer = JsonTemplateInstantiator.Instantiate(template, config, out IEnumerable<string> allowedResultNames); 17 optimizer.Runs.Clear(); 16 18 if(optimizer is EngineAlgorithm e) 17 e.Engine = new SequentialEngine.SequentialEngine();19 e.Engine = new ParallelEngine.ParallelEngine(); 18 20 19 21 Task task = optimizer.StartAsync();
Note: See TracChangeset
for help on using the changeset viewer.