Changeset 9192


Ignore:
Timestamp:
01/28/13 15:18:38 (7 years ago)
Author:
ascheibe
Message:

#1886 RunCollectionStatisticalTabularView now respects RunCollectionFilters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views/3.3/RunCollectionStatisticalTabularView.cs

    r9095 r9192  
    171171      string[] columnNames = new string[] { "Count", "Minimum", "Maximum", "Average", "Median", "Standard Deviation", "Variance", "25th Percentile", "75th Percentile", "Gradient", "Relative Error", "Avg. of Upper 25 %", " Avg. of Lower 25 %", "Avg. of First 25 %", "Avg. of Last 25 %" };
    172172
    173       var runs = Content.Where(x => x.Results.ContainsKey(resultName));
     173      var runs = Content.Where(x => x.Results.ContainsKey(resultName) && x.Visible);
    174174
    175175      StringMatrix dt = new StringMatrix(runs.Count(), columnNames.Count());
     
    225225      string resultName = (string)dataTableComboBox.SelectedItem;
    226226      string rowName = (string)dataRowComboBox.SelectedItem;
    227       var runs = Content.Where(x => x.Results.ContainsKey(resultName));
     227      var runs = Content.Where(x => x.Results.ContainsKey(resultName) && x.Visible);
    228228
    229229      foreach (Run run in runs) {
     
    247247      string resultName = (string)dataTableComboBox.SelectedItem;
    248248      string rowName = (string)dataRowComboBox.SelectedItem;
    249       var runs = Content.Where(x => x.Results.ContainsKey(resultName));
     249      var runs = Content.Where(x => x.Results.ContainsKey(resultName) && x.Visible);
    250250      StringMatrix sm = (StringMatrix)stringConvertibleMatrixView.Content;
    251251
     
    266266      string resultName = (string)dataTableComboBox.SelectedItem;
    267267      string rowName = (string)dataRowComboBox.SelectedItem;
    268       var runs = Content.Where(x => x.Results.ContainsKey(resultName));
     268      var runs = Content.Where(x => x.Results.ContainsKey(resultName) && x.Visible);
    269269      Dictionary<int, double> values = new Dictionary<int, double>();
    270270
Note: See TracChangeset for help on using the changeset viewer.