Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/04/13 12:56:18 (11 years ago)
Author:
pfleck
Message:

Added indexing IPreprocessingData with variable names.
Indexing per column index is marked obsolete.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Interfaces/IPreprocessingData.cs

    r10165 r10181  
    2020#endregion
    2121
     22using System;
    2223using System.Collections.Generic;
    2324using HeuristicLab.Core;
     
    2728
    2829  public interface IPreprocessingData : INamedItem {
    29     T GetCell<T>(int rowIndex, int columnIndex);
    30     void SetCell<T>(int rowIndex, int columnIndex, T value);
     30    [Obsolete]T GetCell<T>(int rowIndex, int columnIndex);
     31    [Obsolete]void SetCell<T>(int rowIndex, int columnIndex, T value);
    3132
    32     IList<T> GetValues<T>(int columnIndex);
    33     void SetValues<T>(int columnIndex, IEnumerable<T> values);
     33    T GetCell<T>(string variableName, int row);
     34    void SetCell<T>(string variableName, int row, T value);
     35
     36    [Obsolete]IEnumerable<T> GetValues<T>(int columnIndex);
     37    IEnumerable<T> GetValues<T>(string variableName);
     38    [Obsolete]void SetValues<T>(int columnIndex, IEnumerable<T> values);
     39    void SetValues<T>(string variableName, IEnumerable<T> values);
    3440
    3541    void InsertRow(int rowIndex);
     
    3743
    3844    void InsertColumn(string variableName, int columnIndex);
    39     void DeleteColumn(int columnIndex);
     45    [Obsolete]void DeleteColumn(int columnIndex);
     46    void DeleteColumn(string variableName);
    4047
    41     IList<string> VariableNames { get; }
    42     bool IsType<T>(int columnIndex);
     48    IEnumerable<string> VariableNames { get; }
     49    [Obsolete]bool IsType<T>(int columnIndex);
     50    bool IsType<T>(string variableName);
    4351
    4452    int Columns { get; }
Note: See TracChangeset for help on using the changeset viewer.