Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/22/14 14:13:11 (11 years ago)
Author:
rstoll
Message:
  • modified PreprocessingData, uses columnIndex now instead of variableName (is faster and more convenient), set variabelName based methods to Obsolete
  • Already changed SearchLogic, DataGridLogic, StatisticLogic as well as PreprocessingDataManipulation

*

File:
1 edited

Legend:

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

    r10311 r10367  
    2020#endregion
    2121
     22using System;
    2223using System.Collections.Generic;
    2324using HeuristicLab.Core;
     
    2829
    2930  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);
    3334
     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")]
    3444    IList<T> GetValues<T>(string variableName);
     45    IList<T> GetValues<T>(int columnIndex);
     46
     47    [Obsolete("use the index based variant, is faster")]
    3548    void SetValues<T>(string variableName, IList<T> values);
     49    void SetValues<T>(int columnIndex, IList<T> values);
    3650
    3751    void InsertRow(int rowIndex);
     
    3953
    4054    void InsertColumn<T>(string variableName, int columnIndex);
     55
     56    [Obsolete("use the index based variant, is faster")]
    4157    void DeleteColumn(string variableName);
     58    void DeleteColumn(int columnIndex);
    4259
    4360    IntRange TrainingPartition { get; }
     
    4663    IEnumerable<string> VariableNames { get; }
    4764    string GetVariableName(int columnIndex);
     65    int GetColumnIndex(string variableName);
     66
     67    [Obsolete("use the index based variant, is faster")]
    4868    bool IsType<T>(string variableName);
     69    bool IsType<T>(int columnIndex);
     70
    4971
    5072    int Columns { get; }
Note: See TracChangeset for help on using the changeset viewer.