Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/19/19 16:33:01 (5 years ago)
Author:
dpiringe
Message:

#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:
1 edited

Legend:

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

    r17349 r17353  
    1414
    1515namespace HeuristicLab.JsonInterface {
     16  /// <summary>
     17  /// Static class to instantiate an IAlgorithm object with a json interface template and config.
     18  /// </summary>
    1619  public static class JCInstantiator {
    1720    private struct InstData {
     
    2326    }
    2427
     28    /// <summary>
     29    /// Instantiate an IAlgorithm object with a template and config.
     30    /// </summary>
     31    /// <param name="templateFile">Template file (json), generated with JCGenerator.</param>
     32    /// <param name="configFile">Config file (json) for the template.</param>
     33    /// <returns>confugrated IAlgorithm object</returns>
    2534    public static IAlgorithm Instantiate(string templateFile, string configFile = "") {
    2635      InstData instData = new InstData() {
Note: See TracChangeset for help on using the changeset viewer.