Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2913_MatlabScriptProblemInstanceProvider/HeuristicLab.Problems.Instances.DataAnalysis.Views/3.3/Regression/Matlab/IMLVariablesLoader.cs

Last change on this file was 15926, checked in by rhanghof, 7 years ago

#2913:

  • Added the support for importing different Matlab datatypes.
  • Added some classes and changed the import dialog for importing double arrays.
File size: 1.5 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.Threading;
6using System.Threading.Tasks;
7using System.Windows.Forms;
8using HeuristicLab.Collections;
9using HeuristicLab.Common;
10using HeuristicLab.Problems.DataAnalysis;
11using HeuristicLab.Problems.Instances.DataAnalysis.Regression.Matlab.Api;
12using HeuristicLab.Problems.Instances.DataAnalysis.Regression.Matlab.Api.Types;
13
14namespace HeuristicLab.Problems.Instances.DataAnalysis.Views.Regression.Matlab {
15  public partial class RegressionMatlabImportDialog {
16    private interface IMLVariablesLoader {
17
18      /// <summary>
19      /// This event will be fired after the number of variables was changed.
20      /// </summary>
21      event EventHandler<EventArgs<int>> NumberOfSelectedVariablesChanged;
22
23      /// <summary>
24      /// This property contains the selected variables.
25      /// </summary>
26      IEnumerable<MLVariableInfo> SelectedVariables { get; }
27         
28      /// <summary>
29      /// Returns a dataset which contains the data of the selected Matlab variables.
30      /// </summary>
31      /// <param name="mlConnector"></param>
32      /// <returns></returns>
33      Dataset GetPreviewDataset(IMatlabConnector mlConnector, CancellationToken token);
34
35      /// <summary>
36      /// Shows the given Variables at the list view.
37      /// </summary>
38      /// <param name="variables"></param>
39      void DisplayVariables(IEnumerable<MLVariableInfo> variables);
40    }
41  } 
42}
Note: See TracBrowser for help on using the repository browser.