Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/30/12 12:52:09 (12 years ago)
Author:
sforsten
Message:

#1784:

  • added some regions for readability
  • added import and export methods in DataAnalysisProblem and SymbolicDataAnalysisProblem to reduce code duplication
  • added a recursive and an iterative approach without many linq expression to generate all combinations of list elements in ValueGenerator
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Problems.Instances.Views/3.4/ProblemInstanceProviderViewGeneric.cs

    r7758 r7770  
    3939    }
    4040
     41    #region Importer & Exporter
    4142    protected IProblemInstanceConsumer<T> GenericConsumer { get { return Consumer as IProblemInstanceConsumer<T>; } }
    4243    protected IProblemInstanceConsumer consumer;
     
    5859      }
    5960    }
     61    #endregion
    6062
    6163    public ProblemInstanceProviderViewGeneric() {
     
    9395    protected virtual void loadButton_Click(object sender, EventArgs e) {
    9496      var descriptor = (IDataDescriptor)instancesComboBox.SelectedItem;
    95       var instance = Content.LoadData(descriptor);
     97      T instance = Content.LoadData(descriptor);
    9698      try {
    9799        GenericConsumer.Load(instance);
Note: See TracChangeset for help on using the changeset viewer.