Free cookie consent management tool by TermsFeed Policy Generator

Changeset 5583 for branches/QAP


Ignore:
Timestamp:
03/01/11 17:47:24 (13 years ago)
Author:
abeham
Message:

#1330

  • Worked on QAP
    • Added solution and analyzer
    • Added crude solution view
  • Overwrote instances with those from new QAPLIB site (Pennsylvania)
Location:
branches/QAP
Files:
6 added
11 edited

Legend:

Unmodified
Added
Removed
  • branches/QAP/HeuristicLab.Problems.QuadraticAssignment.Views/3.3/HeuristicLab.Problems.QuadraticAssignment.Views-3.3.csproj

    r5563 r5583  
    120120      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Data.Views-3.3.dll</HintPath>
    121121    </Reference>
     122    <Reference Include="HeuristicLab.Encodings.PermutationEncoding-3.3">
     123      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Encodings.PermutationEncoding-3.3.dll</HintPath>
     124    </Reference>
    122125    <Reference Include="HeuristicLab.MainForm-3.3">
    123126      <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.MainForm-3.3.dll</HintPath>
     
    140143  </ItemGroup>
    141144  <ItemGroup>
     145    <Compile Include="QAPAssignmentView.cs">
     146      <SubType>UserControl</SubType>
     147    </Compile>
     148    <Compile Include="QAPAssignmentView.Designer.cs">
     149      <DependentUpon>QAPAssignmentView.cs</DependentUpon>
     150    </Compile>
    142151    <Compile Include="QuadraticAssignmentProblemView.cs">
    143152      <SubType>UserControl</SubType>
     
    161170  </ItemGroup>
    162171  <ItemGroup>
     172    <EmbeddedResource Include="QAPAssignmentView.resx">
     173      <DependentUpon>QAPAssignmentView.cs</DependentUpon>
     174    </EmbeddedResource>
    163175    <EmbeddedResource Include="QuadraticAssignmentProblemView.resx">
    164176      <DependentUpon>QuadraticAssignmentProblemView.cs</DependentUpon>
  • branches/QAP/HeuristicLab.Problems.QuadraticAssignment.Views/3.3/Plugin.cs.frame

    r5563 r5583  
    2525  [Plugin("HeuristicLab.Problems.QuadraticAssignment.Views", "3.3.3.$WCREV$")]
    2626  [PluginFile("HeuristicLab.Problems.QuadraticAssignment.Views-3.3.dll", PluginFileType.Assembly)]
    27   [PluginDependency("HeuristicLab.Collections", "3.3.3")]
    2827  [PluginDependency("HeuristicLab.Common", "3.3.3")]
    2928  [PluginDependency("HeuristicLab.Common.Resources", "3.3.3")]
    3029  [PluginDependency("HeuristicLab.Core", "3.3.3")]
     30  [PluginDependency("HeuristicLab.Core.Views", "3.3.3")]
    3131  [PluginDependency("HeuristicLab.Data", "3.3.3")]
     32  [PluginDependency("HeuristicLab.Data.Views", "3.3.3")]
    3233  [PluginDependency("HeuristicLab.Encodings.PermutationEncoding", "3.3.3")]
    33   [PluginDependency("HeuristicLab.Operators", "3.3.3")]
     34  [PluginDependency("HeuristicLab.MainForm", "3.3.3")]
     35  [PluginDependency("HeuristicLab.MainForm.WindowsForms", "3.3.3")]
    3436  [PluginDependency("HeuristicLab.Optimization", "3.3.3")]
    35   [PluginDependency("HeuristicLab.Parameters", "3.3.3")]
    36   [PluginDependency("HeuristicLab.Persistence", "3.3.3")]
     37  [PluginDependency("HeuristicLab.Problems.QuadraticAssignment", "3.3.3")]
    3738  public class HeuristicLabProblemsQuadraticAssignmentViewsPlugin : PluginBase {
    3839  }
  • branches/QAP/HeuristicLab.Problems.QuadraticAssignment.Views/3.3/QuadraticAssignmentProblemView.Designer.cs

    r5563 r5583  
    4747      this.importInstanceButton = new System.Windows.Forms.Button();
    4848      this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
    49       this.label1 = new System.Windows.Forms.Label();
     49      this.QAPLIBInstancesLabel = new System.Windows.Forms.Label();
    5050      this.instancesComboBox = new System.Windows.Forms.ComboBox();
    5151      this.loadInstanceButton = new System.Windows.Forms.Button();
     
    8181      //
    8282      this.importInstanceButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
    83       this.importInstanceButton.Location = new System.Drawing.Point(375, 0);
     83      this.importInstanceButton.Location = new System.Drawing.Point(391, 0);
    8484      this.importInstanceButton.Name = "importInstanceButton";
    85       this.importInstanceButton.Size = new System.Drawing.Size(115, 23);
     85      this.importInstanceButton.Size = new System.Drawing.Size(99, 23);
    8686      this.importInstanceButton.TabIndex = 5;
    8787      this.importInstanceButton.Text = "Import...";
     
    9696      this.openFileDialog.Filter = "Dat files|*.dat|All files|*.*";
    9797      //
    98       // label1
     98      // QAPLIBInstancesLabel
    9999      //
    100       this.label1.AutoSize = true;
    101       this.label1.Location = new System.Drawing.Point(3, 5);
    102       this.label1.Name = "label1";
    103       this.label1.Size = new System.Drawing.Size(77, 13);
    104       this.label1.TabIndex = 6;
    105       this.label1.Text = "Load instance:";
     100      this.QAPLIBInstancesLabel.AutoSize = true;
     101      this.QAPLIBInstancesLabel.Cursor = System.Windows.Forms.Cursors.Hand;
     102      this.QAPLIBInstancesLabel.Location = new System.Drawing.Point(3, 5);
     103      this.QAPLIBInstancesLabel.Name = "QAPLIBInstancesLabel";
     104      this.QAPLIBInstancesLabel.Size = new System.Drawing.Size(96, 13);
     105      this.QAPLIBInstancesLabel.TabIndex = 6;
     106      this.QAPLIBInstancesLabel.Text = "QAPLIB instances:";
     107      this.toolTip.SetToolTip(this.QAPLIBInstancesLabel, "These instances were taken from the QAPLIB homepage at http://www.seas.upenn.edu/" +
     108              "qaplib/");
     109      this.QAPLIBInstancesLabel.Click += new System.EventHandler(this.QAPLIBInstancesLabel_Click);
    106110      //
    107111      // instancesComboBox
     
    111115      this.instancesComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
    112116      this.instancesComboBox.FormattingEnabled = true;
    113       this.instancesComboBox.Location = new System.Drawing.Point(86, 2);
     117      this.instancesComboBox.Location = new System.Drawing.Point(105, 2);
    114118      this.instancesComboBox.Name = "instancesComboBox";
    115       this.instancesComboBox.Size = new System.Drawing.Size(220, 21);
     119      this.instancesComboBox.Size = new System.Drawing.Size(201, 21);
    116120      this.instancesComboBox.TabIndex = 7;
    117121      this.instancesComboBox.SelectedValueChanged += new System.EventHandler(this.instancesComboBox_SelectedValueChanged);
     
    122126      this.loadInstanceButton.Location = new System.Drawing.Point(312, 0);
    123127      this.loadInstanceButton.Name = "loadInstanceButton";
    124       this.loadInstanceButton.Size = new System.Drawing.Size(57, 23);
     128      this.loadInstanceButton.Size = new System.Drawing.Size(73, 23);
    125129      this.loadInstanceButton.TabIndex = 5;
    126130      this.loadInstanceButton.Text = "Load";
    127131      this.loadInstanceButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
     132      this.toolTip.SetToolTip(this.loadInstanceButton, "Load the selected QAPLIB instance.");
    128133      this.loadInstanceButton.UseVisualStyleBackColor = true;
    129134      this.loadInstanceButton.Click += new System.EventHandler(this.loadInstanceButton_Click);
     
    136141      this.Controls.Add(this.importInstanceButton);
    137142      this.Controls.Add(this.loadInstanceButton);
    138       this.Controls.Add(this.label1);
     143      this.Controls.Add(this.QAPLIBInstancesLabel);
    139144      this.Name = "QuadraticAssignmentProblemView";
    140145      this.Controls.SetChildIndex(this.descriptionLabel, 0);
    141146      this.Controls.SetChildIndex(this.nameLabel, 0);
    142147      this.Controls.SetChildIndex(this.nameTextBox, 0);
    143       this.Controls.SetChildIndex(this.label1, 0);
     148      this.Controls.SetChildIndex(this.QAPLIBInstancesLabel, 0);
    144149      this.Controls.SetChildIndex(this.descriptionTextBox, 0);
    145150      this.Controls.SetChildIndex(this.loadInstanceButton, 0);
     
    157162    private System.Windows.Forms.Button importInstanceButton;
    158163    private System.Windows.Forms.OpenFileDialog openFileDialog;
    159     private System.Windows.Forms.Label label1;
     164    private System.Windows.Forms.Label QAPLIBInstancesLabel;
    160165    private System.Windows.Forms.ComboBox instancesComboBox;
    161166    private System.Windows.Forms.Button loadInstanceButton;
  • branches/QAP/HeuristicLab.Problems.QuadraticAssignment.Views/3.3/QuadraticAssignmentProblemView.cs

    r5563 r5583  
    7171      }
    7272    }
     73
     74    private void QAPLIBInstancesLabel_Click(object sender, System.EventArgs e) {
     75      System.Diagnostics.Process.Start("http://www.seas.upenn.edu/qaplib/");
     76    }
    7377  }
    7478}
  • branches/QAP/HeuristicLab.Problems.QuadraticAssignment.Views/3.3/QuadraticAssignmentProblemView.resx

    r5563 r5583  
    121121    <value>107, 17</value>
    122122  </metadata>
    123   <metadata name="errorProvider.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    124     <value>107, 17</value>
    125   </metadata>
    126123  <metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
    127124    <value>17, 17</value>
  • branches/QAP/HeuristicLab.Problems.QuadraticAssignment/3.3/Data/kra32.dat

    r5562 r5583  
    1132
     2
    230 2 2 2 2 2 2 2 3 0 3 2 0 0 0 3 3 0 0 2 1 2 1 1 0 3 0 0 0 0 0 0
    342 0 2 2 3 2 3 2 0 0 2 1 0 0 2 3 3 0 0 2 1 2 1 1 0 3 0 0 0 0 0 0
     
    33340 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    3435
    35 0 10 20 30 10 20 30 40 20 30 40 50 30 40 50 60 23 33 43 53 33 43 53 63 43 53 63 73 53 63 73 83
    36 10 0 10 20 20 10 20 30 30 20 30 40 40 30 40 50 33 23 33 43 43 33 43 53 53 43 53 63 63 53 63 73
    37 20 10 0 10 30 20 10 20 40 30 20 30 50 40 30 40 43 33 23 33 53 43 33 43 63 53 43 53 73 63 53 63
    38 30 20 10 0 40 30 20 10 50 40 30 20 60 50 40 30 53 43 33 23 63 53 43 33 73 63 53 43 83 73 63 53
    39 10 20 30 40 0 10 20 30 10 20 30 40 20 30 40 50 33 43 53 63 23 33 43 53 33 43 53 63 43 53 63 73
    40 20 10 20 30 10 0 10 20 20 10 20 30 30 20 30 40 43 33 43 53 33 23 33 43 43 33 43 53 53 43 53 63
    41 30 20 10 20 20 10 0 10 30 20 10 20 40 30 20 30 53 43 33 43 43 33 23 33 53 43 33 43 63 53 43 53
    42 40 30 20 10 30 20 10 0 40 30 20 10 50 40 30 20 63 53 43 33 53 43 33 23 63 53 43 33 73 63 53 43
    43 20 30 40 50 10 20 30 40 0 10 20 30 10 20 30 40 43 53 63 73 33 43 53 63 23 33 43 53 33 43 53 63
    44 30 20 30 40 20 10 20 30 10 0 10 20 20 10 20 30 53 43 53 63 43 33 43 53 33 23 33 43 43 33 43 53
    45 40 30 20 30 30 20 10 20 20 10 0 10 30 20 10 20 63 53 43 53 53 43 33 43 43 33 23 33 53 43 33 43
    46 50 40 30 20 40 30 20 10 30 20 10 0 40 30 20 10 73 63 53 43 63 53 43 33 53 43 33 23 63 53 43 33
    47 30 40 50 60 20 30 40 50 10 20 30 40 0 10 20 30 53 63 73 83 43 53 63 73 33 43 53 63 23 33 43 53
    48 40 30 40 50 30 20 30 40 20 10 20 30 10 0 10 20 63 53 63 73 53 43 53 63 43 33 43 53 33 23 33 43
    49 50 40 30 40 40 30 20 30 30 20 10 20 20 10 0 10 73 63 53 63 63 53 43 53 53 43 33 43 43 33 23 33
    50 60 50 40 30 50 40 30 20 40 30 20 10 30 20 10 0 83 73 63 53 73 63 53 43 63 53 43 33 53 43 33 23
    51 23 33 43 53 33 43 53 63 43 53 63 73 53 63 73 83 0 10 20 30 10 20 30 40 20 30 40 50 30 40 50 60
    52 33 23 33 43 43 33 43 53 53 43 53 63 63 53 63 73 10 0 10 20 20 10 20 30 30 20 30 40 40 30 40 50
    53 43 33 23 33 53 43 33 43 63 53 43 53 73 63 53 63 20 10 0 10 30 20 10 20 40 30 20 30 50 40 30 40
    54 53 43 33 23 63 53 43 33 73 63 53 43 83 73 63 53 30 20 10 0 40 30 20 10 50 40 30 20 60 50 40 30
    55 33 43 53 63 23 33 43 53 33 43 53 63 43 53 63 73 10 20 30 40 0 10 20 30 10 20 30 40 20 30 40 50
    56 43 33 43 53 33 23 33 43 43 33 43 53 53 43 53 63 20 10 20 30 10 0 10 20 20 10 20 30 30 20 30 40
    57 53 43 33 43 43 33 23 33 53 43 33 43 63 53 43 53 30 20 10 20 20 10 0 10 30 20 10 20 40 30 20 30
    58 63 53 43 33 53 43 33 23 63 53 43 33 73 63 53 43 40 30 20 10 30 20 10 0 40 30 20 10 50 40 30 20
    59 43 53 63 73 33 43 53 63 23 33 43 53 33 43 53 63 20 30 40 50 10 20 30 40 0 10 20 30 10 20 30 40
    60 53 43 53 63 43 33 43 53 33 23 33 43 43 33 43 53 30 20 30 40 20 10 20 30 10 0 10 20 20 10 20 30
    61 63 53 43 53 53 43 33 43 43 33 23 33 53 43 33 43 40 30 20 30 30 20 10 20 20 10 0 10 30 20 10 20
    62 73 63 53 43 63 53 43 33 53 43 33 23 63 53 43 33 50 40 30 20 40 30 20 10 30 20 10 0 40 30 20 10
    63 53 63 73 83 43 53 63 73 33 43 53 63 23 33 43 53 30 40 50 60 20 30 40 50 10 20 30 40 0 10 20 30
    64 63 53 63 73 53 43 53 63 43 33 43 53 33 23 33 43 40 30 40 50 30 20 30 40 20 10 20 30 10 0 10 20
    65 73 63 53 63 63 53 43 53 53 43 33 43 43 33 23 33 50 40 30 40 40 30 20 30 30 20 10 20 20 10 0 10
    66 83 73 63 53 73 63 53 43 63 53 43 33 53 43 33 23 60 50 40 30 50 40 30 20 40 30 20 10 30 20 10 0
     360 50 100 150 50 100 150 200 100 150 200 250 150 200 250 300 115 165 215 265 165 215 265 315 215 265 315 365 265 315 365 415
     3750 0 50 100 100 50 100 150 150 100 150 200 200 150 200 250 165 115 165 215 215 165 215 265 265 215 265 315 315 265 315 365
     38100 50 0 50 150 100 50 100 200 150 100 150 250 200 150 200 215 165 115 165 265 215 165 215 315 265 215 265 365 315 265 315
     39150 100 50 0 200 150 100 50 250 200 150 100 300 250 200 150 265 215 165 115 315 265 215 165 365 315 265 215 415 365 315 265
     4050 100 150 200 0 50 100 150 50 100 150 200 100 150 200 250 165 215 265 315 115 165 215 265 165 215 265 315 215 265 315 365
     41100 50 100 150 50 0 50 100 100 50 100 150 150 100 150 200 215 165 215 265 165 115 165 215 215 165 215 265 265 215 265 315
     42150 100 50 100 100 50 0 50 150 100 50 100 200 150 100 150 265 215 165 215 215 165 115 165 265 215 165 215 315 265 215 265
     43200 150 100 50 150 100 50 0 200 150 100 50 250 200 150 100 315 265 215 165 265 215 165 115 315 265 215 165 365 315 265 215
     44100 150 200 250 50 100 150 200 0 50 100 150 50 100 150 200 215 265 315 365 165 215 265 315 115 165 215 265 165 215 265 315
     45150 100 150 200 100 50 100 150 50 0 50 100 100 50 100 150 265 215 265 315 215 165 215 265 165 115 165 215 215 165 215 265
     46200 150 100 150 150 100 50 100 100 50 0 50 150 100 50 100 315 265 215 265 265 215 165 215 215 165 115 165 265 215 165 215
     47250 200 150 100 200 150 100 50 150 100 50 0 200 150 100 50 365 315 265 215 315 265 215 165 265 215 165 115 315 265 215 165
     48150 200 250 300 100 150 200 250 50 100 150 200 0 50 100 150 265 315 365 415 215 265 315 365 165 215 265 315 115 165 215 265
     49200 150 200 250 150 100 150 200 100 50 100 150 50 0 50 100 315 265 315 365 265 215 265 315 215 165 215 265 165 115 165 215
     50250 200 150 200 200 150 100 150 150 100 50 100 100 50 0 50 365 315 265 315 315 265 215 265 265 215 165 215 215 165 115 165
     51300 250 200 150 250 200 150 100 200 150 100 50 150 100 50 0 415 365 315 265 365 315 265 215 315 265 215 165 265 215 165 115
     52115 165 215 265 165 215 265 315 215 265 315 365 265 315 365 415 0 50 100 150 50 100 150 200 100 150 200 250 150 200 250 300
     53165 115 165 215 215 165 215 265 265 215 265 315 315 265 315 365 50 0 50 100 100 50 100 150 150 100 150 200 200 150 200 250
     54215 165 115 165 265 215 165 215 315 265 215 265 365 315 265 315 100 50 0 50 150 100 50 100 200 150 100 150 250 200 150 200
     55265 215 165 115 315 265 215 165 365 315 265 215 415 365 315 265 150 100 50 0 200 150 100 50 250 200 150 100 300 250 200 150
     56165 215 265 315 115 165 215 265 165 215 265 315 215 265 315 365 50 100 150 200 0 50 100 150 50 100 150 200 100 150 200 250
     57215 165 215 265 165 115 165 215 215 165 215 265 265 215 265 315 100 50 100 150 50 0 50 100 100 50 100 150 150 100 150 200
     58265 215 165 215 215 165 115 165 265 215 165 215 315 265 215 265 150 100 50 100 100 50 0 50 150 100 50 100 200 150 100 150
     59315 265 215 165 265 215 165 115 315 265 215 165 365 315 265 215 200 150 100 50 150 100 50 0 200 150 100 50 250 200 150 100
     60215 265 315 365 165 215 265 315 115 165 215 265 165 215 265 315 100 150 200 250 50 100 150 200 0 50 100 150 50 100 150 200
     61265 215 265 315 215 165 215 265 165 115 165 215 215 165 215 265 150 100 150 200 100 50 100 150 50 0 50 100 100 50 100 150
     62315 265 215 265 265 215 165 215 215 165 115 165 265 215 165 215 200 150 100 150 150 100 50 100 100 50 0 50 150 100 50 100
     63365 315 265 215 315 265 215 165 265 215 165 115 315 265 215 165 250 200 150 100 200 150 100 50 150 100 50 0 200 150 100 50
     64265 315 365 415 215 265 315 365 165 215 265 315 115 165 215 265 150 200 250 300 100 150 200 250 50 100 150 200 0 50 100 150
     65315 265 315 365 265 215 265 315 215 165 215 265 165 115 165 215 200 150 200 250 150 100 150 200 100 50 100 150 50 0 50 100
     66365 315 265 315 315 265 215 265 265 215 165 215 215 165 115 165 250 200 150 200 200 150 100 150 150 100 50 100 100 50 0 50
     67415 365 315 265 365 315 265 215 315 265 215 165 265 215 165 115 300 250 200 150 250 200 150 100 200 150 100 50 150 100 50 0
  • branches/QAP/HeuristicLab.Problems.QuadraticAssignment/3.3/Data/lipa30a.dat

    r5562 r5583  
    1 
    21 30
    32
  • branches/QAP/HeuristicLab.Problems.QuadraticAssignment/3.3/Data/lipa50a.dat

    r5562 r5583  
    1 
    21 50
    32
  • branches/QAP/HeuristicLab.Problems.QuadraticAssignment/3.3/Data/tai25a.dat

    r5562 r5583  
    1           25 1167256
     125
    22
    33  0 92 69 62 32 97  5 39 50 82 93 71 35 14 20 74 49 50 37 79 19 51 70 42 26
  • branches/QAP/HeuristicLab.Problems.QuadraticAssignment/3.3/HeuristicLab.Problems.QuadraticAssignment-3.3.csproj

    r5562 r5583  
    141141  </ItemGroup>
    142142  <ItemGroup>
     143    <Compile Include="Analyzers\BestQAPSolutionAnalyzer.cs" />
    143144    <Compile Include="Evaluators\QAPEvaluator.cs" />
    144145    <Compile Include="Interfaces\IQAPEvaluator.cs" />
    145146    <Compile Include="Parsers\QAPLIBParser.cs" />
     147    <Compile Include="QAPAssignment.cs" />
    146148    <Compile Include="QuadraticAssignmentProblem.cs" />
    147149    <EmbeddedResource Include="Data\bur26a.dat" />
  • branches/QAP/HeuristicLab.Problems.QuadraticAssignment/3.3/QuadraticAssignmentProblem.cs

    r5563 r5583  
    9797      }
    9898    }
     99
     100    private BestQAPSolutionAnalyzer BestQAPSolutionAnalyzer {
     101      get { return Operators.OfType<BestQAPSolutionAnalyzer>().FirstOrDefault(); }
     102    }
    99103    #endregion
    100104
     
    160164      ParameterizeSolutionCreator();
    161165      ParameterizeEvaluator();
     166      ParameterizeAnalyzers();
    162167      ParameterizeOperators();
    163168      base.OnSolutionCreatorChanged();
    164169    }
    165170    protected override void OnEvaluatorChanged() {
    166       ParameterizeEvaluator();
     171      Evaluator.QualityParameter.ActualNameChanged += new EventHandler(Evaluator_QualityParameter_ActualNameChanged);
     172      ParameterizeEvaluator();
     173      ParameterizeAnalyzers();
    167174      ParameterizeOperators();
    168175      base.OnEvaluatorChanged();
     
    171178    private void SolutionCreator_PermutationParameter_ActualNameChanged(object sender, EventArgs e) {
    172179      ParameterizeEvaluator();
     180      ParameterizeAnalyzers();
     181      ParameterizeOperators();
     182    }
     183    private void Evaluator_QualityParameter_ActualNameChanged(object sender, EventArgs e) {
     184      ParameterizeAnalyzers();
    173185      ParameterizeOperators();
    174186    }
     
    196208      Weights.RowsChanged += new EventHandler(Weights_RowsChanged);
    197209      SolutionCreator.PermutationParameter.ActualNameChanged += new EventHandler(SolutionCreator_PermutationParameter_ActualNameChanged);
     210      Evaluator.QualityParameter.ActualNameChanged += new EventHandler(Evaluator_QualityParameter_ActualNameChanged);
    198211    }
    199212
    200213    private void InitializeOperators() {
    201214      Operators.AddRange(ApplicationManager.Manager.GetInstances<IPermutationOperator>());
     215      Operators.Add(new BestQAPSolutionAnalyzer());
     216      ParameterizeAnalyzers();
    202217      ParameterizeOperators();
    203218    }
     
    215230        Evaluator.CoordinatesParameter.ActualName = CoordinatesParameter.Name;
    216231        Evaluator.WeightsParameter.ActualName = WeightsParameter.Name;
     232      }
     233    }
     234    private void ParameterizeAnalyzers() {
     235      if (BestQAPSolutionAnalyzer != null) {
     236        BestQAPSolutionAnalyzer.QualityParameter.ActualName = Evaluator.QualityParameter.ActualName;
     237        BestQAPSolutionAnalyzer.CoordinatesParameter.ActualName = CoordinatesParameter.Name;
     238        BestQAPSolutionAnalyzer.DistancesParameter.ActualName = DistanceMatrixParameter.Name;
     239        BestQAPSolutionAnalyzer.WeightsParameter.ActualName = WeightsParameter.Name;
     240        BestQAPSolutionAnalyzer.PermutationParameter.ActualName = SolutionCreator.PermutationParameter.ActualName;
     241        BestQAPSolutionAnalyzer.ResultsParameter.ActualName = "Results";
     242        BestQAPSolutionAnalyzer.BestKnownQualityParameter.ActualName = BestKnownQualityParameter.Name;
     243        BestQAPSolutionAnalyzer.BestKnownSolutionParameter.ActualName = BestKnownSolutionParameter.Name;
     244        BestQAPSolutionAnalyzer.MaximizationParameter.ActualName = MaximizationParameter.Name;
    217245      }
    218246    }
Note: See TracChangeset for help on using the changeset viewer.