Last change
on this file since 15912 was
15912,
checked in by rhanghof, 6 years ago
|
#2913:
- Added a RegressionInstanceProvider for Matlab instances.
- Added an import dialog for importing Matlab data.
- Added some classes which represents different Matlab specific datatypes.
- Added a Matlab connector which contains a set of commands for interacting with the Matlab bridge.
|
File size:
1.4 KB
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.Threading.Tasks;
|
---|
6 |
|
---|
7 | namespace HeuristicLab.Problems.Instances.DataAnalysis.Regression.Matlab.Api.Types {
|
---|
8 | public interface IMLTimeseries {
|
---|
9 | /// <summary>
|
---|
10 | /// Data headers of the timeseries.
|
---|
11 | /// </summary>
|
---|
12 | string[] DataHeader { get; }
|
---|
13 |
|
---|
14 | /// <summary>
|
---|
15 | /// Returns the values of the timeseries for a given time.
|
---|
16 | /// </summary>
|
---|
17 | /// <param name="time"></param>
|
---|
18 | /// <param name="value"></param>
|
---|
19 | /// <returns></returns>
|
---|
20 | double[] GetValuesByTime(double time);
|
---|
21 |
|
---|
22 | /// <summary>
|
---|
23 | /// Returns the values for a given time index.
|
---|
24 | /// This index is not a time.
|
---|
25 | /// </summary>
|
---|
26 | /// <param name="idx"></param>
|
---|
27 | /// <returns></returns>
|
---|
28 | double[] this[int idx] { get; }
|
---|
29 |
|
---|
30 | /// <summary>
|
---|
31 | /// Returns an array which contains all time values.
|
---|
32 | /// </summary>
|
---|
33 | double[] Times { get; }
|
---|
34 |
|
---|
35 | /// <summary>
|
---|
36 | /// Returns the time at a specific index.
|
---|
37 | /// </summary>
|
---|
38 | /// <param name="idx"></param>
|
---|
39 | /// <returns></returns>
|
---|
40 | double GetTimeAt(int idx);
|
---|
41 |
|
---|
42 | /// <summary>
|
---|
43 | /// Returns the number of value entries.
|
---|
44 | /// </summary>
|
---|
45 | int Count { get; }
|
---|
46 | }
|
---|
47 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.