Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/17/19 17:16:03 (4 years ago)
Author:
dpiringe
Message:

#3026:

  • removed classes:
    • CheckedItemListConverter: unnecessary
    • ItemCollectionConverter: unnecessary
    • PrimitiveConverter: not possible to implement because it needs to Extract/Inject from/into objects (but interfaces pretends IItem)
    • StorableConverter: unnecessary
    • ConfigurableConverter: unnecessary
  • removed graphviz code in Heuristiclab.ConfigStarter/Program.cs
  • updated Constants
  • some simple code refactors in BaseConverter
  • in JsonItem:
    • renamed Parameters -> Children
    • removed Properties: Operators, Type, Reference, IsConfigurable, IsParameterizedItem
    • removed unnecessary/old code
  • implemented a new way to get data from an object, which is a matrix, in ValueTypeMatrixConverter method: CopyMatrixData
    • converts the object into an array -> rows: from array.Length, cols: when the length is > 0 pick length of first array of index 0 (it is saved as an array of arrays)
  • created a binding flag const in ValueRangeConverter to prevent duplicates in code
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Constants.cs

    r17353 r17379  
    1414    internal const string Algorithm = "Algorithm";
    1515    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";
     16    internal const string HLFileLocation = "HLFileLocation";
     17    internal const string Parameters = "Parameters";
    2018
    2119    internal const string Template = @"{
    22       'Metadata': {
    23         'Algorithm':'',
    24         'Problem':''
     20      '" + Metadata + @"': {
     21        '" + Algorithm + @"':'',
     22        '" + Problem + @"':'',
     23        '" + HLFileLocation + @"':''
    2524      },
    26       'Objects': [],
    27       'Types': {}
     25      '" + Parameters + @"': []
    2826    }";
    2927  }
Note: See TracChangeset for help on using the changeset viewer.