Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/18/13 15:08:54 (11 years ago)
Author:
ascheibe
Message:

#1886 improved view and added documentation

Location:
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views/3.3
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views/3.3/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views-3.3.csproj

    r9317 r9319  
    166166    </ProjectReference>
    167167  </ItemGroup>
     168  <ItemGroup>
     169    <EmbeddedResource Include="StatisticalTestingView.resx">
     170      <DependentUpon>StatisticalTestingView.cs</DependentUpon>
     171    </EmbeddedResource>
     172  </ItemGroup>
    168173  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
    169174  <PropertyGroup>
  • branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views/3.3/StatisticalTestingView.cs

    r9318 r9319  
    7070    }
    7171    #endregion
    72 
    7372
    7473    private void UpdateGroupsComboBox() {
     
    157156    }
    158157
    159 
    160158    private void normalDistButton_Click(object sender, EventArgs e) {
    161 
    162159      double val;
    163160      List<double> res = new List<double>();
     161
    164162      for (int i = 0; i < data.Length; i++) {
    165163        alglib.jarqueberatest(data[i], data[i].Length, out val);
     
    178176    private void resultComboBox_SelectedValueChanged(object sender, EventArgs e) {
    179177      RebuildDataTable();
     178      pValTextBox.Text = string.Empty;
    180179    }
    181180
    182181    private void groupComboBox_SelectedValueChanged(object sender, EventArgs e) {
    183182      RebuildDataTable();
     183      pValTextBox.Text = string.Empty;
    184184    }
    185185
  • branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers.Views/3.3/StatisticalTestingView.designer.cs

    r9318 r9319  
    4646    private void InitializeComponent() {
    4747      this.components = new System.ComponentModel.Container();
     48      System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StatisticalTestingView));
    4849      this.stringConvertibleMatrixView = new HeuristicLab.Data.Views.StringConvertibleMatrixView();
    4950      this.groupByLabel = new System.Windows.Forms.Label();
     
    6061      this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
    6162      this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     63      this.splitContainer2 = new System.Windows.Forms.SplitContainer();
    6264      ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
    6365      this.splitContainer1.Panel1.SuspendLayout();
    6466      this.splitContainer1.Panel2.SuspendLayout();
    6567      this.splitContainer1.SuspendLayout();
     68      ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
     69      this.splitContainer2.Panel1.SuspendLayout();
     70      this.splitContainer2.Panel2.SuspendLayout();
     71      this.splitContainer2.SuspendLayout();
    6672      this.SuspendLayout();
    6773      //
    6874      // stringConvertibleMatrixView
    6975      //
    70       this.stringConvertibleMatrixView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    71             | System.Windows.Forms.AnchorStyles.Left)
     76      this.stringConvertibleMatrixView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
     77            | System.Windows.Forms.AnchorStyles.Left) 
    7278            | System.Windows.Forms.AnchorStyles.Right)));
    7379      this.stringConvertibleMatrixView.Caption = "StringConvertibleMatrix View";
     
    7884      this.stringConvertibleMatrixView.ShowRowsAndColumnsTextBox = false;
    7985      this.stringConvertibleMatrixView.ShowStatisticalInformation = true;
    80       this.stringConvertibleMatrixView.Size = new System.Drawing.Size(918, 430);
     86      this.stringConvertibleMatrixView.Size = new System.Drawing.Size(918, 423);
    8187      this.stringConvertibleMatrixView.TabIndex = 0;
    8288      //
     
    101107      // resultComboBox
    102108      //
    103       this.resultComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     109      this.resultComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    104110            | System.Windows.Forms.AnchorStyles.Right)));
    105111      this.resultComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     
    113119      // testButton
    114120      //
    115       this.testButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
    116       this.testButton.Location = new System.Drawing.Point(610, 473);
     121      this.testButton.Location = new System.Drawing.Point(142, 3);
    117122      this.testButton.Name = "testButton";
    118123      this.testButton.Size = new System.Drawing.Size(109, 23);
    119124      this.testButton.TabIndex = 9;
    120       this.testButton.Text = "Test";
     125      this.testButton.Text = "Test all Groups";
    121126      this.testButton.UseVisualStyleBackColor = true;
    122127      this.testButton.Click += new System.EventHandler(this.testButton_Click);
     
    124129      // normalDistButton
    125130      //
    126       this.normalDistButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
    127       this.normalDistButton.Location = new System.Drawing.Point(8, 473);
     131      this.normalDistButton.Location = new System.Drawing.Point(3, 3);
    128132      this.normalDistButton.Name = "normalDistButton";
    129133      this.normalDistButton.Size = new System.Drawing.Size(155, 23);
     
    135139      // lblPVal
    136140      //
    137       this.lblPVal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     141      this.lblPVal.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
    138142      this.lblPVal.AutoSize = true;
    139       this.lblPVal.Location = new System.Drawing.Point(725, 478);
     143      this.lblPVal.Location = new System.Drawing.Point(311, 8);
    140144      this.lblPVal.Name = "lblPVal";
    141145      this.lblPVal.Size = new System.Drawing.Size(46, 13);
    142146      this.lblPVal.TabIndex = 12;
    143147      this.lblPVal.Text = "p-Value:";
     148      this.lblPVal.TextAlign = System.Drawing.ContentAlignment.TopRight;
    144149      //
    145150      // pValTextBox
    146151      //
    147       this.pValTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
    148       this.pValTextBox.Location = new System.Drawing.Point(777, 475);
     152      this.pValTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     153      this.pValTextBox.Location = new System.Drawing.Point(363, 5);
    149154      this.pValTextBox.Name = "pValTextBox";
    150155      this.pValTextBox.Size = new System.Drawing.Size(144, 20);
     
    153158      // groupComboBox
    154159      //
    155       this.groupComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     160      this.groupComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    156161            | System.Windows.Forms.AnchorStyles.Right)));
    157162      this.groupComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     
    165170      // normalityDetails
    166171      //
    167       this.normalityDetails.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
    168       this.normalityDetails.Location = new System.Drawing.Point(169, 473);
     172      this.normalityDetails.Location = new System.Drawing.Point(164, 3);
    169173      this.normalityDetails.Name = "normalityDetails";
    170       this.normalityDetails.Size = new System.Drawing.Size(144, 23);
     174      this.normalityDetails.Size = new System.Drawing.Size(181, 23);
    171175      this.normalityDetails.TabIndex = 15;
    172       this.normalityDetails.Text = "Show details";
     176      this.normalityDetails.Text = "Show Details of Normality Test";
    173177      this.normalityDetails.UseVisualStyleBackColor = true;
    174178      this.normalityDetails.Click += new System.EventHandler(this.normalityDetails_Click);
     
    176180      // pairwiseTestButton
    177181      //
    178       this.pairwiseTestButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
    179       this.pairwiseTestButton.Location = new System.Drawing.Point(472, 472);
     182      this.pairwiseTestButton.Location = new System.Drawing.Point(4, 3);
    180183      this.pairwiseTestButton.Name = "pairwiseTestButton";
    181184      this.pairwiseTestButton.Size = new System.Drawing.Size(132, 23);
    182185      this.pairwiseTestButton.TabIndex = 16;
    183       this.pairwiseTestButton.Text = "Pairwise comparision";
     186      this.pairwiseTestButton.Text = "Pairwise Statistical Test";
    184187      this.pairwiseTestButton.UseVisualStyleBackColor = true;
    185188      this.pairwiseTestButton.Click += new System.EventHandler(this.pairwiseTestButton_Click);
     
    188191      //
    189192      this.infoLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
    190       this.infoLabel.Image = HeuristicLab.Common.Resources.VSImageLibrary.Information;
    191       this.infoLabel.Location = new System.Drawing.Point(905, 6);
     193      this.infoLabel.Image = ((System.Drawing.Image)(resources.GetObject("infoLabel.Image")));
     194      this.infoLabel.Location = new System.Drawing.Point(905, 9);
    192195      this.infoLabel.Name = "infoLabel";
    193196      this.infoLabel.Size = new System.Drawing.Size(16, 16);
    194197      this.infoLabel.TabIndex = 17;
    195       this.toolTip1.SetToolTip(this.infoLabel, "TODO: Description of features and used methods");
     198      this.toolTip1.SetToolTip(this.infoLabel, resources.GetString("infoLabel.ToolTip"));
    196199      this.infoLabel.DoubleClick += new System.EventHandler(this.infoLabel_DoubleClick);
    197200      //
    198201      // splitContainer1
    199202      //
    200       this.splitContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     203      this.splitContainer1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
    201204            | System.Windows.Forms.AnchorStyles.Right)));
    202205      this.splitContainer1.Location = new System.Drawing.Point(8, 3);
     
    216219      this.splitContainer1.TabIndex = 18;
    217220      //
     221      // splitContainer2
     222      //
     223      this.splitContainer2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
     224            | System.Windows.Forms.AnchorStyles.Right)));
     225      this.splitContainer2.Location = new System.Drawing.Point(8, 467);
     226      this.splitContainer2.Name = "splitContainer2";
     227      //
     228      // splitContainer2.Panel1
     229      //
     230      this.splitContainer2.Panel1.Controls.Add(this.normalDistButton);
     231      this.splitContainer2.Panel1.Controls.Add(this.normalityDetails);
     232      //
     233      // splitContainer2.Panel2
     234      //
     235      this.splitContainer2.Panel2.Controls.Add(this.pairwiseTestButton);
     236      this.splitContainer2.Panel2.Controls.Add(this.testButton);
     237      this.splitContainer2.Panel2.Controls.Add(this.pValTextBox);
     238      this.splitContainer2.Panel2.Controls.Add(this.lblPVal);
     239      this.splitContainer2.Size = new System.Drawing.Size(913, 30);
     240      this.splitContainer2.SplitterDistance = 399;
     241      this.splitContainer2.TabIndex = 19;
     242      //
    218243      // StatisticalTestingView
    219244      //
     245      this.Controls.Add(this.splitContainer2);
    220246      this.Controls.Add(this.splitContainer1);
    221247      this.Controls.Add(this.infoLabel);
    222       this.Controls.Add(this.pairwiseTestButton);
    223       this.Controls.Add(this.normalityDetails);
    224       this.Controls.Add(this.pValTextBox);
    225       this.Controls.Add(this.lblPVal);
    226       this.Controls.Add(this.normalDistButton);
    227       this.Controls.Add(this.testButton);
    228248      this.Controls.Add(this.stringConvertibleMatrixView);
    229249      this.Name = "StatisticalTestingView";
     
    235255      ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
    236256      this.splitContainer1.ResumeLayout(false);
     257      this.splitContainer2.Panel1.ResumeLayout(false);
     258      this.splitContainer2.Panel2.ResumeLayout(false);
     259      this.splitContainer2.Panel2.PerformLayout();
     260      ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
     261      this.splitContainer2.ResumeLayout(false);
    237262      this.ResumeLayout(false);
    238       this.PerformLayout();
    239263
    240264    }
     
    255279    private System.Windows.Forms.ToolTip toolTip1;
    256280    private System.Windows.Forms.SplitContainer splitContainer1;
     281    private System.Windows.Forms.SplitContainer splitContainer2;
    257282  }
    258283}
Note: See TracChangeset for help on using the changeset viewer.