Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Constants.cs @ 17399

Last change on this file since 17399 was 17395, checked in by dpiringe, 5 years ago

#3026:

  • moved from usage of IAlgorithm to IOptimizer (in JCGenerator and JsonTemplateInstantiator)
  • added new converter: AlgorithmConverter
File size: 785 bytes
RevLine 
[17287]1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6
7namespace HeuristicLab.JsonInterface {
[17353]8  /// <summary>
9  /// Constants for reading/writing templates.
10  /// </summary>
[17287]11  internal class Constants {
12
[17330]13    internal const string Metadata = "Metadata";
[17395]14    internal const string Optimizer = "Optimizer";
[17330]15    internal const string Problem = "Problem";
[17379]16    internal const string HLFileLocation = "HLFileLocation";
17    internal const string Parameters = "Parameters";
[17287]18
[17330]19    internal const string Template = @"{
[17379]20      '" + Metadata + @"': {
[17395]21        '" + Optimizer + @"':'',
[17379]22        '" + Problem + @"':'',
23        '" + HLFileLocation + @"':''
[17287]24      },
[17379]25      '" + Parameters + @"': []
[17287]26    }";
27  }
28}
Note: See TracBrowser for help on using the repository browser.