Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/14/16 17:12:51 (8 years ago)
Author:
bburlacu
Message:

#2288: Simplify and optimize code for cluster identification in ConstrainedForceDirectedLayout.cs. Introduce a TrackBar for adjusting network threshold in the RunCollectionVariableInteractionNetworkView. Minor improvements to the DirectedGraphChart (work in progress).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.VariableInteractionNetworks/HeuristicLab.VariableInteractionNetworks.Views/3.3/RunCollectionVariableInteractionNetworkView.Designer.cs

    r13874 r13893  
    2626      this.components = new System.ComponentModel.Container();
    2727      this.settingsGroupBox = new System.Windows.Forms.GroupBox();
     28      this.impactThresholdTrackBar = new System.Windows.Forms.TrackBar();
     29      this.exportImpactsMatrixButton = new System.Windows.Forms.Button();
    2830      this.onlineImpactCalculationButton = new System.Windows.Forms.Button();
    2931      this.maximizationCheckBox = new System.Windows.Forms.CheckBox();
    3032      this.qualityResultNameComboBox = new System.Windows.Forms.ComboBox();
    3133      this.qualityResultNameLabel = new System.Windows.Forms.Label();
    32       this.impactThresholdTextBox = new System.Windows.Forms.TextBox();
    3334      this.impactAggregationComboBox = new System.Windows.Forms.ComboBox();
    3435      this.impactResultNameComboBox = new System.Windows.Forms.ComboBox();
     
    4243      this.label3 = new System.Windows.Forms.Label();
    4344      this.errorProvider = new System.Windows.Forms.ErrorProvider(this.components);
     45      this.impactThresholdLabel = new System.Windows.Forms.Label();
     46      this.relayoutGraphButton = new System.Windows.Forms.Button();
    4447      this.graphChart = new HeuristicLab.VariableInteractionNetworks.Views.DirectedGraphChart();
    4548      this.settingsGroupBox.SuspendLayout();
     49      ((System.ComponentModel.ISupportInitialize)(this.impactThresholdTrackBar)).BeginInit();
    4650      this.layoutOptionsGroupBox.SuspendLayout();
    4751      ((System.ComponentModel.ISupportInitialize)(this.errorProvider)).BeginInit();
     
    5256      this.settingsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    5357            | System.Windows.Forms.AnchorStyles.Left)));
     58      this.settingsGroupBox.Controls.Add(this.impactThresholdLabel);
     59      this.settingsGroupBox.Controls.Add(this.impactThresholdTrackBar);
     60      this.settingsGroupBox.Controls.Add(this.exportImpactsMatrixButton);
    5461      this.settingsGroupBox.Controls.Add(this.onlineImpactCalculationButton);
    5562      this.settingsGroupBox.Controls.Add(this.maximizationCheckBox);
    5663      this.settingsGroupBox.Controls.Add(this.qualityResultNameComboBox);
    5764      this.settingsGroupBox.Controls.Add(this.qualityResultNameLabel);
    58       this.settingsGroupBox.Controls.Add(this.impactThresholdTextBox);
    5965      this.settingsGroupBox.Controls.Add(this.impactAggregationComboBox);
    6066      this.settingsGroupBox.Controls.Add(this.impactResultNameComboBox);
     
    6470      this.settingsGroupBox.Location = new System.Drawing.Point(4, 4);
    6571      this.settingsGroupBox.Name = "settingsGroupBox";
    66       this.settingsGroupBox.Size = new System.Drawing.Size(331, 230);
     72      this.settingsGroupBox.Size = new System.Drawing.Size(331, 235);
    6773      this.settingsGroupBox.TabIndex = 1;
    6874      this.settingsGroupBox.TabStop = false;
    6975      this.settingsGroupBox.Text = "Network Configuration";
    7076      //
     77      // impactThresholdTrackBar
     78      //
     79      this.impactThresholdTrackBar.AutoSize = false;
     80      this.impactThresholdTrackBar.LargeChange = 1;
     81      this.impactThresholdTrackBar.Location = new System.Drawing.Point(10, 118);
     82      this.impactThresholdTrackBar.Maximum = 1000;
     83      this.impactThresholdTrackBar.Name = "impactThresholdTrackBar";
     84      this.impactThresholdTrackBar.Size = new System.Drawing.Size(312, 23);
     85      this.impactThresholdTrackBar.TabIndex = 7;
     86      this.impactThresholdTrackBar.ValueChanged += new System.EventHandler(this.impactThresholdTrackBar_ValueChanged);
     87      //
     88      // exportImpactsMatrixButton
     89      //
     90      this.exportImpactsMatrixButton.Location = new System.Drawing.Point(10, 203);
     91      this.exportImpactsMatrixButton.Name = "exportImpactsMatrixButton";
     92      this.exportImpactsMatrixButton.Size = new System.Drawing.Size(149, 23);
     93      this.exportImpactsMatrixButton.TabIndex = 6;
     94      this.exportImpactsMatrixButton.Text = "Export Impacts Matrix";
     95      this.exportImpactsMatrixButton.UseVisualStyleBackColor = true;
     96      this.exportImpactsMatrixButton.Click += new System.EventHandler(this.exportImpactsMatrixButton_Click);
     97      //
    7198      // onlineImpactCalculationButton
    7299      //
    73       this.onlineImpactCalculationButton.Location = new System.Drawing.Point(10, 201);
     100      this.onlineImpactCalculationButton.Location = new System.Drawing.Point(10, 174);
    74101      this.onlineImpactCalculationButton.Name = "onlineImpactCalculationButton";
    75102      this.onlineImpactCalculationButton.Size = new System.Drawing.Size(149, 23);
     
    108135      this.qualityResultNameLabel.Text = "Quality result name";
    109136      //
    110       // impactThresholdTextBox
    111       //
    112       this.impactThresholdTextBox.Location = new System.Drawing.Point(121, 94);
    113       this.impactThresholdTextBox.Name = "impactThresholdTextBox";
    114       this.impactThresholdTextBox.Size = new System.Drawing.Size(201, 20);
    115       this.impactThresholdTextBox.TabIndex = 2;
    116       this.impactThresholdTextBox.Text = "0.2";
    117       this.impactThresholdTextBox.Validating += new System.ComponentModel.CancelEventHandler(this.TextBoxValidating);
    118       this.impactThresholdTextBox.Validated += new System.EventHandler(this.ImpactThresholdTextBoxValidated);
    119       //
    120137      // impactAggregationComboBox
    121138      //
     
    124141            "Best run",
    125142            "Runs average"});
    126       this.impactAggregationComboBox.Location = new System.Drawing.Point(121, 120);
     143      this.impactAggregationComboBox.Location = new System.Drawing.Point(121, 147);
    127144      this.impactAggregationComboBox.Name = "impactAggregationComboBox";
    128145      this.impactAggregationComboBox.Size = new System.Drawing.Size(201, 21);
     
    143160      //
    144161      this.weightAggregationLabel.AutoSize = true;
    145       this.weightAggregationLabel.Location = new System.Drawing.Point(7, 123);
     162      this.weightAggregationLabel.Location = new System.Drawing.Point(7, 150);
    146163      this.weightAggregationLabel.Name = "weightAggregationLabel";
    147164      this.weightAggregationLabel.Size = new System.Drawing.Size(98, 13);
     
    171188      this.layoutOptionsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    172189            | System.Windows.Forms.AnchorStyles.Left)));
     190      this.layoutOptionsGroupBox.Controls.Add(this.relayoutGraphButton);
    173191      this.layoutOptionsGroupBox.Controls.Add(this.idealEdgeLengthTextBox);
    174192      this.layoutOptionsGroupBox.Controls.Add(this.edgeRoutingComboBox);
    175193      this.layoutOptionsGroupBox.Controls.Add(this.label4);
    176194      this.layoutOptionsGroupBox.Controls.Add(this.label3);
    177       this.layoutOptionsGroupBox.Location = new System.Drawing.Point(4, 240);
     195      this.layoutOptionsGroupBox.Location = new System.Drawing.Point(4, 245);
    178196      this.layoutOptionsGroupBox.Name = "layoutOptionsGroupBox";
    179       this.layoutOptionsGroupBox.Size = new System.Drawing.Size(331, 222);
     197      this.layoutOptionsGroupBox.Size = new System.Drawing.Size(331, 217);
    180198      this.layoutOptionsGroupBox.TabIndex = 2;
    181199      this.layoutOptionsGroupBox.TabStop = false;
     
    227245      //
    228246      this.errorProvider.ContainerControl = this;
     247      //
     248      // impactThresholdLabel
     249      //
     250      this.impactThresholdLabel.Location = new System.Drawing.Point(118, 92);
     251      this.impactThresholdLabel.Name = "impactThresholdLabel";
     252      this.impactThresholdLabel.Size = new System.Drawing.Size(204, 23);
     253      this.impactThresholdLabel.TabIndex = 8;
     254      this.impactThresholdLabel.Text = "0";
     255      this.impactThresholdLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     256      //
     257      // relayoutGraphButton
     258      //
     259      this.relayoutGraphButton.Location = new System.Drawing.Point(10, 69);
     260      this.relayoutGraphButton.Name = "relayoutGraphButton";
     261      this.relayoutGraphButton.Size = new System.Drawing.Size(149, 23);
     262      this.relayoutGraphButton.TabIndex = 4;
     263      this.relayoutGraphButton.Text = "Recalculate Layout";
     264      this.relayoutGraphButton.UseVisualStyleBackColor = true;
     265      this.relayoutGraphButton.Click += new System.EventHandler(this.relayoutGraphButton_Click);
    229266      //
    230267      // graphChart
     
    256293      this.settingsGroupBox.ResumeLayout(false);
    257294      this.settingsGroupBox.PerformLayout();
     295      ((System.ComponentModel.ISupportInitialize)(this.impactThresholdTrackBar)).EndInit();
    258296      this.layoutOptionsGroupBox.ResumeLayout(false);
    259297      this.layoutOptionsGroupBox.PerformLayout();
     
    270308    private System.Windows.Forms.Label label2;
    271309    private System.Windows.Forms.ComboBox impactResultNameComboBox;
    272     private System.Windows.Forms.TextBox impactThresholdTextBox;
    273310    private System.Windows.Forms.GroupBox layoutOptionsGroupBox;
    274311    private System.Windows.Forms.Label label3;
     
    283320    private System.Windows.Forms.CheckBox maximizationCheckBox;
    284321    private System.Windows.Forms.Button onlineImpactCalculationButton;
     322    private System.Windows.Forms.Button exportImpactsMatrixButton;
     323    private System.Windows.Forms.TrackBar impactThresholdTrackBar;
     324    private System.Windows.Forms.Label impactThresholdLabel;
     325    private System.Windows.Forms.Button relayoutGraphButton;
    285326  }
    286327}
Note: See TracChangeset for help on using the changeset viewer.