Changeset 10367 for branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Interfaces/IPreprocessingData.cs
- Timestamp:
- 01/22/14 14:13:11 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Interfaces/IPreprocessingData.cs
r10311 r10367 20 20 #endregion 21 21 22 using System; 22 23 using System.Collections.Generic; 23 24 using HeuristicLab.Core; … … 28 29 29 30 public interface IPreprocessingData : INamedItem { 30 T GetCell<T>(string variableName, int row);31 void SetCell<T>(string variableName, int row, T value);32 string GetCellAsString(string variableName, int row);31 [Obsolete("use the index based variant, is faster")] 32 T GetCell<T>(string variableName, int rowIndex); 33 T GetCell<T>(int columnIndex, int rowIndex); 33 34 35 [Obsolete("use the index based variant, is faster")] 36 void SetCell<T>(string variableName, int rowIndex, T value); 37 void SetCell<T>(int columnIndex, int rowIndex, T value); 38 39 [Obsolete("use the index based variant, is faster")] 40 string GetCellAsString(string variableName, int rowIndex); 41 string GetCellAsString(int columnIndex, int rowIndex); 42 43 [Obsolete("use the index based variant, is faster")] 34 44 IList<T> GetValues<T>(string variableName); 45 IList<T> GetValues<T>(int columnIndex); 46 47 [Obsolete("use the index based variant, is faster")] 35 48 void SetValues<T>(string variableName, IList<T> values); 49 void SetValues<T>(int columnIndex, IList<T> values); 36 50 37 51 void InsertRow(int rowIndex); … … 39 53 40 54 void InsertColumn<T>(string variableName, int columnIndex); 55 56 [Obsolete("use the index based variant, is faster")] 41 57 void DeleteColumn(string variableName); 58 void DeleteColumn(int columnIndex); 42 59 43 60 IntRange TrainingPartition { get; } … … 46 63 IEnumerable<string> VariableNames { get; } 47 64 string GetVariableName(int columnIndex); 65 int GetColumnIndex(string variableName); 66 67 [Obsolete("use the index based variant, is faster")] 48 68 bool IsType<T>(string variableName); 69 bool IsType<T>(int columnIndex); 70 49 71 50 72 int Columns { get; }
Note: See TracChangeset
for help on using the changeset viewer.