Changeset 4385


Ignore:
Timestamp:
09/13/10 16:28:32 (9 years ago)
Author:
mkommend
Message:

Added check for visibility of Runs in the VariableImpactView (ticket #1186).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.3/RunCollectionVariableImpactView.cs

    r4143 r4385  
    2020#endregion
    2121
     22using System;
    2223using System.Collections.Generic;
    2324using System.Linq;
    2425using System.Windows.Forms;
    25 using alglib;
    2626using HeuristicLab.Common;
    2727using HeuristicLab.Data;
     
    2929using HeuristicLab.MainForm.WindowsForms;
    3030using HeuristicLab.Optimization;
    31 using System;
    3231
    3332namespace HeuristicLab.Problems.DataAnalysis.Views {
     
    7978      DoubleMatrix matrix = null;
    8079      if (Content != null) {
    81         List<IRun> runsWithVariables = Content.Where(r => r.Results.ContainsKey(variableImpactResultName)).ToList();
     80        List<IRun> runsWithVariables = Content.Where(r => r.Visible && r.Results.ContainsKey(variableImpactResultName)).ToList();
    8281        IEnumerable<DoubleMatrix> allVariableImpacts = (from run in runsWithVariables
    8382                                                        select run.Results[variableImpactResultName]).Cast<DoubleMatrix>();
Note: See TracChangeset for help on using the changeset viewer.