Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/FeatureCorrelation/AbstractFeatureCorrelationView.Designer.cs @ 8578

Last change on this file since 8578 was 8578, checked in by sforsten, 12 years ago

#1292:

  • added ProblemDataView which has a button to open the feature correlation
  • added abstract base class for feature correlations
  • added caches for the feature correlation
  • created own class for calculation of feature correlation
  • changed SelectedItemChanged to SelectionChangeCommitted events, so the correlation is only calculated if the user changes the selection
File size: 12.8 KB
RevLine 
[8578]1#region License Information
2
3/* HeuristicLab
4 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
5 *
6 * This file is part of HeuristicLab.
7 *
8 * HeuristicLab is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
12 *
13 * HeuristicLab is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
20 */
21
22#endregion
23namespace HeuristicLab.Problems.DataAnalysis.Views {
24  partial class AbstractFeatureCorrelationView {
25    /// <summary>
26    /// Required designer variable.
27    /// </summary>
28    private System.ComponentModel.IContainer components = null;
29
30    /// <summary>
31    /// Clean up any resources being used.
32    /// </summary>
33    /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
34    protected override void Dispose(bool disposing) {
35      if (disposing && (components != null)) {
36        components.Dispose();
37      }
38      base.Dispose(disposing);
39    }
40
41    #region Component Designer generated code
42
43    /// <summary>
44    /// Required method for Designer support - do not modify
45    /// the contents of this method with the code editor.
46    /// </summary>
47    private void InitializeComponent() {
48      System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AbstractFeatureCorrelationView));
49      this.DataGridView = new System.Windows.Forms.DataGridView();
50      this.HeatMapProgressBar = new System.Windows.Forms.ProgressBar();
51      this.PartitionComboBox = new System.Windows.Forms.ComboBox();
52      this.CorrelationCalcLabel = new System.Windows.Forms.Label();
53      this.CorrelationCalcComboBox = new System.Windows.Forms.ComboBox();
54      this.PartitionLabel = new System.Windows.Forms.Label();
55      this.minimumLabel = new System.Windows.Forms.Label();
56      this.maximumLabel = new System.Windows.Forms.Label();
57      this.PictureBox = new System.Windows.Forms.PictureBox();
58      this.SplitContainer = new System.Windows.Forms.SplitContainer();
59      this.CalculatingPanel = new System.Windows.Forms.Panel();
60      this.CalculatingLabel = new System.Windows.Forms.Label();
61      ((System.ComponentModel.ISupportInitialize)(this.DataGridView)).BeginInit();
62      ((System.ComponentModel.ISupportInitialize)(this.PictureBox)).BeginInit();
63      ((System.ComponentModel.ISupportInitialize)(this.SplitContainer)).BeginInit();
64      this.SplitContainer.Panel1.SuspendLayout();
65      this.SplitContainer.Panel2.SuspendLayout();
66      this.SplitContainer.SuspendLayout();
67      this.CalculatingPanel.SuspendLayout();
68      this.SuspendLayout();
69      //
70      // DataGridView
71      //
72      this.DataGridView.AllowUserToAddRows = false;
73      this.DataGridView.AllowUserToDeleteRows = false;
74      this.DataGridView.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
75      this.DataGridView.Dock = System.Windows.Forms.DockStyle.Fill;
76      this.DataGridView.Location = new System.Drawing.Point(0, 0);
77      this.DataGridView.Name = "DataGridView";
78      this.DataGridView.ReadOnly = true;
79      this.DataGridView.Size = new System.Drawing.Size(475, 301);
80      this.DataGridView.TabIndex = 0;
81      this.DataGridView.VirtualMode = true;
82      this.DataGridView.CellPainting += new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.DataGridView_CellPainting);
83      this.DataGridView.CellValueNeeded += new System.Windows.Forms.DataGridViewCellValueEventHandler(this.DataGridView_CellValueNeeded);
84      this.DataGridView.ColumnHeaderMouseClick += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.DataGridView_ColumnHeaderMouseClick);
85      this.DataGridView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.DataGridView_KeyDown);
86      //
87      // HeatMapProgressBar
88      //
89      this.HeatMapProgressBar.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
90      this.HeatMapProgressBar.Location = new System.Drawing.Point(25, 46);
91      this.HeatMapProgressBar.Name = "HeatMapProgressBar";
92      this.HeatMapProgressBar.RightToLeft = System.Windows.Forms.RightToLeft.No;
93      this.HeatMapProgressBar.Size = new System.Drawing.Size(154, 21);
94      this.HeatMapProgressBar.TabIndex = 9;
95      //
96      // PartitionComboBox
97      //
98      this.PartitionComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
99      this.PartitionComboBox.FormattingEnabled = true;
100      this.PartitionComboBox.Location = new System.Drawing.Point(333, 3);
101      this.PartitionComboBox.Name = "PartitionComboBox";
102      this.PartitionComboBox.Size = new System.Drawing.Size(142, 21);
103      this.PartitionComboBox.TabIndex = 8;
104      this.PartitionComboBox.SelectionChangeCommitted += new System.EventHandler(this.PartitionComboBox_SelectedChangeCommitted);
105      //
106      // CorrelationCalcLabel
107      //
108      this.CorrelationCalcLabel.AutoSize = true;
109      this.CorrelationCalcLabel.Location = new System.Drawing.Point(0, 6);
110      this.CorrelationCalcLabel.Name = "CorrelationCalcLabel";
111      this.CorrelationCalcLabel.Size = new System.Drawing.Size(104, 13);
112      this.CorrelationCalcLabel.TabIndex = 7;
113      this.CorrelationCalcLabel.Text = "Correlation Measure:";
114      //
115      // CorrelationCalcComboBox
116      //
117      this.CorrelationCalcComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
118      this.CorrelationCalcComboBox.FormattingEnabled = true;
119      this.CorrelationCalcComboBox.Location = new System.Drawing.Point(110, 3);
120      this.CorrelationCalcComboBox.Name = "CorrelationCalcComboBox";
121      this.CorrelationCalcComboBox.Size = new System.Drawing.Size(163, 21);
122      this.CorrelationCalcComboBox.TabIndex = 6;
123      this.CorrelationCalcComboBox.SelectionChangeCommitted += new System.EventHandler(this.CorrelationMeasureComboBox_SelectedChangeCommitted);
124      //
125      // PartitionLabel
126      //
127      this.PartitionLabel.AutoSize = true;
128      this.PartitionLabel.Location = new System.Drawing.Point(279, 6);
129      this.PartitionLabel.Name = "PartitionLabel";
130      this.PartitionLabel.Size = new System.Drawing.Size(48, 13);
131      this.PartitionLabel.TabIndex = 10;
132      this.PartitionLabel.Text = "Partition:";
133      //
134      // minimumLabel
135      //
136      this.minimumLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
137      this.minimumLabel.BackColor = System.Drawing.Color.Transparent;
138      this.minimumLabel.Location = new System.Drawing.Point(487, 314);
139      this.minimumLabel.Name = "minimumLabel";
140      this.minimumLabel.Size = new System.Drawing.Size(73, 19);
141      this.minimumLabel.TabIndex = 13;
142      this.minimumLabel.Text = "0.0";
143      this.minimumLabel.TextAlign = System.Drawing.ContentAlignment.TopCenter;
144      //
145      // maximumLabel
146      //
147      this.maximumLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
148      this.maximumLabel.BackColor = System.Drawing.Color.Transparent;
149      this.maximumLabel.Location = new System.Drawing.Point(487, 2);
150      this.maximumLabel.Name = "maximumLabel";
151      this.maximumLabel.Size = new System.Drawing.Size(73, 25);
152      this.maximumLabel.TabIndex = 12;
153      this.maximumLabel.Text = "1.0";
154      this.maximumLabel.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
155      //
156      // PictureBox
157      //
158      this.PictureBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
159                  | System.Windows.Forms.AnchorStyles.Right)));
160      this.PictureBox.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
161      this.PictureBox.Image = ((System.Drawing.Image)(resources.GetObject("PictureBox.Image")));
162      this.PictureBox.Location = new System.Drawing.Point(507, 30);
163      this.PictureBox.Name = "PictureBox";
164      this.PictureBox.Size = new System.Drawing.Size(35, 281);
165      this.PictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
166      this.PictureBox.TabIndex = 15;
167      this.PictureBox.TabStop = false;
168      //
169      // SplitContainer
170      //
171      this.SplitContainer.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
172                  | System.Windows.Forms.AnchorStyles.Left)
173                  | System.Windows.Forms.AnchorStyles.Right)));
174      this.SplitContainer.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
175      this.SplitContainer.IsSplitterFixed = true;
176      this.SplitContainer.Location = new System.Drawing.Point(3, 3);
177      this.SplitContainer.Name = "SplitContainer";
178      this.SplitContainer.Orientation = System.Windows.Forms.Orientation.Horizontal;
179      //
180      // SplitContainer.Panel1
181      //
182      this.SplitContainer.Panel1.Controls.Add(this.CorrelationCalcLabel);
183      this.SplitContainer.Panel1.Controls.Add(this.CorrelationCalcComboBox);
184      this.SplitContainer.Panel1.Controls.Add(this.PartitionComboBox);
185      this.SplitContainer.Panel1.Controls.Add(this.PartitionLabel);
186      //
187      // SplitContainer.Panel2
188      //
189      this.SplitContainer.Panel2.Controls.Add(this.CalculatingPanel);
190      this.SplitContainer.Panel2.Controls.Add(this.DataGridView);
191      this.SplitContainer.Size = new System.Drawing.Size(475, 330);
192      this.SplitContainer.SplitterDistance = 25;
193      this.SplitContainer.TabIndex = 16;
194      //
195      // CalculatingPanel
196      //
197      this.CalculatingPanel.Anchor = System.Windows.Forms.AnchorStyles.None;
198      this.CalculatingPanel.Controls.Add(this.CalculatingLabel);
199      this.CalculatingPanel.Controls.Add(this.HeatMapProgressBar);
200      this.CalculatingPanel.Location = new System.Drawing.Point(138, 95);
201      this.CalculatingPanel.Name = "CalculatingPanel";
202      this.CalculatingPanel.Size = new System.Drawing.Size(200, 81);
203      this.CalculatingPanel.TabIndex = 10;
204      //
205      // CalculatingLabel
206      //
207      this.CalculatingLabel.AutoSize = true;
208      this.CalculatingLabel.Location = new System.Drawing.Point(42, 19);
209      this.CalculatingLabel.Name = "CalculatingLabel";
210      this.CalculatingLabel.Size = new System.Drawing.Size(120, 13);
211      this.CalculatingLabel.TabIndex = 10;
212      this.CalculatingLabel.Text = "Calculating correlation...";
213      //
214      // AbstractFeatureCorrelationView
215      //
216      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
217      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
218      this.Controls.Add(this.SplitContainer);
219      this.Controls.Add(this.minimumLabel);
220      this.Controls.Add(this.PictureBox);
221      this.Controls.Add(this.maximumLabel);
222      this.Name = "AbstractFeatureCorrelationView";
223      this.Size = new System.Drawing.Size(569, 336);
224      ((System.ComponentModel.ISupportInitialize)(this.DataGridView)).EndInit();
225      ((System.ComponentModel.ISupportInitialize)(this.PictureBox)).EndInit();
226      this.SplitContainer.Panel1.ResumeLayout(false);
227      this.SplitContainer.Panel1.PerformLayout();
228      this.SplitContainer.Panel2.ResumeLayout(false);
229      ((System.ComponentModel.ISupportInitialize)(this.SplitContainer)).EndInit();
230      this.SplitContainer.ResumeLayout(false);
231      this.CalculatingPanel.ResumeLayout(false);
232      this.CalculatingPanel.PerformLayout();
233      this.ResumeLayout(false);
234
235    }
236
237    #endregion
238
239    protected System.Windows.Forms.DataGridView DataGridView;
240    protected System.Windows.Forms.ProgressBar HeatMapProgressBar;
241    protected System.Windows.Forms.ComboBox PartitionComboBox;
242    protected System.Windows.Forms.Label CorrelationCalcLabel;
243    protected System.Windows.Forms.ComboBox CorrelationCalcComboBox;
244    protected System.Windows.Forms.Label PartitionLabel;
245    protected System.Windows.Forms.Label minimumLabel;
246    protected System.Windows.Forms.Label maximumLabel;
247    protected System.Windows.Forms.PictureBox PictureBox;
248    protected System.Windows.Forms.SplitContainer SplitContainer;
249    protected System.Windows.Forms.Panel CalculatingPanel;
250    protected System.Windows.Forms.Label CalculatingLabel;
251
252  }
253}
Note: See TracBrowser for help on using the repository browser.