Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/25/17 12:38:12 (7 years ago)
Author:
pfleck
Message:

#2809: Removed experimental static-typed datacolumns. (reverse merge g15291, r15309)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing Cleanup/HeuristicLab.DataPreprocessing/3.4/Data/IPreprocessingData.cs

    r15309 r15431  
    2828namespace HeuristicLab.DataPreprocessing {
    2929  public interface IPreprocessingData : INamedItem {
    30 
    31     IList<PreprocessingDataColumn> DataColumns { get; }
    32 
    3330    #region Cells
    3431    bool IsCellEmpty(int columnIndex, int rowIndex);
     
    3936    string GetCellAsString(int columnIndex, int rowIndex);
    4037
    41     IEnumerable<T> GetValues<T>(int columnIndex, bool considerSelection = false);
     38    IList<T> GetValues<T>(int columnIndex, bool considerSelection = false);
    4239
    43     void SetValues<T>(int columnIndex, IEnumerable<T> values);
     40    void SetValues<T>(int columnIndex, IList<T> values);
    4441    bool SetValue(string value, int columnIndex, int rowIndex);
    4542
     
    5148    void InsertRow(int rowIndex);
    5249    void DeleteRow(int rowIndex);
    53     void DeleteRows(IEnumerable<int> rows);
     50    void DeleteRowsWithIndices(IEnumerable<int> rows);
    5451    void InsertColumn<T>(string variableName, int columnIndex);
    5552
     
    109106    void EndTransaction();
    110107    #endregion
     108
     109    #region Statistics
     110    T GetMin<T>(int columnIndex, bool considerSelection = false, T emptyValue = default(T));
     111    T GetMax<T>(int columnIndex, bool considerSelection = false, T emptyValue = default(T));
     112    T GetMean<T>(int columnIndex, bool considerSelection = false, T emptyValue = default(T));
     113    T GetMedian<T>(int columnIndex, bool considerSelection = false, T emptyValue = default(T)) where T : IComparable<T>;
     114    T GetMode<T>(int columnIndex, bool considerSelection = false, T emptyValue = default(T)) where T : IEquatable<T>;
     115    T GetStandardDeviation<T>(int columnIndex, bool considerSelection = false, T emptyValue = default(T));
     116    T GetVariance<T>(int columnIndex, bool considerSelection = false, T emptyValue = default(T));
     117    T GetQuantile<T>(double alpha, int columnIndex, bool considerSelection = false, T emptyValue = default(T)) where T : IComparable<T>;
     118    int GetDistinctValues<T>(int columnIndex, bool considerSelection = false);
     119
     120    int GetMissingValueCount();
     121    int GetMissingValueCount(int columnIndex);
     122    int GetRowMissingValueCount(int rowIndex);
     123    #endregion
    111124  }
    112125}
Note: See TracChangeset for help on using the changeset viewer.