Free cookie consent management tool by TermsFeed Policy Generator

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

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

#3026:

  • relocated GetMaxValue and GetMinValue from ValueTypeValueConverter into BaseConverter
  • fixed a bug in ConstrainedValueParameterConverter (from GetType().Name to ToString())
  • printing now PrettyNames for types
  • added comments
  • added StorableConverter.cs (not finished, maybe not a good converter)
  • added ValueRangeConverter.cs for DoubleRange and IntRange
  • added ParameterConverter.cs for default parameter conversion
File size: 831 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading.Tasks;
6
7namespace HeuristicLab.JsonInterface {
8  /// <summary>
9  /// Constants for reading/writing templates.
10  /// </summary>
11  internal class Constants {
12
13    internal const string Metadata = "Metadata";
14    internal const string Algorithm = "Algorithm";
15    internal const string Problem = "Problem";
16    internal const string Objects = "Objects";
17    internal const string Types = "Types";
18    internal const string StaticParameters = "StaticParameters";
19    internal const string FreeParameters = "FreeParameters";
20
21    internal const string Template = @"{
22      'Metadata': {
23        'Algorithm':'',
24        'Problem':''
25      },
26      'Objects': [],
27      'Types': {}
28    }";
29  }
30}
Note: See TracBrowser for help on using the repository browser.