Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/12/21 15:24:18 (4 years ago)
Author:
dpiringe
Message:

#3026

  • added ResultFormatter to add an extra layer of result transformation logic (converting a result value to a string with a defined logic, e.g. MatlabResultFormatter for ISymbolicRegressionSolution)
  • extended the IResultJsonItem with two properties for result formatting
  • added a new control to selected a result formatter for a result value
  • refactored the Runner for the new result formatting process
Location:
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Interfaces
Files:
1 added
1 edited

Legend:

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

    r17519 r17834  
    1 namespace HeuristicLab.JsonInterface {
     1using System;
     2using Newtonsoft.Json;
     3
     4namespace HeuristicLab.JsonInterface {
    25  /// <summary>
    3   /// Empty JsonItem, which indicates a result. For example 'BestQuality'.
     6  /// JsonItem, which indicates a result. For example 'BestQuality'.
    47  /// Types of this JsonItems are stored in the result section of the template.
    58  /// </summary>
    6   public interface IResultJsonItem : IJsonItem { }
     9  public interface IResultJsonItem : IJsonItem {
     10    /// <summary>
     11    /// the result formatter type's fullname
     12    /// </summary>
     13    string ResultFormatterType { get; set; }
     14
     15    /// <summary>
     16    /// the type of the result value
     17    /// </summary>
     18    [JsonIgnore]
     19    Type ValueType { get; set; }
     20  }
    721}
Note: See TracChangeset for help on using the changeset viewer.