Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/07/14 21:44:36 (11 years ago)
Author:
bburlacu
Message:

#1772: Cleaned up the design of the generic genealogy analyzer and related classes, created generic genealogy graph view. Added instrumentation code to TravelingSalesmapProblem.cs allowing genealogy tracking. Merged trunk changes (instrumentation for multi operators).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking.Views/3.4/GenealogyGraphView.Designer.cs

    r10271 r10300  
    1 
     1using HeuristicLab.Visualization;
    22
    33namespace HeuristicLab.EvolutionTracking.Views {
     
    2626    /// </summary>
    2727    private void InitializeComponent() {
    28       this.components = new System.ComponentModel.Container();
    29       this.topControlBox = new System.Windows.Forms.Panel();
    30       this.graphControlsGroupBox = new System.Windows.Forms.GroupBox();
    31       this.lockGenealogyCheckBox = new System.Windows.Forms.CheckBox();
    32       this.highlightAllButton = new System.Windows.Forms.Button();
    33       this.simpleLineagesCheckBox = new System.Windows.Forms.CheckBox();
    34       this.toolTip = new System.Windows.Forms.ToolTip(this.components);
    3528      this.genealogyGraphChart = new HeuristicLab.EvolutionTracking.Views.GenealogyGraphChart();
    36       this.topControlBox.SuspendLayout();
    37       this.graphControlsGroupBox.SuspendLayout();
    3829      this.SuspendLayout();
    39       //
    40       // topControlBox
    41       //
    42       this.topControlBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
    43             | System.Windows.Forms.AnchorStyles.Right)));
    44       this.topControlBox.Controls.Add(this.graphControlsGroupBox);
    45       this.topControlBox.Location = new System.Drawing.Point(3, 3);
    46       this.topControlBox.Name = "topControlBox";
    47       this.topControlBox.Size = new System.Drawing.Size(1066, 44);
    48       this.topControlBox.TabIndex = 6;
    49       //
    50       // graphControlsGroupBox
    51       //
    52       this.graphControlsGroupBox.Controls.Add(this.lockGenealogyCheckBox);
    53       this.graphControlsGroupBox.Controls.Add(this.highlightAllButton);
    54       this.graphControlsGroupBox.Controls.Add(this.simpleLineagesCheckBox);
    55       this.graphControlsGroupBox.Location = new System.Drawing.Point(1, -2);
    56       this.graphControlsGroupBox.Name = "graphControlsGroupBox";
    57       this.graphControlsGroupBox.Size = new System.Drawing.Size(98, 44);
    58       this.graphControlsGroupBox.TabIndex = 11;
    59       this.graphControlsGroupBox.TabStop = false;
    60       this.graphControlsGroupBox.Text = "Graph controls";
    61       //
    62       // lockGenealogyCheckBox
    63       //
    64       this.lockGenealogyCheckBox.Appearance = System.Windows.Forms.Appearance.Button;
    65       this.lockGenealogyCheckBox.Location = new System.Drawing.Point(66, 14);
    66       this.lockGenealogyCheckBox.Name = "lockGenealogyCheckBox";
    67       this.lockGenealogyCheckBox.Size = new System.Drawing.Size(24, 24);
    68       this.lockGenealogyCheckBox.TabIndex = 17;
    69       this.toolTip.SetToolTip(this.lockGenealogyCheckBox, "Lock genealogy");
    70       this.lockGenealogyCheckBox.UseVisualStyleBackColor = true;
    71       this.lockGenealogyCheckBox.CheckedChanged += new System.EventHandler(this.lockGenealogyCheckBox_CheckedChanged);
    72       //
    73       // highlightAllButton
    74       //
    75       this.highlightAllButton.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
    76       this.highlightAllButton.Location = new System.Drawing.Point(6, 14);
    77       this.highlightAllButton.Name = "highlightAllButton";
    78       this.highlightAllButton.Size = new System.Drawing.Size(24, 24);
    79       this.highlightAllButton.TabIndex = 13;
    80       this.toolTip.SetToolTip(this.highlightAllButton, "Fitness gradient");
    81       this.highlightAllButton.UseVisualStyleBackColor = true;
    82       this.highlightAllButton.Click += new System.EventHandler(this.highlightAllButton_Click);
    83       //
    84       // simpleLineagesCheckBox
    85       //
    86       this.simpleLineagesCheckBox.Appearance = System.Windows.Forms.Appearance.Button;
    87       this.simpleLineagesCheckBox.Location = new System.Drawing.Point(36, 14);
    88       this.simpleLineagesCheckBox.Name = "simpleLineagesCheckBox";
    89       this.simpleLineagesCheckBox.Size = new System.Drawing.Size(24, 24);
    90       this.simpleLineagesCheckBox.TabIndex = 12;
    91       this.toolTip.SetToolTip(this.simpleLineagesCheckBox, "Simple lineages");
    92       this.simpleLineagesCheckBox.UseVisualStyleBackColor = true;
    93       this.simpleLineagesCheckBox.CheckedChanged += new System.EventHandler(this.simpleLineagesCheckBox_CheckedChanged);
    9430      //
    9531      // genealogyGraphChart
    9632      //
    97       this.genealogyGraphChart.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
    98             | System.Windows.Forms.AnchorStyles.Right)));
    9933      this.genealogyGraphChart.BackColor = System.Drawing.SystemColors.Control;
    100       this.genealogyGraphChart.Chart = null;
    101       this.genealogyGraphChart.GenealogyGraph = null;
    102       this.genealogyGraphChart.Location = new System.Drawing.Point(3, 51);
     34      this.genealogyGraphChart.Chart = new Chart(0, 0, genealogyGraphChart.PreferredSize.Width, genealogyGraphChart.PreferredSize.Height);
     35      this.genealogyGraphChart.Dock = System.Windows.Forms.DockStyle.Fill;
     36      this.genealogyGraphChart.Location = new System.Drawing.Point(0, 0);
    10337      this.genealogyGraphChart.LockGenealogy = false;
    10438      this.genealogyGraphChart.Name = "genealogyGraphChart";
    10539      this.genealogyGraphChart.ScaleOnResize = true;
    10640      this.genealogyGraphChart.SimpleLineages = false;
    107       this.genealogyGraphChart.Size = new System.Drawing.Size(1066, 724);
    108       this.genealogyGraphChart.TabIndex = 7;
     41      this.genealogyGraphChart.Size = new System.Drawing.Size(150, 150);
     42      this.genealogyGraphChart.TabIndex = 0;
    10943      //
    110       // GenealogyGraphView
     44      // SymbolicDataAnalysisGenealogyView
    11145      //
    11246      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
    11347      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
    11448      this.Controls.Add(this.genealogyGraphChart);
    115       this.Controls.Add(this.topControlBox);
    116       this.Name = "GenealogyGraphView";
    117       this.Size = new System.Drawing.Size(1072, 778);
    118       this.topControlBox.ResumeLayout(false);
    119       this.graphControlsGroupBox.ResumeLayout(false);
     49      this.Name = "SymbolicDataAnalysisGenealogyView";
    12050      this.ResumeLayout(false);
    12151
     
    12454    #endregion
    12555
    126     private System.Windows.Forms.ToolTip toolTip;
    127     private System.Windows.Forms.Panel topControlBox;
    128     private System.Windows.Forms.GroupBox graphControlsGroupBox;
    129     private System.Windows.Forms.Button highlightAllButton;
    130     private System.Windows.Forms.CheckBox simpleLineagesCheckBox;
    131     private System.Windows.Forms.CheckBox lockGenealogyCheckBox;
    132     private GenealogyGraphChart genealogyGraphChart;
    133 
     56    private EvolutionTracking.Views.GenealogyGraphChart genealogyGraphChart;
    13457  }
    13558}
Note: See TracChangeset for help on using the changeset viewer.