Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/18/13 16:33:52 (10 years ago)
Author:
rstoll
Message:

Fixed View error

File:
1 edited

Legend:

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

    r10255 r10256  
    55
    66namespace HeuristicLab.DataPreprocessing {
    7   class PreprocessingDataManipulation : IPreprocessingDataManipulation {
     7  public class PreprocessingDataManipulation : IPreprocessingDataManipulation {
    88    private IPreprocessingData preprocessingData;
    99    private IStatisticsLogic statisticInfo;
     
    115115        }
    116116
    117         reOrdertoIndices(shuffledIndices);
     117        reOrderToIndices(shuffledIndices);
    118118      }
    119119    }
    120120
    121     public void reOrdertoIndices(IEnumerable<int> indices)
    122     {
    123         List<Tuple<int, int>> indicesTuple = new List<Tuple<int, int>>();
    124  
    125         for (int i = 0; i < indices.Count(); ++i) {
    126             new Tuple<int, int>(i, indices.ElementAt(i));
    127         }
     121    public void reOrderToIndices(IEnumerable<int> indices) {
     122      List<Tuple<int, int>> indicesTuple = new List<Tuple<int, int>>();
    128123
    129         reOrdertoIndices(indicesTuple);
     124      for (int i = 0; i < indices.Count(); ++i) {
     125        new Tuple<int, int>(i, indices.ElementAt(i));
     126      }
     127
     128      reOrderToIndices(indicesTuple);
    130129    }
    131130
    132     public void reOrdertoIndices(IList<Tuple<int, int>> indices) {
     131    public void reOrderToIndices(IList<System.Tuple<int, int>> indices) {
    133132      foreach (string variableName in preprocessingData.VariableNames) {
    134133        if (preprocessingData.IsType<double>(variableName)) {
Note: See TracChangeset for help on using the changeset viewer.