Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/12/16 13:28:23 (8 years ago)
Author:
abeham
Message:

#2457:

  • improved mapping of problem instances by normalization (z-score) and handling of missing values (median)
  • enabled to select the characteristics that should be included in the mapping
  • improved speed of OKB download by calling service methods in parallel
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PerformanceComparison/HeuristicLab.OptimizationExpertSystem/3.3/Views/UnderstandingProblemInstanceView.cs

    r13751 r13752  
    2020#endregion
    2121
     22using HeuristicLab.Common.Resources;
    2223using HeuristicLab.Core;
     24using HeuristicLab.Core.Views;
     25using HeuristicLab.Data;
    2326using HeuristicLab.MainForm;
    2427using HeuristicLab.OptimizationExpertSystem.Common;
     
    2730using System.Linq;
    2831using System.Text.RegularExpressions;
     32using System.Windows.Forms;
    2933using System.Windows.Forms.DataVisualization.Charting;
    3034
     
    3438  public sealed partial class UnderstandingProblemInstanceView : KnowledgeCenterViewBase {
    3539    private bool SuppressEvents { get; set; }
    36 
     40    private readonly CheckedItemListView<StringValue> characteristicsView;
     41 
    3742    public UnderstandingProblemInstanceView() {
    3843      InitializeComponent();
     44      showCharacteristicsCheckBox.Text = string.Empty;
     45      showCharacteristicsCheckBox.Image = VSImageLibrary.Properties;
     46      characteristicsView = new CheckedItemListView<StringValue>() {
     47        Dock = DockStyle.Fill
     48      };
     49      mapSplitContainer.Panel2.Controls.Add(characteristicsView);
    3950    }
    4051
     
    4354      if (Content == null) {
    4455        problemInstancesView.Content = null;
     56        characteristicsView.Content = null;
    4557        instanceMapChart.Series["InstancesSeries"].Points.Clear();
    4658        instanceMapChart.Series["CurrentInstanceSeries"].Points.Clear();
    4759      } else {
    4860        problemInstancesView.Content = Content.ProblemInstances;
     61        characteristicsView.Content = Content.ProblemCharacteristics;
    4962        UpdateProjectionComboBox();
    5063        UpdateSizeComboBox();
     
    175188      UpdateProjection();
    176189    }
     190
     191    private void showCharacteristicsCheckBox_CheckedChanged(object sender, EventArgs e) {
     192      mapSplitContainer.Panel2Collapsed = !showCharacteristicsCheckBox.Checked;
     193    }
    177194    #endregion
    178195  }
Note: See TracChangeset for help on using the changeset viewer.