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

Last change on this file since 18056 was 18056, checked in by dpiringe, 2 months 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
Line 
1namespace HeuristicLab.JsonInterface {
2  /// <summary>
3  /// Constants for reading/writing templates.
4  /// </summary>
5  internal class Constants {
6
7    internal const string Metadata = "Metadata";
8    internal const string TemplateName = "TemplateName";
9    internal const string HLFileLocation = "HLFileLocation";
10    internal const string OptimizerDescription = "OptimizerDescription";
11    internal const string Parameters = "Parameters";
12    internal const string Results = "Results";
13    internal const string RunCollectionModifiers = "RunCollectionModifiers";
14
15    internal const string Template = @"{
16      '" + Metadata + @"': {
17        '" + TemplateName + @"':'',
18        '" + HLFileLocation + @"':'',
19        '" + OptimizerDescription + @"':''
20      },
21      '" + Parameters + @"': [],
22      '" + Results + @"': [],
23      '" + RunCollectionModifiers + @"': []
24    }";
25  }
26}
Note: See TracBrowser for help on using the repository browser.