Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 18056 was 18056, checked in by dpiringe, 3 years ago

#3026

  • fixed a wrong description for the invert parameter in RunCollectionValueRemover
  • fixed the usage of a wrong formatter in RunCollectionSRSolutionGraphVizFormatter
  • fixed a bug in ListJsonItem where an empty guid field can cause an exception
  • started to rework the RegressionProblemDataConverter -> it causes a bug with the symbol Variable of the TypeCorherentGrammar (maybe more grammars)
    • the reasons for the rework: this converter was already the source of some problems in the past; it uses a lot of reflection and dynamic objects -> it is very complicated to read/understand
  • added an official description property Description in the metadata part of a template + entry in Constants.cs
File size: 913 bytes
RevLine 
[17519]1namespace HeuristicLab.JsonInterface {
[17353]2  /// <summary>
3  /// Constants for reading/writing templates.
4  /// </summary>
[17287]5  internal class Constants {
6
[17330]7    internal const string Metadata = "Metadata";
[17435]8    internal const string TemplateName = "TemplateName";
[17379]9    internal const string HLFileLocation = "HLFileLocation";
[18056]10    internal const string OptimizerDescription = "OptimizerDescription";
[17379]11    internal const string Parameters = "Parameters";
[17439]12    internal const string Results = "Results";
[18055]13    internal const string RunCollectionModifiers = "RunCollectionModifiers";
[17287]14
[17330]15    internal const string Template = @"{
[17379]16      '" + Metadata + @"': {
[17435]17        '" + TemplateName + @"':'',
[18056]18        '" + HLFileLocation + @"':'',
19        '" + OptimizerDescription + @"':''
[17287]20      },
[17405]21      '" + Parameters + @"': [],
[18050]22      '" + Results + @"': [],
[18055]23      '" + RunCollectionModifiers + @"': []
[17287]24    }";
25  }
26}
Note: See TracBrowser for help on using the repository browser.