Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/23/21 16:36:44 (3 years ago)
Author:
dpiringe
Message:

#3026

  • removed property ConvertableType from all converters
  • removed the option to fixate or loosen the path of JsonItems (obsolete)
  • added a abstract formatter SymbolicRegressionSolutionFormatterBase as base formatter for ISymbolicRegressionSolution
  • unified the construction of exporter controls
  • code cleanup
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface.OptimizerIntegration/Views/ConcreteItemsRestrictor.cs

    r17829 r17843  
    1515    public event Action<object> OnUnchecked;
    1616
    17     public ConcreteItemsRestrictor() {
     17    protected ConcreteItemsRestrictor() {
    1818      InitializeComponent();
    1919    }
    2020
    21     public void Init<T>(IEnumerable<T> objs) {
    22       if(objs != null) {
    23         foreach(var obj in objs) {
     21    public static ConcreteItemsRestrictor Create<T>(IEnumerable<T> objs) {
     22      ConcreteItemsRestrictor ctrl = new ConcreteItemsRestrictor();
     23      ctrl.Init<T>(objs);
     24      return ctrl;
     25    }
     26
     27    protected void Init<T>(IEnumerable<T> objs) {
     28      if(objs != null)
     29        foreach(var obj in objs)
    2430          SetupOption(obj);
    25         }
    26       }
    2731    }
    2832
Note: See TracChangeset for help on using the changeset viewer.