Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/07/14 12:47:54 (11 years ago)
Author:
sbreuer
Message:
  • selected average and co. implemented
  • SelectionChanged NullPointer fixed
Location:
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Interfaces
Files:
5 edited

Legend:

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

    r10636 r10809  
    2525  public interface IDataGridContent : IStringConvertibleMatrix {
    2626    IDataGridLogic DataGridLogic { get; }
    27     IManipulationLogic PreprocessingDataManipulation { get; }
     27    IManipulationLogic ManipulationLogic { get; }
    2828    IFilterLogic FilterLogic { get; }
    2929
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Interfaces/IManipulationLogic.cs

    r10737 r10809  
    2828    void ReOrderToIndices(IList<Tuple<int, int>> indices);
    2929    void ShuffleToIndices(IList<System.Tuple<int, int>> indices);
    30     void ReplaceIndicesByAverageValue(IDictionary<int, IList<int>> cells);
     30    void ReplaceIndicesByAverageValue(IDictionary<int, IList<int>> cells, bool considerSelection);
    3131    void ReplaceIndicesByLinearInterpolationOfNeighbours(IDictionary<int, IList<int>> cells);
    32     void ReplaceIndicesByMedianValue(IDictionary<int, IList<int>> cells);
    33     void ReplaceIndicesByMostCommonValue(IDictionary<int, IList<int>> cells);
    34     void ReplaceIndicesByRandomValue(IDictionary<int, IList<int>> cells);
     32    void ReplaceIndicesByMedianValue(IDictionary<int, IList<int>> cells, bool considerSelection);
     33    void ReplaceIndicesByMostCommonValue(IDictionary<int, IList<int>> cells, bool considerSelection);
     34    void ReplaceIndicesByRandomValue(IDictionary<int, IList<int>> cells, bool considerSelection);
    3535    void ReplaceIndicesByValue(IDictionary<int, IList<int>> cells, string value);
    3636    void ReplaceIndicesByValue<T>(int columnIndex, IEnumerable<int> rowIndices, T value);
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Interfaces/IPreprocessingData.cs

    r10804 r10809  
    3737
    3838    [Obsolete("use the index based variant, is faster")]
    39     IList<T> GetValues<T>(string variableName);
    40     IList<T> GetValues<T>(int columnIndex);
     39    IList<T> GetValues<T>(string variableName, bool considerSelection);
     40    IList<T> GetValues<T>(int columnIndex, bool considerSelection);
    4141
    4242    void SetValues<T>(int columnIndex, IList<T> values);
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Interfaces/ISearchLogic.cs

    r10776 r10809  
    3939    bool IsMissingValue(int columnIndex, int rowIndex);
    4040
    41     IEnumerable<T> GetValuesWithoutNaN<T>(int columnIndex);
     41    IEnumerable<T> GetValuesWithoutNaN<T>(int columnIndex, bool considerSelection);
    4242  }
    4343}
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Interfaces/IStatisticsLogic.cs

    r10551 r10809  
    3333    int GetRowMissingValueCount(int rowIndex);
    3434
    35     T GetMin<T>(int columnIndex) where T : IComparable<T>;
    36     T GetMax<T>(int columnIndex) where T : IComparable<T>;
     35    T GetMin<T>(int columnIndex, bool considerSelection) where T : IComparable<T>;
     36    T GetMax<T>(int columnIndex, bool considerSelection) where T : IComparable<T>;
    3737
    38     double GetMedian(int columnIndex);
    39     double GetAverage(int columnIndex);
    40     DateTime GetMedianDateTime(int columnIndex);
    41     DateTime GetAverageDateTime(int columnIndex);
     38    double GetMedian(int columnIndex, bool considerSelection);
     39    double GetAverage(int columnIndex, bool considerSelection);
     40    DateTime GetMedianDateTime(int columnIndex, bool considerSelection);
     41    DateTime GetAverageDateTime(int columnIndex, bool considerSelection);
    4242
    4343    double GetStandardDeviation(int columnIndex);
    4444    double GetVariance(int columnIndex);
    45     T GetMostCommonValue<T>(int columnIndex);
     45    T GetMostCommonValue<T>(int columnIndex, bool considerSelection);
    4646    int GetDifferentValuesCount<T>(int columnIndex);
    4747
Note: See TracChangeset for help on using the changeset viewer.