Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/22/14 14:33:36 (11 years ago)
Author:
rstoll
Message:
  • Renamed PreprocessingDataManipulation to ManipulationLogic
  • Proceeded with StatisticsView
Location:
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/DataGridContent.cs

    r10313 r10369  
    1111
    1212    private readonly IDataGridLogic dataGridLogic;
    13     private readonly IPreprocessingDataManipulation preprocessingDataManipulation;
    14     public DataGridContent(IDataGridLogic theDataGridLogic, IPreprocessingDataManipulation thePreprocessingDataManipulation) {
     13    private readonly IManipulationLogic preprocessingDataManipulation;
     14    public DataGridContent(IDataGridLogic theDataGridLogic, IManipulationLogic thePreprocessingDataManipulation) {
    1515      dataGridLogic = theDataGridLogic;
    1616      preprocessingDataManipulation = thePreprocessingDataManipulation;
     
    2121    }
    2222
    23     public IPreprocessingDataManipulation PreprocessingDataManipulation {
     23    public IManipulationLogic PreprocessingDataManipulation {
    2424      get { return preprocessingDataManipulation; }
    2525    }
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/ManipulationLogic.cs

    r10367 r10369  
    55
    66namespace HeuristicLab.DataPreprocessing {
    7   public class PreprocessingDataManipulation : IPreprocessingDataManipulation {
     7  public class ManipulationLogic : IManipulationLogic {
    88    private IPreprocessingData preprocessingData;
    99    private IStatisticsLogic statisticInfo;
    1010    private ISearchLogic searchLogic;
    1111
    12     public PreprocessingDataManipulation(IPreprocessingData _prepocessingData, ISearchLogic theSearchLogic, IStatisticsLogic theStatisticsLogic) {
     12    public ManipulationLogic(IPreprocessingData _prepocessingData, ISearchLogic theSearchLogic, IStatisticsLogic theStatisticsLogic) {
    1313      preprocessingData = _prepocessingData;
    1414      searchLogic = theSearchLogic;
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/StatisticsLogic.cs

    r10367 r10369  
    2525    public int GetNumericColumnCount() {
    2626      int count = 0;
    27       foreach (var variableName in preprocessingData.VariableNames) {
    28         if (preprocessingData.IsType<double>(variableName)) {
     27
     28      for (int i = 0; i < preprocessingData.Columns; ++i) {
     29        if (preprocessingData.IsType<double>(i)) {
    2930          ++count;
    3031        }
     
    3940    public int GetMissingValueCount() {
    4041      int count = 0;
    41       for(int i = 0; i < preprocessingData.Columns; ++i){
     42      for (int i = 0; i < preprocessingData.Columns; ++i) {
    4243        count += GetMissingValueCount(i);
    4344      }
     
    104105    public int GetRowMissingValueCount(int rowIndex) {
    105106      int count = 0;
    106        for(int i = 0; i < preprocessingData.Columns; ++i){
     107      for (int i = 0; i < preprocessingData.Columns; ++i) {
    107108        if (searchLogic.IsMissingValue(i, rowIndex)) {
    108109          ++count;
Note: See TracChangeset for help on using the changeset viewer.