Changeset 11693
- Timestamp:
- 12/17/14 13:36:14 (10 years ago)
- Location:
- branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3
- Files:
-
- 2 added
- 2 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/HeuristicLab.Analysis.Statistics-3.3.csproj
r11692 r11693 140 140 <DependentUpon>SampleSizeInfluenceView.cs</DependentUpon> 141 141 </Compile> 142 <Compile Include="StatisticalTest ingView.cs">143 <SubType>UserControl</SubType> 144 </Compile> 145 <Compile Include="StatisticalTest ingView.designer.cs">146 <DependentUpon>StatisticalTest ingView.cs</DependentUpon>142 <Compile Include="StatisticalTestsView.cs"> 143 <SubType>UserControl</SubType> 144 </Compile> 145 <Compile Include="StatisticalTestsView.designer.cs"> 146 <DependentUpon>StatisticalTestsView.cs</DependentUpon> 147 147 </Compile> 148 148 <Compile Include="KruskalWallisTest.cs" /> … … 162 162 <Compile Include="Properties\AssemblyInfo.cs" /> 163 163 <Compile Include="PairwiseTest.cs" /> 164 <Compile Include="StatisticalTestsConfigurationDialog.cs"> 165 <SubType>Form</SubType> 166 </Compile> 167 <Compile Include="StatisticalTestsConfigurationDialog.Designer.cs"> 168 <DependentUpon>StatisticalTestsConfigurationDialog.cs</DependentUpon> 169 </Compile> 164 170 </ItemGroup> 165 171 <ItemGroup> … … 179 185 <LastGenOutput>Resources.Designer.cs</LastGenOutput> 180 186 </EmbeddedResource> 181 <EmbeddedResource Include="StatisticalTest ingView.resx">182 <DependentUpon>StatisticalTest ingView.cs</DependentUpon>187 <EmbeddedResource Include="StatisticalTestsView.resx"> 188 <DependentUpon>StatisticalTestsView.cs</DependentUpon> 183 189 </EmbeddedResource> 184 190 </ItemGroup> -
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/StatisticalTestsView.cs
r11692 r11693 26 26 using System.Windows.Forms; 27 27 using HeuristicLab.Collections; 28 using HeuristicLab.Common; 28 29 using HeuristicLab.Core.Views; 29 30 using HeuristicLab.Data; … … 35 36 [View("Statistical Tests", "HeuristicLab.Analysis.Statistics.InfoResources.StatisticalTestsInfo.rtf")] 36 37 [Content(typeof(RunCollection), false)] 37 public sealed partial class StatisticalTest ingView : ItemView {38 private constdouble significanceLevel = 0.05;38 public sealed partial class StatisticalTestsView : ItemView, IConfigureableView { 39 private double significanceLevel = 0.05; 39 40 private const int requiredSampleSize = 5; 40 41 private double[][] data; 41 42 42 public StatisticalTestingView() { 43 InitializeComponent(); 43 public double SignificanceLevel { 44 get { return significanceLevel; } 45 set { 46 if (!significanceLevel.IsAlmost(value)) { 47 significanceLevel = value; 48 ResetUI(); 49 CalculateValues(); 50 } 51 } 44 52 } 45 53 … … 52 60 get { return true; } 53 61 set { /*not needed because results are always readonly */} 62 } 63 64 public StatisticalTestsView() { 65 InitializeComponent(); 66 } 67 68 public void ShowConfiguration() { 69 using (StatisticalTestsConfigurationDialog dlg = new StatisticalTestsConfigurationDialog(this)) { 70 dlg.ShowDialog(this); 71 } 54 72 } 55 73 -
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/StatisticalTestsView.designer.cs
r11691 r11693 21 21 22 22 namespace HeuristicLab.Analysis.Statistics { 23 partial class StatisticalTest ingView {23 partial class StatisticalTestsView { 24 24 /// <summary> 25 25 /// Required designer variable. … … 464 464 // 465 465 this.Controls.Add(this.tabControl); 466 this.Name = "StatisticalTest ingView";466 this.Name = "StatisticalTestsView"; 467 467 this.Size = new System.Drawing.Size(936, 573); 468 468 this.contextMenuStrip1.ResumeLayout(false);
Note: See TracChangeset
for help on using the changeset viewer.