Changeset 9383
- Timestamp:
- 04/19/13 13:01:53 (12 years ago)
- Location:
- branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3
- Files:
-
- 1 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/CorrelationView.cs
r9382 r9383 30 30 31 31 namespace HeuristicLab.Analysis.Statistics { 32 [View(" ResultCorrelation View")]32 [View("Correlation View")] 33 33 [Content(typeof(RunCollection), false)] 34 public sealed partial class ResultCorrelationView : ItemView { 35 public ResultCorrelationView() { 34 public sealed partial class CorrelationView : ItemView { 35 private enum ResultParameterType { 36 Result, 37 Parameter 38 } 39 40 public new RunCollection Content { 41 get { return (RunCollection)base.Content; } 42 set { base.Content = value; } 43 } 44 45 public override bool ReadOnly { 46 get { return true; } 47 set { /*not needed because results are always readonly */} 48 } 49 50 private Dictionary<string, ResultParameterType> resultsParameters; 51 52 public CorrelationView() { 36 53 InitializeComponent(); 37 54 stringConvertibleMatrixView.Minimum = -1.0; 38 55 stringConvertibleMatrixView.Maximum = 1.0; 39 56 } 40 41 public new RunCollection Content {42 get { return (RunCollection)base.Content; }43 set { base.Content = value; }44 }45 46 public override bool ReadOnly {47 get { return true; }48 set { /*not needed because results are always readonly */}49 }50 51 private Dictionary<string, ResultParameterType> resultsParameters;52 57 53 58 protected override void OnContentChanged() { … … 95 100 } 96 101 } 102 103 private void calculateCorrelation_Click(object sender, EventArgs e) { 104 RebuildCorrelationTable(); 105 } 97 106 #endregion 98 107 … … 174 183 columnNames[0] = "Pearson product-moment correlation coefficient"; 175 184 columnNames[1] = "Spearman's rank correlation coefficient"; 176 177 185 178 186 var runs = Content.Where(x => x.Results.ContainsKey(resultName) && x.Visible); … … 207 215 } 208 216 217 dt.SortableView = true; 209 218 stringConvertibleMatrixView.Content = dt; 210 }211 212 private void calculateCorrelation_Click(object sender, EventArgs e) {213 RebuildCorrelationTable();214 }215 216 private enum ResultParameterType {217 Result,218 Parameter219 219 } 220 220 } -
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/CorrelationView.designer.cs
r9382 r9383 21 21 22 22 namespace HeuristicLab.Analysis.Statistics { 23 partial class ResultCorrelationView {23 partial class CorrelationView { 24 24 /// <summary> 25 25 /// Required designer variable. … … 73 73 this.label1.Size = new System.Drawing.Size(40, 13); 74 74 this.label1.TabIndex = 6; 75 this.label1.Text = " Result:";75 this.label1.Text = "Value:"; 76 76 // 77 77 // resultComboBox … … 103 103 this.Controls.Add(this.resultComboBox); 104 104 this.Controls.Add(this.stringConvertibleMatrixView); 105 this.Name = " ResultCorrelationView";105 this.Name = "CorrelationView"; 106 106 this.Size = new System.Drawing.Size(498, 385); 107 107 this.ResumeLayout(false); -
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/HeuristicLab.Analysis.Statistics-3.3.csproj
r9355 r9383 135 135 </Compile> 136 136 <Compile Include="KruskalWallis.cs" /> 137 <Compile Include=" ResultCorrelationView.cs">137 <Compile Include="CorrelationView.cs"> 138 138 <SubType>UserControl</SubType> 139 139 </Compile> 140 <Compile Include=" ResultCorrelationView.designer.cs">141 <DependentUpon> ResultCorrelationView.cs</DependentUpon>140 <Compile Include="CorrelationView.designer.cs"> 141 <DependentUpon>CorrelationView.cs</DependentUpon> 142 142 </Compile> 143 143 <Compile Include="ChartAnalysisView.cs">
Note: See TracChangeset
for help on using the changeset viewer.