Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/21/14 11:12:31 (11 years ago)
Author:
mleitner
Message:

Add colors to histogram / remove all in one mode

Location:
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3
Files:
2 edited

Legend:

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

    r10851 r10867  
    2222using System;
    2323using System.Collections.Generic;
     24using System.Linq;
    2425using System.Drawing;
    2526using HeuristicLab.Analysis;
     
    6869    }
    6970
     71    public List<double> GetVariableValues(string variableName) {
     72      return preprocessingData.GetValues<double>(preprocessingData.GetColumnIndex(variableName)).ToList();
     73    }
    7074
    71 
    72     private IEnumerable<string> GetVariableNames() {
     75    public IEnumerable<string> GetVariableNames() {
    7376      List<string> doubleVariableNames = new List<string>();
    7477
     
    118121        if(row != null)
    119122          dataRows.Add(row);
    120       }
     123  }
    121124      return dataRows;
    122125    }
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Interfaces/IChartLogic.cs

    r10847 r10867  
    4646
    4747    string GetVariableNameByIndex(int index);
     48
     49    IEnumerable<string> GetVariableNames();
     50    List<double> GetVariableValues(string variableName);
    4851  }
    4952}
Note: See TracChangeset for help on using the changeset viewer.