Changeset 9333
- Timestamp:
- 03/26/13 12:09:20 (12 years ago)
- Location:
- branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views/3.3
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views/3.3/RunCollectionStatisticalTabularView.cs
r9196 r9333 133 133 this.Invoke(new EventHandler(run_Changed), sender, e); 134 134 else { 135 IRun run = (IRun)sender; 136 UpdateRun(run); 135 if (!Content.UpdateOfRunsInProgress) { 136 IRun run = (IRun)sender; 137 UpdateRun(run); 138 } 137 139 } 138 140 } … … 262 264 StringMatrix sm = (StringMatrix)stringConvertibleMatrixView.Content; 263 265 266 Content.UpdateOfRunsInProgress = true; 264 267 for (int i = 0; i < runs.Count(); i++) { 265 268 IRun run = runs.ElementAt(i); … … 271 274 } 272 275 } 276 Content.UpdateOfRunsInProgress = false; 273 277 //update column names of run collection 274 278 Content.Modify(); -
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views/3.3/SampleSizeDetermination.cs
r9330 r9333 30 30 /// </summary> 31 31 /// <param name="samples">The pilot sample.</param> 32 /// <param name="e">Precision. Default precision is 1%.</param>32 /// <param name="e">Precision. </param> 33 33 /// <param name="conf">Confidence Interval.</param> 34 34 /// <returns>Number of required samples for the given confidence interval and precision. </returns> 35 public static int DetermineSampleSizeByEstimatingMean(double[] samples, double e = 0.01, double conf = 0.95) {35 public static int DetermineSampleSizeByEstimatingMean(double[] samples, double e, double conf = 0.95) { 36 36 if (e < 0) throw new ArgumentException("e needs to be a positive number."); 37 37 if (conf < 0 || conf > 1) throw new ArgumentException("The confidence Interval must be between zero and one."); -
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views/3.3/StatisticalTestingView.cs
r9329 r9333 31 31 using HeuristicLab.MainForm; 32 32 using HeuristicLab.Optimization; 33 using HeuristicLab.Optimization.Views; 33 34 34 35 namespace HeuristicLab.Analysis.AlgorithmBehavior.Views { … … 255 256 } 256 257 } 258 259 private void openBoxPlotToolStripMenuItem_Click(object sender, EventArgs e) { 260 RunCollectionBoxPlotView boxplotView = new RunCollectionBoxPlotView(); 261 boxplotView.Content = Content; 262 // TODO: enable as soon as we move to HeuristicLab.Optimization.Views 263 // boxplotView.xAxisComboBox.SelectedItem = xAxisComboBox.SelectedItem; 264 // boxplotView.yAxisComboBox.SelectedItem = yAxisComboBox.SelectedItem; 265 boxplotView.Show(); 266 } 257 267 } 258 268 } -
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views/3.3/StatisticalTestingView.designer.cs
r9320 r9333 48 48 System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StatisticalTestingView)); 49 49 this.stringConvertibleMatrixView = new HeuristicLab.Data.Views.StringConvertibleMatrixView(); 50 this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); 51 this.openBoxPlotToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); 50 52 this.groupByLabel = new System.Windows.Forms.Label(); 51 53 this.label1 = new System.Windows.Forms.Label(); … … 62 64 this.splitContainer1 = new System.Windows.Forms.SplitContainer(); 63 65 this.splitContainer2 = new System.Windows.Forms.SplitContainer(); 66 this.contextMenuStrip1.SuspendLayout(); 64 67 ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit(); 65 68 this.splitContainer1.Panel1.SuspendLayout(); … … 79 82 this.stringConvertibleMatrixView.Caption = "StringConvertibleMatrix View"; 80 83 this.stringConvertibleMatrixView.Content = null; 84 this.stringConvertibleMatrixView.ContextMenuStrip = this.contextMenuStrip1; 81 85 this.stringConvertibleMatrixView.Location = new System.Drawing.Point(3, 38); 82 86 this.stringConvertibleMatrixView.Name = "stringConvertibleMatrixView"; … … 87 91 this.stringConvertibleMatrixView.TabIndex = 0; 88 92 // 93 // contextMenuStrip1 94 // 95 this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { 96 this.openBoxPlotToolStripMenuItem}); 97 this.contextMenuStrip1.Name = "contextMenuStrip1"; 98 this.contextMenuStrip1.Size = new System.Drawing.Size(175, 26); 99 // 100 // openBoxPlotToolStripMenuItem 101 // 102 this.openBoxPlotToolStripMenuItem.Name = "openBoxPlotToolStripMenuItem"; 103 this.openBoxPlotToolStripMenuItem.Size = new System.Drawing.Size(174, 22); 104 this.openBoxPlotToolStripMenuItem.Text = "Open BoxPlot View"; 105 this.openBoxPlotToolStripMenuItem.Click += new System.EventHandler(this.openBoxPlotToolStripMenuItem_Click); 106 // 89 107 // groupByLabel 90 108 // … … 119 137 // testButton 120 138 // 121 this.testButton.Location = new System.Drawing.Point(142, 3); 139 this.testButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 140 this.testButton.Location = new System.Drawing.Point(196, 3); 122 141 this.testButton.Name = "testButton"; 123 142 this.testButton.Size = new System.Drawing.Size(109, 23); … … 153 172 this.pValTextBox.Location = new System.Drawing.Point(363, 5); 154 173 this.pValTextBox.Name = "pValTextBox"; 174 this.pValTextBox.ReadOnly = true; 155 175 this.pValTextBox.Size = new System.Drawing.Size(144, 20); 156 176 this.pValTextBox.TabIndex = 13; … … 180 200 // pairwiseTestButton 181 201 // 182 this.pairwiseTestButton.Location = new System.Drawing.Point(4, 3); 202 this.pairwiseTestButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); 203 this.pairwiseTestButton.Location = new System.Drawing.Point(58, 3); 183 204 this.pairwiseTestButton.Name = "pairwiseTestButton"; 184 205 this.pairwiseTestButton.Size = new System.Drawing.Size(132, 23); … … 249 270 this.Name = "StatisticalTestingView"; 250 271 this.Size = new System.Drawing.Size(924, 500); 272 this.contextMenuStrip1.ResumeLayout(false); 251 273 this.splitContainer1.Panel1.ResumeLayout(false); 252 274 this.splitContainer1.Panel1.PerformLayout(); … … 280 302 private System.Windows.Forms.SplitContainer splitContainer1; 281 303 private System.Windows.Forms.SplitContainer splitContainer2; 304 private System.Windows.Forms.ContextMenuStrip contextMenuStrip1; 305 private System.Windows.Forms.ToolStripMenuItem openBoxPlotToolStripMenuItem; 282 306 } 283 307 } -
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views/3.3/StatisticalTestingView.resx
r9329 r9333 118 118 <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> 119 119 </resheader> 120 <metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 121 <value>114, 17</value> 122 </metadata> 120 123 <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> 121 124 <data name="infoLabel.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> … … 166 169 lR7X/aj3Y+uI5ciZUdfRvidBTx6Mscae/5T+04fx/Kfkp+UTqhONk2aTp6fcp24+W/1s/Hnq8/npgp+l 167 170 f65+ofviu18cf+mbWTUz/pL/cuHX4lfyr468Xva6e9Z/9vGb5Dfzc4Vv5d8efcd41/s+7P3EfOYH7IeK 168 j3ofuz55f3q4kLyw8Bv3hPP74uYdwgAAAAlwSFlzAAALD gAACw4BQL7hQQAAABl0RVh0U29mdHdhcmUA171 j3ofuz55f3q4kLyw8Bv3hPP74uYdwgAAAAlwSFlzAAALDAAACwwBP0AiyAAAABl0RVh0U29mdHdhcmUA 169 172 UGFpbnQuTkVUIHYzLjUuODc7gF0AAAK0SURBVDhPrZBrSNNRAMWNvkVEEBT0oY+BUAgSRBhIQmUqKYb4 170 173 KgudU1MTlj2WZUlMykdu+VhatmWKWaaITF35qCmzWoaGj81kms72dm5/3cM9TtvdX9Sob/0+XC6Hcw73
Note: See TracChangeset
for help on using the changeset viewer.