Ignore:
Timestamp:
02/12/21 15:24:18 (3 months 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
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/ViewModels/ResultItemVM.cs

    r17473 r17834  
    99  public class ResultItemVM : JsonItemVMBase<ResultJsonItem> {
    1010    public override Type TargetedJsonItemType => typeof(ResultJsonItem);
    11     public override UserControl Control =>
    12       new JsonItemBaseControl(this);
     11    public override UserControl Control => ResultJsonItemControl.Create(this);
     12
     13    public string ResultFormatterType {
     14      get => Item.ResultFormatterType;
     15      set {
     16        Item.ResultFormatterType = value;
     17        OnPropertyChange(this, nameof(ResultFormatterType));
     18      }
     19    }
    1320  }
    1421}
Note: See TracChangeset for help on using the changeset viewer.