- Timestamp:
- 10/05/11 21:55:55 (13 years ago)
- Location:
- branches/GeneralizedQAP
- Files:
-
- 2 deleted
- 13 edited
- 2 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/GeneralizedQAP
- Property svn:ignore
-
old new 1 *.docstates 2 *.psess 1 3 *.resharper 2 4 *.suo 5 *.vsp 3 6 Google.ProtocolBuffers-0.9.1.dll 7 HeuristicLab 3.3.5.1.ReSharper.user 8 HeuristicLab 3.3.6.0.ReSharper.user 4 9 HeuristicLab.4.5.resharper.user 5 10 HeuristicLab.resharper.user … … 8 13 _ReSharper.HeuristicLab 9 14 _ReSharper.HeuristicLab 3.3 15 _ReSharper.HeuristicLab.ExtLibs 16 bin 10 17 protoc.exe 11 HeuristicLab 3.3.5.1.ReSharper.user 12 *.psess 13 *.vsp 14 *.docstates 18 HeuristicLab.ExtLibs.6.0.ReSharper.user
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/GeneralizedQAP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4
- Property svn:ignore
-
old new 4 4 HeuristicLabProblemsDataAnalysisSymbolicViewsPlugin.cs 5 5 *.vs10x 6 Plugin.cs
-
- Property svn:ignore
-
branches/GeneralizedQAP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic.Views-3.4.csproj
r6685 r6878 41 41 <DebugType>full</DebugType> 42 42 <Optimize>false</Optimize> 43 <OutputPath> bin\Debug\</OutputPath>43 <OutputPath>$(SolutionDir)\bin\</OutputPath> 44 44 <DefineConstants>DEBUG;TRACE</DefineConstants> 45 45 <ErrorReport>prompt</ErrorReport> … … 50 50 <DebugType>pdbonly</DebugType> 51 51 <Optimize>true</Optimize> 52 <OutputPath> bin\Release\</OutputPath>52 <OutputPath>$(SolutionDir)\bin\</OutputPath> 53 53 <DefineConstants>TRACE</DefineConstants> 54 54 <ErrorReport>prompt</ErrorReport> … … 58 58 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' "> 59 59 <DebugSymbols>true</DebugSymbols> 60 <OutputPath> bin\x64\Debug\</OutputPath>60 <OutputPath>$(SolutionDir)\bin\</OutputPath> 61 61 <DefineConstants>DEBUG;TRACE</DefineConstants> 62 62 <DebugType>full</DebugType> … … 66 66 </PropertyGroup> 67 67 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' "> 68 <OutputPath> bin\x64\Release\</OutputPath>68 <OutputPath>$(SolutionDir)\bin\</OutputPath> 69 69 <DefineConstants>TRACE</DefineConstants> 70 70 <Optimize>true</Optimize> … … 76 76 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> 77 77 <DebugSymbols>true</DebugSymbols> 78 <OutputPath> bin\x86\Debug\</OutputPath>78 <OutputPath>$(SolutionDir)\bin\</OutputPath> 79 79 <DefineConstants>DEBUG;TRACE</DefineConstants> 80 80 <DebugType>full</DebugType> … … 84 84 </PropertyGroup> 85 85 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> 86 <OutputPath> bin\x86\Release\</OutputPath>86 <OutputPath>$(SolutionDir)\bin\</OutputPath> 87 87 <DefineConstants>TRACE</DefineConstants> 88 88 <Optimize>true</Optimize> … … 93 93 </PropertyGroup> 94 94 <ItemGroup> 95 <Reference Include="HeuristicLab.Common.Resources-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=x86" /> 95 <Reference Include="ALGLIB-3.1.0, Version=3.1.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 96 <HintPath>..\..\bin\ALGLIB-3.1.0.dll</HintPath> 97 </Reference> 96 98 <Reference Include="System" /> 97 99 <Reference Include="System.Core"> … … 111 113 </ItemGroup> 112 114 <ItemGroup> 115 <Compile Include="Plugin.cs" /> 113 116 <Compile Include="SymbolicDataAnalysisSolutionResponseFunctionView.cs"> 114 117 <SubType>UserControl</SubType> … … 172 175 </Compile> 173 176 <None Include="HeuristicLab.snk" /> 174 <None Include="HeuristicLabProblemsDataAnalysisSymbolicViewsPlugin.cs.frame" /> 175 <None Include="Properties\AssemblyInfo.frame" /> 176 <Compile Include="HeuristicLabProblemsDataAnalysisSymbolicViewsPlugin.cs" /> 177 <None Include="Plugin.cs.frame" /> 178 <None Include="Properties\AssemblyInfo.cs.frame" /> 177 179 <Compile Include="RunCollectionVariableImpactView.cs"> 178 180 <SubType>UserControl</SubType> … … 187 189 <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project> 188 190 <Name>HeuristicLab.Collections-3.3</Name> 191 <Private>False</Private> 192 </ProjectReference> 193 <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.3\HeuristicLab.Common.Resources-3.3.csproj"> 194 <Project>{0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}</Project> 195 <Name>HeuristicLab.Common.Resources-3.3</Name> 196 <Private>False</Private> 189 197 </ProjectReference> 190 198 <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj"> 191 199 <Project>{A9AD58B9-3EF9-4CC1-97E5-8D909039FF5C}</Project> 192 200 <Name>HeuristicLab.Common-3.3</Name> 201 <Private>False</Private> 193 202 </ProjectReference> 194 203 <ProjectReference Include="..\..\HeuristicLab.Core.Views\3.3\HeuristicLab.Core.Views-3.3.csproj"> 195 204 <Project>{E226881D-315F-423D-B419-A766FE0D8685}</Project> 196 205 <Name>HeuristicLab.Core.Views-3.3</Name> 206 <Private>False</Private> 197 207 </ProjectReference> 198 208 <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj"> 199 209 <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project> 200 210 <Name>HeuristicLab.Core-3.3</Name> 211 <Private>False</Private> 201 212 </ProjectReference> 202 213 <ProjectReference Include="..\..\HeuristicLab.Data.Views\3.3\HeuristicLab.Data.Views-3.3.csproj"> 203 214 <Project>{72104A0B-90E7-42F3-9ABE-9BBBADD4B943}</Project> 204 215 <Name>HeuristicLab.Data.Views-3.3</Name> 216 <Private>False</Private> 205 217 </ProjectReference> 206 218 <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj"> 207 219 <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project> 208 220 <Name>HeuristicLab.Data-3.3</Name> 221 <Private>False</Private> 209 222 </ProjectReference> 210 223 <ProjectReference Include="..\..\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views\3.4\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views-3.4.csproj"> 211 224 <Project>{423BD94F-963A-438E-BA45-3BB3D61CD03B}</Project> 212 225 <Name>HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Views-3.4</Name> 226 <Private>False</Private> 213 227 </ProjectReference> 214 228 <ProjectReference Include="..\..\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding\3.4\HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4.csproj"> 215 229 <Project>{06D4A186-9319-48A0-BADE-A2058D462EEA}</Project> 216 230 <Name>HeuristicLab.Encodings.SymbolicExpressionTreeEncoding-3.4</Name> 217 </ProjectReference> 218 <ProjectReference Include="..\..\HeuristicLab.ExtLibs\HeuristicLab.ALGLIB\3.1.0\ALGLIB-3.1.0\ALGLIB-3.1.0.csproj"> 219 <Project>{FC841674-62A7-4055-BE91-E41944B6C606}</Project> 220 <Name>ALGLIB-3.1.0</Name> 221 </ProjectReference> 222 <ProjectReference Include="..\..\HeuristicLab.ExtLibs\HeuristicLab.ALGLIB\3.1.0\HeuristicLab.ALGLIB-3.1.0\HeuristicLab.ALGLIB-3.1.0.csproj"> 223 <Project>{DE69A359-A5B8-4D3D-BA8D-D5780D7F96D6}</Project> 224 <Name>HeuristicLab.ALGLIB-3.1.0 %28HeuristicLab.ExtLibs\HeuristicLab.ALGLIB\HeuristicLab.ALGLIB-3.1.0\HeuristicLab.ALGLIB-3.1.0%29</Name> 231 <Private>False</Private> 225 232 </ProjectReference> 226 233 <ProjectReference Include="..\..\HeuristicLab.MainForm.WindowsForms\3.3\HeuristicLab.MainForm.WindowsForms-3.3.csproj"> 227 234 <Project>{AB687BBE-1BFE-476B-906D-44237135431D}</Project> 228 235 <Name>HeuristicLab.MainForm.WindowsForms-3.3</Name> 236 <Private>False</Private> 229 237 </ProjectReference> 230 238 <ProjectReference Include="..\..\HeuristicLab.MainForm\3.3\HeuristicLab.MainForm-3.3.csproj"> 231 239 <Project>{3BD61258-31DA-4B09-89C0-4F71FEF5F05A}</Project> 232 240 <Name>HeuristicLab.MainForm-3.3</Name> 241 <Private>False</Private> 233 242 </ProjectReference> 234 243 <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj"> 235 244 <Project>{23DA7FF4-D5B8-41B6-AA96-F0561D24F3EE}</Project> 236 245 <Name>HeuristicLab.Operators-3.3</Name> 246 <Private>False</Private> 237 247 </ProjectReference> 238 248 <ProjectReference Include="..\..\HeuristicLab.Optimization.Views\3.3\HeuristicLab.Optimization.Views-3.3.csproj"> 239 249 <Project>{662B4B15-8F4D-4AE5-B3EB-D91C215F5AF2}</Project> 240 250 <Name>HeuristicLab.Optimization.Views-3.3</Name> 251 <Private>False</Private> 241 252 </ProjectReference> 242 253 <ProjectReference Include="..\..\HeuristicLab.Optimization\3.3\HeuristicLab.Optimization-3.3.csproj"> 243 254 <Project>{14AB8D24-25BC-400C-A846-4627AA945192}</Project> 244 255 <Name>HeuristicLab.Optimization-3.3</Name> 256 <Private>False</Private> 245 257 </ProjectReference> 246 258 <ProjectReference Include="..\..\HeuristicLab.Parameters\3.3\HeuristicLab.Parameters-3.3.csproj"> 247 259 <Project>{56F9106A-079F-4C61-92F6-86A84C2D84B7}</Project> 248 260 <Name>HeuristicLab.Parameters-3.3</Name> 261 <Private>False</Private> 249 262 </ProjectReference> 250 263 <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj"> 251 264 <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project> 252 265 <Name>HeuristicLab.Persistence-3.3</Name> 266 <Private>False</Private> 253 267 </ProjectReference> 254 268 <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\3.3\HeuristicLab.PluginInfrastructure-3.3.csproj"> 255 269 <Project>{94186A6A-5176-4402-AE83-886557B53CCA}</Project> 256 270 <Name>HeuristicLab.PluginInfrastructure-3.3</Name> 271 <Private>False</Private> 257 272 </ProjectReference> 258 273 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis.Symbolic\3.4\HeuristicLab.Problems.DataAnalysis.Symbolic-3.4.csproj"> 259 274 <Project>{3D28463F-EC96-4D82-AFEE-38BE91A0CA00}</Project> 260 275 <Name>HeuristicLab.Problems.DataAnalysis.Symbolic-3.4</Name> 276 <Private>False</Private> 261 277 </ProjectReference> 262 278 <ProjectReference Include="..\..\HeuristicLab.Problems.DataAnalysis\3.4\HeuristicLab.Problems.DataAnalysis-3.4.csproj"> 263 279 <Project>{DF87C13E-A889-46FF-8153-66DCAA8C5674}</Project> 264 280 <Name>HeuristicLab.Problems.DataAnalysis-3.4</Name> 281 <Private>False</Private> 265 282 </ProjectReference> 266 283 <ProjectReference Include="..\..\HeuristicLab.Visualization.ChartControlsExtensions\3.3\HeuristicLab.Visualization.ChartControlsExtensions-3.3.csproj"> 267 284 <Project>{315BDA09-3F4F-49B3-9790-B37CFC1C5750}</Project> 268 285 <Name>HeuristicLab.Visualization.ChartControlsExtensions-3.3</Name> 286 <Private>False</Private> 269 287 </ProjectReference> 270 288 </ItemGroup> … … 301 319 302 320 call PreBuildEvent.cmd 303 SubWCRev "%25ProjectDir%25\" "%25ProjectDir%25\HeuristicLabProblemsDataAnalysisSymbolicViewsPlugin.cs.frame" "%25ProjectDir%25\HeuristicLabProblemsDataAnalysisSymbolicViewsPlugin.cs"</PreBuildEvent>321 </PreBuildEvent> 304 322 </PropertyGroup> 305 323 </Project> -
branches/GeneralizedQAP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/InteractiveSymbolicDataAnalysisSolutionSimplifierView.cs
r6256 r6878 95 95 List<ISymbolicExpressionTreeNode> nodeList = Content.Model.SymbolicExpressionTree.Root.GetSubtree(0).IterateNodesPrefix().ToList(); 96 96 foreach (var parent in nodeList) { 97 for (int subTreeIndex = 0; subTreeIndex < parent.Subtree sCount; subTreeIndex++) {97 for (int subTreeIndex = 0; subTreeIndex < parent.SubtreeCount; subTreeIndex++) { 98 98 var child = parent.GetSubtree(subTreeIndex); 99 99 if (!(child.Symbol is Constant) && nodeImpacts[child].IsAlmost(0.0)) { … … 105 105 106 106 // show only interesting part of solution 107 if (tree.Root.Subtree sCount > 1)107 if (tree.Root.SubtreeCount > 1) 108 108 this.treeChart.Tree = new SymbolicExpressionTree(tree.Root); // RPB + ADFs 109 109 else … … 130 130 var tree = Content.Model.SymbolicExpressionTree; 131 131 foreach (SymbolicExpressionTreeNode treeNode in tree.IterateNodesPostfix()) { 132 for (int i = 0; i < treeNode.Subtree sCount; i++) {132 for (int i = 0; i < treeNode.SubtreeCount; i++) { 133 133 ISymbolicExpressionTreeNode subTree = treeNode.GetSubtree(i); 134 134 // only allow to replace nodes for which a replacement value is known (replacement value for ADF nodes are not available) … … 137 137 138 138 // show only interesting part of solution 139 if (tree.Root.Subtree sCount > 1)139 if (tree.Root.SubtreeCount > 1) 140 140 this.treeChart.Tree = new SymbolicExpressionTree(tree.Root); // RPB + ADFs 141 141 else -
branches/GeneralizedQAP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/RunCollectionVariableImpactView.Designer.cs
r5809 r6878 46 46 private void InitializeComponent() { 47 47 this.matrixView = new HeuristicLab.Data.Views.StringConvertibleMatrixView(); 48 this.comboBox = new System.Windows.Forms.ComboBox(); 49 this.label1 = new System.Windows.Forms.Label(); 50 this.variableImpactsGroupBox = new System.Windows.Forms.GroupBox(); 51 this.variableImpactsGroupBox.SuspendLayout(); 48 52 this.SuspendLayout(); 49 53 // … … 55 59 this.matrixView.Caption = "StringConvertibleMatrix View"; 56 60 this.matrixView.Content = null; 57 this.matrixView.Location = new System.Drawing.Point( 3, 3);61 this.matrixView.Location = new System.Drawing.Point(6, 19); 58 62 this.matrixView.Name = "matrixView"; 59 63 this.matrixView.ReadOnly = true; 60 this.matrixView.Size = new System.Drawing.Size(303, 229); 64 this.matrixView.ShowRowsAndColumnsTextBox = true; 65 this.matrixView.ShowStatisticalInformation = true; 66 this.matrixView.Size = new System.Drawing.Size(294, 174); 61 67 this.matrixView.TabIndex = 0; 68 // 69 // comboBox 70 // 71 this.comboBox.FormattingEnabled = true; 72 this.comboBox.Location = new System.Drawing.Point(39, 6); 73 this.comboBox.Name = "comboBox"; 74 this.comboBox.Size = new System.Drawing.Size(68, 21); 75 this.comboBox.TabIndex = 1; 76 this.comboBox.SelectedValueChanged += new System.EventHandler(this.comboBox_SelectedValueChanged); 77 // 78 // label1 79 // 80 this.label1.AutoSize = true; 81 this.label1.Location = new System.Drawing.Point(3, 9); 82 this.label1.Name = "label1"; 83 this.label1.Size = new System.Drawing.Size(30, 13); 84 this.label1.TabIndex = 2; 85 this.label1.Text = "Fold:"; 86 // 87 // variableImpactsGroupBox 88 // 89 this.variableImpactsGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 90 | System.Windows.Forms.AnchorStyles.Left) 91 | System.Windows.Forms.AnchorStyles.Right))); 92 this.variableImpactsGroupBox.Controls.Add(this.matrixView); 93 this.variableImpactsGroupBox.Location = new System.Drawing.Point(0, 33); 94 this.variableImpactsGroupBox.Name = "variableImpactsGroupBox"; 95 this.variableImpactsGroupBox.Size = new System.Drawing.Size(306, 199); 96 this.variableImpactsGroupBox.TabIndex = 3; 97 this.variableImpactsGroupBox.TabStop = false; 98 this.variableImpactsGroupBox.Text = "Variable impacts:"; 62 99 // 63 100 // RunCollectionVariableImpactView … … 65 102 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 66 103 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 67 this.Controls.Add(this.matrixView); 104 this.Controls.Add(this.variableImpactsGroupBox); 105 this.Controls.Add(this.label1); 106 this.Controls.Add(this.comboBox); 68 107 this.Name = "RunCollectionVariableImpactView"; 69 108 this.Size = new System.Drawing.Size(309, 235); 109 this.variableImpactsGroupBox.ResumeLayout(false); 70 110 this.ResumeLayout(false); 111 this.PerformLayout(); 71 112 72 113 } … … 75 116 76 117 private HeuristicLab.Data.Views.StringConvertibleMatrixView matrixView; 118 private System.Windows.Forms.ComboBox comboBox; 119 private System.Windows.Forms.Label label1; 120 private System.Windows.Forms.GroupBox variableImpactsGroupBox; 77 121 } 78 122 } -
branches/GeneralizedQAP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/RunCollectionVariableImpactView.cs
r5975 r6878 35 35 public sealed partial class RunCollectionVariableImpactView : AsynchronousContentView { 36 36 private const string variableImpactResultName = "Variable impacts"; 37 private const string crossValidationFoldsResultName = "CrossValidation Folds"; 38 private const string numberOfFoldsParameterName = "Folds"; 37 39 public RunCollectionVariableImpactView() { 38 40 InitializeComponent(); … … 95 97 } 96 98 99 private void comboBox_SelectedValueChanged(object sender, EventArgs e) { 100 if (comboBox.SelectedItem != null) { 101 var cvRuns = from r in Content 102 where r.Visible 103 where r.Parameters.ContainsKey(numberOfFoldsParameterName) 104 select r; 105 if (comboBox.SelectedIndex == 0) { 106 var selectedFolds = cvRuns 107 .SelectMany(r => (RunCollection)r.Results[crossValidationFoldsResultName]) 108 .Where(r => r.Results.ContainsKey(variableImpactResultName)); 109 matrixView.Content = CalculateVariableImpactMatrix(selectedFolds.ToArray()); 110 } else { 111 var selectedFolds = from r in cvRuns 112 let foldCollection = (RunCollection)r.Results[crossValidationFoldsResultName] 113 let run = foldCollection.ElementAt(comboBox.SelectedIndex - 1) 114 where run.Results.ContainsKey(variableImpactResultName) 115 select new { run, r.Name }; 116 matrixView.Content = CalculateVariableImpactMatrix(selectedFolds.Select(x => x.run).ToArray(), selectedFolds.Select(x => x.Name).ToArray()); 117 } 118 } 119 } 120 121 97 122 private void UpdateData() { 98 matrixView.Content = CalculateVariableImpactMatrix(); 99 } 100 101 private DoubleMatrix CalculateVariableImpactMatrix() { 123 if (Content != null) { 124 comboBox.Items.Clear(); 125 comboBox.Enabled = false; 126 var visibleRuns = Content.Where(r => r.Visible).ToArray(); 127 var representativeCvRun = 128 visibleRuns.Where(r => r.Parameters.ContainsKey(numberOfFoldsParameterName)).FirstOrDefault(); 129 if (representativeCvRun != null) { 130 // make sure all runs have the same number of folds 131 int nFolds = ((IntValue)representativeCvRun.Parameters[numberOfFoldsParameterName]).Value; 132 var cvRuns = visibleRuns.Where(r => r.Parameters.ContainsKey(numberOfFoldsParameterName)); 133 if (cvRuns.All(r => ((IntValue)r.Parameters[numberOfFoldsParameterName]).Value == nFolds)) { 134 // populate combobox 135 comboBox.Items.Add("Overall"); 136 for (int foldIndex = 0; foldIndex < nFolds; foldIndex++) { 137 comboBox.Items.Add("Fold " + foldIndex); 138 } 139 comboBox.SelectedIndex = 0; 140 comboBox.Enabled = true; 141 } else { 142 matrixView.Content = null; 143 } 144 } else { 145 var runsWithVariables = visibleRuns.Where(r => r.Results.ContainsKey(variableImpactResultName)).ToArray(); 146 matrixView.Content = CalculateVariableImpactMatrix(runsWithVariables); 147 } 148 } 149 } 150 151 private IStringConvertibleMatrix CalculateVariableImpactMatrix(IRun[] runs) { 152 return CalculateVariableImpactMatrix(runs, runs.Select(r => r.Name).ToArray()); 153 } 154 155 private DoubleMatrix CalculateVariableImpactMatrix(IRun[] runs, string[] runNames) { 102 156 DoubleMatrix matrix = null; 103 if (Content != null) { 104 List<IRun> runsWithVariables = Content.Where(r => r.Visible && r.Results.ContainsKey(variableImpactResultName)).ToList(); 105 IEnumerable<DoubleMatrix> allVariableImpacts = (from run in runsWithVariables 106 select run.Results[variableImpactResultName]).Cast<DoubleMatrix>(); 107 IEnumerable<string> variableNames = (from variableImpact in allVariableImpacts 108 from variableName in variableImpact.RowNames 109 select variableName) 110 .Distinct(); 111 // filter variableNames: only include names that have at least one non-zero value in a run 112 List<string> variableNamesList = (from variableName in variableNames 113 where GetVariableImpacts(variableName, allVariableImpacts).Any(x => !x.IsAlmost(0.0)) 114 select variableName) 115 .ToList(); 116 117 List<string> statictics = new List<string> { "Median Rank", "Mean", "StdDev", "pValue" }; 118 List<string> columnNames = runsWithVariables.Select(r => r.Name).ToList(); 119 columnNames.AddRange(statictics); 120 int runs = runsWithVariables.Count(); 121 122 matrix = new DoubleMatrix(variableNamesList.Count, runs + statictics.Count); 123 matrix.SortableView = true; 124 matrix.RowNames = variableNamesList; 125 matrix.ColumnNames = columnNames; 126 127 for (int i = 0; i < runsWithVariables.Count; i++) { 128 IRun run = runsWithVariables[i]; 129 DoubleMatrix runVariableImpacts = (DoubleMatrix)run.Results[variableImpactResultName]; 130 for (int j = 0; j < runVariableImpacts.Rows; j++) { 131 int rowIndex = variableNamesList.FindIndex(s => s == runVariableImpacts.RowNames.ElementAt(j)); 132 if (rowIndex > -1) { 133 matrix[rowIndex, i] = runVariableImpacts[j, 0]; 134 } 135 } 136 } 137 138 List<List<double>> variableImpactsOverRuns = (from variableName in variableNamesList 139 select GetVariableImpacts(variableName, allVariableImpacts).ToList()) 140 .ToList(); 141 List<List<double>> variableRanks = (from variableName in variableNamesList 142 select GetVariableImpactRanks(variableName, allVariableImpacts).ToList()) 143 .ToList(); 144 if (variableImpactsOverRuns.Count() > 0) { 145 // the variable with the worst median impact value is chosen as the reference variable 146 // this is problematic if all variables are relevant, however works often in practice 147 List<double> referenceImpacts = (from impacts in variableImpactsOverRuns 148 let avg = impacts.Median() 149 orderby avg 150 select impacts) 151 .First(); 152 // for all variables 153 for (int row = 0; row < variableImpactsOverRuns.Count; row++) { 154 // median rank 155 matrix[row, runs] = variableRanks[row].Median(); 156 // also show mean and std.dev. of relative variable impacts to indicate the relative difference in impacts of variables 157 matrix[row, runs + 1] = variableImpactsOverRuns[row].Average(); 158 matrix[row, runs + 2] = variableImpactsOverRuns[row].StandardDeviation(); 159 160 double leftTail = 0; double rightTail = 0; double bothTails = 0; 161 // calc differences of impacts for current variable and reference variable 162 double[] z = new double[referenceImpacts.Count]; 163 for (int i = 0; i < z.Length; i++) { 164 z[i] = variableImpactsOverRuns[row][i] - referenceImpacts[i]; 165 } 166 // wilcoxon signed rank test is used because the impact values of two variables in a single run are not independent 167 alglib.wsr.wilcoxonsignedranktest(z, z.Length, 0, ref bothTails, ref leftTail, ref rightTail); 168 matrix[row, runs + 3] = bothTails; 169 } 170 } 171 } 172 return matrix; 157 IEnumerable<DoubleMatrix> allVariableImpacts = (from run in runs 158 select run.Results[variableImpactResultName]).Cast<DoubleMatrix>(); 159 IEnumerable<string> variableNames = (from variableImpact in allVariableImpacts 160 from variableName in variableImpact.RowNames 161 select variableName) 162 .Distinct(); 163 // filter variableNames: only include names that have at least one non-zero value in a run 164 List<string> variableNamesList = (from variableName in variableNames 165 where GetVariableImpacts(variableName, allVariableImpacts).Any(x => !x.IsAlmost(0.0)) 166 select variableName) 167 .ToList(); 168 169 List<string> statictics = new List<string> { "Median Rank", "Mean", "StdDev", "pValue" }; 170 List<string> columnNames = new List<string>(runNames); 171 columnNames.AddRange(statictics); 172 int numberOfRuns = runs.Length; 173 174 matrix = new DoubleMatrix(variableNamesList.Count, numberOfRuns + statictics.Count); 175 matrix.SortableView = true; 176 matrix.ColumnNames = columnNames; 177 178 // calculate statistics 179 List<List<double>> variableImpactsOverRuns = (from variableName in variableNamesList 180 select GetVariableImpacts(variableName, allVariableImpacts).ToList()) 181 .ToList(); 182 List<List<double>> variableRanks = (from variableName in variableNamesList 183 select GetVariableImpactRanks(variableName, allVariableImpacts).ToList()) 184 .ToList(); 185 if (variableImpactsOverRuns.Count() > 0) { 186 // the variable with the worst median impact value is chosen as the reference variable 187 // this is problematic if all variables are relevant, however works often in practice 188 List<double> referenceImpacts = (from impacts in variableImpactsOverRuns 189 let avg = impacts.Median() 190 orderby avg 191 select impacts) 192 .First(); 193 // for all variables 194 for (int row = 0; row < variableImpactsOverRuns.Count; row++) { 195 // median rank 196 matrix[row, numberOfRuns] = variableRanks[row].Median(); 197 // also show mean and std.dev. of relative variable impacts to indicate the relative difference in impacts of variables 198 matrix[row, numberOfRuns + 1] = Math.Round(variableImpactsOverRuns[row].Average(), 3); 199 matrix[row, numberOfRuns + 2] = Math.Round(variableImpactsOverRuns[row].StandardDeviation(), 3); 200 201 double leftTail = 0; double rightTail = 0; double bothTails = 0; 202 // calc differences of impacts for current variable and reference variable 203 double[] z = new double[referenceImpacts.Count]; 204 for (int i = 0; i < z.Length; i++) { 205 z[i] = variableImpactsOverRuns[row][i] - referenceImpacts[i]; 206 } 207 // wilcoxon signed rank test is used because the impact values of two variables in a single run are not independent 208 alglib.wsr.wilcoxonsignedranktest(z, z.Length, 0, ref bothTails, ref leftTail, ref rightTail); 209 matrix[row, numberOfRuns + 3] = Math.Round(bothTails, 4); 210 } 211 } 212 213 // fill matrix with impacts from runs 214 for (int i = 0; i < runs.Length; i++) { 215 IRun run = runs[i]; 216 DoubleMatrix runVariableImpacts = (DoubleMatrix)run.Results[variableImpactResultName]; 217 for (int j = 0; j < runVariableImpacts.Rows; j++) { 218 int rowIndex = variableNamesList.FindIndex(s => s == runVariableImpacts.RowNames.ElementAt(j)); 219 if (rowIndex > -1) { 220 matrix[rowIndex, i] = Math.Round(runVariableImpacts[j, 0], 3); 221 } 222 } 223 } 224 // sort by median 225 var sortedMatrix = (DoubleMatrix)matrix.Clone(); 226 var sortedIndexes = from i in Enumerable.Range(0, sortedMatrix.Rows) 227 orderby matrix[i, numberOfRuns] 228 select i; 229 230 int targetIndex = 0; 231 foreach (var sourceIndex in sortedIndexes) { 232 for (int c = 0; c < matrix.Columns; c++) 233 sortedMatrix[targetIndex, c] = matrix[sourceIndex, c]; 234 targetIndex++; 235 } 236 sortedMatrix.RowNames = sortedIndexes.Select(i => variableNamesList[i]); 237 238 return sortedMatrix; 173 239 } 174 240 … … 213 279 } 214 280 } 281 215 282 } 216 283 } -
branches/GeneralizedQAP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/SymbolicDataAnalysisSolutionResponseFunctionView.cs
r6685 r6878 27 27 using HeuristicLab.Common; 28 28 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 29 using HeuristicLab. Encodings.SymbolicExpressionTreeEncoding.Views;29 using HeuristicLab.MainForm; 30 30 using HeuristicLab.MainForm.WindowsForms; 31 using System.Windows.Forms.DataVisualization.Charting;32 using HeuristicLab.MainForm;33 31 34 32 namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Views { … … 88 86 select varNode.VariableName) 89 87 .Distinct() 90 .OrderBy(x =>x)88 .OrderBy(x => x) 91 89 .ToList(); 92 90 93 91 medianValues.Clear(); 94 92 foreach (var variableName in referencedVariables) { 95 medianValues.Add(variableName, Content.ProblemData.Dataset.Get EnumeratedVariableValues(variableName).Median());93 medianValues.Add(variableName, Content.ProblemData.Dataset.GetDoubleValues(variableName).Median()); 96 94 } 97 95 … … 107 105 foreach (var variableName in variableNames) { 108 106 var variableTrackbar = new VariableTrackbar(variableName, 109 Content.ProblemData.Dataset.Get EnumeratedVariableValues(variableName));107 Content.ProblemData.Dataset.GetDoubleValues(variableName)); 110 108 variableTrackbar.Size = new Size(variableTrackbar.Size.Width, flowLayoutPanel.Size.Height - 23); 111 109 variableTrackbar.ValueChanged += TrackBarValueChanged; … … 132 130 .Except(new string[] { freeVariable }); 133 131 134 var freeVariableValues = Content.ProblemData.Dataset.Get EnumeratedVariableValues(freeVariable, Content.ProblemData.TrainingIndizes).ToArray();132 var freeVariableValues = Content.ProblemData.Dataset.GetDoubleValues(freeVariable, Content.ProblemData.TrainingIndizes).ToArray(); 135 133 var responseValues = Content.Model.Interpreter.GetSymbolicExpressionTreeValues(clonedTree, 136 134 Content.ProblemData.Dataset, -
branches/GeneralizedQAP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/ConstantView.Designer.cs
r5832 r6878 69 69 this.initialFrequencyTextBox.Size = new System.Drawing.Size(280, 20); 70 70 // 71 // minimumArityTextBox 72 // 73 this.errorProvider.SetIconAlignment(this.minimumArityTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 74 this.minimumArityTextBox.Size = new System.Drawing.Size(280, 20); 75 // 76 // maximumArityTextBox 77 // 78 this.errorProvider.SetIconAlignment(this.maximumArityTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 79 this.maximumArityTextBox.Size = new System.Drawing.Size(280, 20); 80 // 71 81 // nameTextBox 72 82 // … … 92 102 // 93 103 this.minValueTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 94 104 | System.Windows.Forms.AnchorStyles.Right))); 95 105 this.errorProvider.SetIconAlignment(this.minValueTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 96 106 this.minValueTextBox.Location = new System.Drawing.Point(92, 19); … … 104 114 // 105 115 this.initializationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 106 116 | System.Windows.Forms.AnchorStyles.Right))); 107 117 this.initializationGroupBox.Controls.Add(this.weightSigmaLabel); 108 118 this.initializationGroupBox.Controls.Add(this.maxValueTextBox); 109 119 this.initializationGroupBox.Controls.Add(this.weightNuLabel); 110 120 this.initializationGroupBox.Controls.Add(this.minValueTextBox); 111 this.initializationGroupBox.Location = new System.Drawing.Point(0, 52);121 this.initializationGroupBox.Location = new System.Drawing.Point(0, 127); 112 122 this.initializationGroupBox.Name = "initializationGroupBox"; 113 123 this.initializationGroupBox.Size = new System.Drawing.Size(398, 73); … … 129 139 // 130 140 this.maxValueTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 131 141 | System.Windows.Forms.AnchorStyles.Right))); 132 142 this.errorProvider.SetIconAlignment(this.maxValueTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 133 143 this.maxValueTextBox.Location = new System.Drawing.Point(92, 45); … … 141 151 // 142 152 this.mutationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 143 153 | System.Windows.Forms.AnchorStyles.Right))); 144 154 this.mutationGroupBox.Controls.Add(this.multiplicativeChangeLabel); 145 155 this.mutationGroupBox.Controls.Add(this.multiplicativeChangeSigmaTextBox); 146 156 this.mutationGroupBox.Controls.Add(this.additiveChangeLabel); 147 157 this.mutationGroupBox.Controls.Add(this.additiveChangeSigmaTextBox); 148 this.mutationGroupBox.Location = new System.Drawing.Point(0, 131);158 this.mutationGroupBox.Location = new System.Drawing.Point(0, 206); 149 159 this.mutationGroupBox.Name = "mutationGroupBox"; 150 160 this.mutationGroupBox.Size = new System.Drawing.Size(398, 73); … … 162 172 this.multiplicativeChangeLabel.Text = "Multiplicative change (sigma):"; 163 173 this.toolTip.SetToolTip(this.multiplicativeChangeLabel, "The sigma (std. dev.) parameter for the normal distribution to use to sample the " + 164 174 "multiplicative change."); 165 175 // 166 176 // multiplicativeChangeSigmaTextBox 167 177 // 168 178 this.multiplicativeChangeSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 169 179 | System.Windows.Forms.AnchorStyles.Right))); 170 180 this.errorProvider.SetIconAlignment(this.multiplicativeChangeSigmaTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 171 181 this.multiplicativeChangeSigmaTextBox.Location = new System.Drawing.Point(168, 45); … … 174 184 this.multiplicativeChangeSigmaTextBox.TabIndex = 3; 175 185 this.toolTip.SetToolTip(this.multiplicativeChangeSigmaTextBox, "The sigma (std. dev.) parameter for the normal distribution to use to sample a mu" + 176 186 "ltiplicative change."); 177 187 this.multiplicativeChangeSigmaTextBox.TextChanged += new System.EventHandler(this.multiplicativeChangeSigmaTextBox_TextChanged); 178 188 // … … 186 196 this.additiveChangeLabel.Text = "Additive change (sigma):"; 187 197 this.toolTip.SetToolTip(this.additiveChangeLabel, "The sigma (std. dev.) parameter for the normal distribution to sample the additiv" + 188 198 "e change."); 189 199 // 190 200 // additiveChangeSigmaTextBox 191 201 // 192 202 this.additiveChangeSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 193 203 | System.Windows.Forms.AnchorStyles.Right))); 194 204 this.errorProvider.SetIconAlignment(this.additiveChangeSigmaTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 195 205 this.additiveChangeSigmaTextBox.Location = new System.Drawing.Point(168, 19); … … 198 208 this.additiveChangeSigmaTextBox.TabIndex = 1; 199 209 this.toolTip.SetToolTip(this.additiveChangeSigmaTextBox, "The sigma (std. dev.) parameter for the normal distribution to use to sample an a" + 200 210 "dditive change."); 201 211 this.additiveChangeSigmaTextBox.TextChanged += new System.EventHandler(this.additiveChangeSigmaTextBox_TextChanged); 202 212 // … … 208 218 this.Controls.Add(this.initializationGroupBox); 209 219 this.Name = "ConstantView"; 210 this.Size = new System.Drawing.Size(398, 211); 220 this.Size = new System.Drawing.Size(398, 284); 221 this.Controls.SetChildIndex(this.maximumArityLabel, 0); 222 this.Controls.SetChildIndex(this.maximumArityTextBox, 0); 223 this.Controls.SetChildIndex(this.minimumArityLabel, 0); 224 this.Controls.SetChildIndex(this.minimumArityTextBox, 0); 211 225 this.Controls.SetChildIndex(this.infoLabel, 0); 212 226 this.Controls.SetChildIndex(this.initializationGroupBox, 0); -
branches/GeneralizedQAP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/LaggedVariableView.Designer.cs
r5832 r6878 64 64 // 65 65 this.toolTip.SetToolTip(this.weightInitializationMuTextBox, "The mu (mean) parameter of the normal distribution from which to sample the initi" + 66 66 "al weights."); 67 67 // 68 68 // initializationGroupBox … … 78 78 // 79 79 this.toolTip.SetToolTip(this.weightInitializationSigmaTextBox, "The sigma parameter for the normal distribution from which to sample the initial " + 80 80 "weights."); 81 81 // 82 82 // mutationGroupBox … … 88 88 // 89 89 this.toolTip.SetToolTip(this.multiplicativeWeightChangeLabel, "The sigma parameter for the normal distribution to use to sample a multiplicative" + 90 90 " change in weight."); 91 91 // 92 92 // multiplicativeWeightChangeSigmaTextBox 93 93 // 94 94 this.toolTip.SetToolTip(this.multiplicativeWeightChangeSigmaTextBox, "The sigma (std.dev.) parameter for the normal distribution to sample a multiplica" + 95 95 "tive change in weight."); 96 96 // 97 97 // additiveWeightChangeLabel 98 98 // 99 99 this.toolTip.SetToolTip(this.additiveWeightChangeLabel, "The sigma (std.dev.) parameter for the normal distribution to sample an additive " + 100 100 "change in weight."); 101 101 // 102 102 // additiveWeightChangeSigmaTextBox 103 103 // 104 104 this.toolTip.SetToolTip(this.additiveWeightChangeSigmaTextBox, "The sigma (std.dev.) parameter for the normal distribution to sample an additive " + 105 105 "change in weight."); 106 106 // 107 107 // variableNamesTabPage 108 108 // 109 this.variableNamesTabPage.Size = new System.Drawing.Size(400, 1 64);109 this.variableNamesTabPage.Size = new System.Drawing.Size(400, 149); 110 110 // 111 111 // parametersTabPage 112 112 // 113 this.parametersTabPage.Size = new System.Drawing.Size(400, 1 64);113 this.parametersTabPage.Size = new System.Drawing.Size(400, 149); 114 114 // 115 115 // tabControl 116 116 // 117 this.tabControl.Location = new System.Drawing.Point(0, 1 04);118 this.tabControl.Size = new System.Drawing.Size(408, 1 90);117 this.tabControl.Location = new System.Drawing.Point(0, 179); 118 this.tabControl.Size = new System.Drawing.Size(408, 175); 119 119 this.tabControl.TabIndex = 9; 120 120 // … … 126 126 // 127 127 this.errorProvider.SetIconAlignment(this.initialFrequencyTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 128 // 129 // minimumArityTextBox 130 // 131 this.errorProvider.SetIconAlignment(this.minimumArityTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 132 this.minimumArityTextBox.Size = new System.Drawing.Size(315, 20); 133 // 134 // maximumArityTextBox 135 // 136 this.errorProvider.SetIconAlignment(this.maximumArityTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 137 this.maximumArityTextBox.Size = new System.Drawing.Size(315, 20); 128 138 // 129 139 // nameTextBox … … 135 145 // 136 146 this.minTimeOffsetLabel.AutoSize = true; 137 this.minTimeOffsetLabel.Location = new System.Drawing.Point(3, 55);147 this.minTimeOffsetLabel.Location = new System.Drawing.Point(3, 130); 138 148 this.minTimeOffsetLabel.Name = "minTimeOffsetLabel"; 139 149 this.minTimeOffsetLabel.Size = new System.Drawing.Size(81, 13); … … 144 154 // 145 155 this.maxTimeOffsetLabel.AutoSize = true; 146 this.maxTimeOffsetLabel.Location = new System.Drawing.Point(3, 81);156 this.maxTimeOffsetLabel.Location = new System.Drawing.Point(3, 156); 147 157 this.maxTimeOffsetLabel.Name = "maxTimeOffsetLabel"; 148 158 this.maxTimeOffsetLabel.Size = new System.Drawing.Size(84, 13); … … 152 162 // minTimeOffsetTextBox 153 163 // 154 this.minTimeOffsetTextBox.Location = new System.Drawing.Point(93, 52); 164 this.minTimeOffsetTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 165 | System.Windows.Forms.AnchorStyles.Right))); 166 this.minTimeOffsetTextBox.Location = new System.Drawing.Point(93, 127); 155 167 this.minTimeOffsetTextBox.Name = "minTimeOffsetTextBox"; 156 168 this.minTimeOffsetTextBox.Size = new System.Drawing.Size(315, 20); … … 160 172 // maxTimeOffsetTextBox 161 173 // 162 this.maxTimeOffsetTextBox.Location = new System.Drawing.Point(93, 78); 174 this.maxTimeOffsetTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 175 | System.Windows.Forms.AnchorStyles.Right))); 176 this.maxTimeOffsetTextBox.Location = new System.Drawing.Point(93, 153); 163 177 this.maxTimeOffsetTextBox.Name = "maxTimeOffsetTextBox"; 164 178 this.maxTimeOffsetTextBox.Size = new System.Drawing.Size(315, 20); … … 171 185 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 172 186 this.Controls.Add(this.minTimeOffsetTextBox); 187 this.Controls.Add(this.maxTimeOffsetLabel); 173 188 this.Controls.Add(this.minTimeOffsetLabel); 174 this.Controls.Add(this.maxTimeOffsetLabel);175 189 this.Controls.Add(this.maxTimeOffsetTextBox); 176 190 this.Name = "LaggedVariableView"; 177 this.Size = new System.Drawing.Size(408, 292);191 this.Size = new System.Drawing.Size(408, 352); 178 192 this.Controls.SetChildIndex(this.maxTimeOffsetTextBox, 0); 193 this.Controls.SetChildIndex(this.minTimeOffsetLabel, 0); 179 194 this.Controls.SetChildIndex(this.maxTimeOffsetLabel, 0); 180 this.Controls.SetChildIndex(this.minTimeOffsetLabel, 0);181 195 this.Controls.SetChildIndex(this.minTimeOffsetTextBox, 0); 196 this.Controls.SetChildIndex(this.maximumArityLabel, 0); 197 this.Controls.SetChildIndex(this.maximumArityTextBox, 0); 198 this.Controls.SetChildIndex(this.minimumArityLabel, 0); 199 this.Controls.SetChildIndex(this.minimumArityTextBox, 0); 182 200 this.Controls.SetChildIndex(this.infoLabel, 0); 183 201 this.Controls.SetChildIndex(this.tabControl, 0); -
branches/GeneralizedQAP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/TimeLagView.Designer.cs
r5832 r6878 62 62 this.initialFrequencyTextBox.Size = new System.Drawing.Size(315, 20); 63 63 // 64 // minimumArityTextBox 65 // 66 this.errorProvider.SetIconAlignment(this.minimumArityTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 67 this.minimumArityTextBox.Size = new System.Drawing.Size(315, 20); 68 // 69 // maximumArityTextBox 70 // 71 this.errorProvider.SetIconAlignment(this.maximumArityTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 72 this.maximumArityTextBox.Size = new System.Drawing.Size(315, 20); 73 // 64 74 // nameTextBox 65 75 // … … 75 85 // 76 86 this.minTimeOffsetLabel.AutoSize = true; 77 this.minTimeOffsetLabel.Location = new System.Drawing.Point(3, 55);87 this.minTimeOffsetLabel.Location = new System.Drawing.Point(3, 130); 78 88 this.minTimeOffsetLabel.Name = "minTimeOffsetLabel"; 79 89 this.minTimeOffsetLabel.Size = new System.Drawing.Size(81, 13); … … 84 94 // 85 95 this.maxTimeOffsetLabel.AutoSize = true; 86 this.maxTimeOffsetLabel.Location = new System.Drawing.Point(3, 81);96 this.maxTimeOffsetLabel.Location = new System.Drawing.Point(3, 156); 87 97 this.maxTimeOffsetLabel.Name = "maxTimeOffsetLabel"; 88 98 this.maxTimeOffsetLabel.Size = new System.Drawing.Size(84, 13); … … 92 102 // minTimeOffsetTextBox 93 103 // 94 this.minTimeOffsetTextBox.Location = new System.Drawing.Point(93, 52); 104 this.minTimeOffsetTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 105 | System.Windows.Forms.AnchorStyles.Right))); 106 this.minTimeOffsetTextBox.Location = new System.Drawing.Point(93, 127); 95 107 this.minTimeOffsetTextBox.Name = "minTimeOffsetTextBox"; 96 108 this.minTimeOffsetTextBox.Size = new System.Drawing.Size(315, 20); … … 100 112 // maxTimeOffsetTextBox 101 113 // 102 this.maxTimeOffsetTextBox.Location = new System.Drawing.Point(93, 78); 114 this.maxTimeOffsetTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 115 | System.Windows.Forms.AnchorStyles.Right))); 116 this.maxTimeOffsetTextBox.Location = new System.Drawing.Point(93, 153); 103 117 this.maxTimeOffsetTextBox.Name = "maxTimeOffsetTextBox"; 104 118 this.maxTimeOffsetTextBox.Size = new System.Drawing.Size(315, 20); … … 115 129 this.Controls.Add(this.minTimeOffsetLabel); 116 130 this.Name = "LaggedSymbolView"; 117 this.Size = new System.Drawing.Size(408, 104); 131 this.Size = new System.Drawing.Size(408, 179); 132 this.Controls.SetChildIndex(this.maximumArityLabel, 0); 133 this.Controls.SetChildIndex(this.maximumArityTextBox, 0); 134 this.Controls.SetChildIndex(this.minimumArityLabel, 0); 135 this.Controls.SetChildIndex(this.minimumArityTextBox, 0); 118 136 this.Controls.SetChildIndex(this.infoLabel, 0); 119 137 this.Controls.SetChildIndex(this.initialFrequencyTextBox, 0); -
branches/GeneralizedQAP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/VariableConditionView.Designer.cs
r5832 r6878 78 78 this.initialFrequencyTextBox.Size = new System.Drawing.Size(233, 20); 79 79 // 80 // minimumArityTextBox 81 // 82 this.errorProvider.SetIconAlignment(this.minimumArityTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 83 // 84 // maximumArityTextBox 85 // 86 this.errorProvider.SetIconAlignment(this.maximumArityTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 87 // 80 88 // nameTextBox 81 89 // … … 97 105 // 98 106 this.thresholdInitializationMuTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 99 107 | System.Windows.Forms.AnchorStyles.Right))); 100 108 this.thresholdInitializationMuTextBox.Location = new System.Drawing.Point(114, 15); 101 109 this.thresholdInitializationMuTextBox.Name = "thresholdInitializationMuTextBox"; … … 103 111 this.thresholdInitializationMuTextBox.TabIndex = 1; 104 112 this.toolTip.SetToolTip(this.thresholdInitializationMuTextBox, "The mu (mean) parameter of the normal distribution from which to sample the initi" + 105 113 "al thresholds."); 106 114 this.thresholdInitializationMuTextBox.TextChanged += new System.EventHandler(this.thresholdMuTextBox_TextChanged); 107 115 // … … 109 117 // 110 118 this.initializationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 111 119 | System.Windows.Forms.AnchorStyles.Right))); 112 120 this.initializationGroupBox.Controls.Add(this.slopeInitializationSigmaLabel); 113 121 this.initializationGroupBox.Controls.Add(this.slopeInitializationSigmaTextBox); … … 118 126 this.initializationGroupBox.Controls.Add(this.thresholdInitializationMuLabel); 119 127 this.initializationGroupBox.Controls.Add(this.thresholdInitializationMuTextBox); 120 this.initializationGroupBox.Location = new System.Drawing.Point(0, 52);128 this.initializationGroupBox.Location = new System.Drawing.Point(0, 127); 121 129 this.initializationGroupBox.Name = "initializationGroupBox"; 122 130 this.initializationGroupBox.Size = new System.Drawing.Size(326, 127); … … 138 146 // 139 147 this.slopeInitializationSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 140 148 | System.Windows.Forms.AnchorStyles.Right))); 141 149 this.slopeInitializationSigmaTextBox.Location = new System.Drawing.Point(114, 102); 142 150 this.slopeInitializationSigmaTextBox.Name = "slopeInitializationSigmaTextBox"; … … 144 152 this.slopeInitializationSigmaTextBox.TabIndex = 7; 145 153 this.toolTip.SetToolTip(this.slopeInitializationSigmaTextBox, "The sigma parameter for the normal distribution from which to sample the initial " + 146 154 "slopes."); 147 155 this.slopeInitializationSigmaTextBox.TextChanged += new System.EventHandler(this.slopeInitializationSigmaTextBox_TextChanged); 148 156 // … … 160 168 // 161 169 this.slopeInitializationMuTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 162 170 | System.Windows.Forms.AnchorStyles.Right))); 163 171 this.slopeInitializationMuTextBox.Location = new System.Drawing.Point(114, 76); 164 172 this.slopeInitializationMuTextBox.Name = "slopeInitializationMuTextBox"; … … 166 174 this.slopeInitializationMuTextBox.TabIndex = 5; 167 175 this.toolTip.SetToolTip(this.slopeInitializationMuTextBox, "The mu (mean) parameter of the normal distribution from which to sample the initi" + 168 176 "al slopes."); 169 177 this.slopeInitializationMuTextBox.TextChanged += new System.EventHandler(this.slopeInitializationMuTextBox_TextChanged); 170 178 // … … 182 190 // 183 191 this.thresholdInitializationSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 184 192 | System.Windows.Forms.AnchorStyles.Right))); 185 193 this.thresholdInitializationSigmaTextBox.Location = new System.Drawing.Point(114, 41); 186 194 this.thresholdInitializationSigmaTextBox.Name = "thresholdInitializationSigmaTextBox"; … … 188 196 this.thresholdInitializationSigmaTextBox.TabIndex = 3; 189 197 this.toolTip.SetToolTip(this.thresholdInitializationSigmaTextBox, "The sigma parameter for the normal distribution from which to sample the initial " + 190 198 "thresholds."); 191 199 this.thresholdInitializationSigmaTextBox.TextChanged += new System.EventHandler(this.thresholdInitializationSigmaTextBox_TextChanged); 192 200 // … … 194 202 // 195 203 this.mutationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 196 204 | System.Windows.Forms.AnchorStyles.Right))); 197 205 this.mutationGroupBox.Controls.Add(this.slopeChangeSigmaLabel); 198 206 this.mutationGroupBox.Controls.Add(this.slopeChangeSigmaTextBox); … … 203 211 this.mutationGroupBox.Controls.Add(this.ThresholdChangeMuLabel); 204 212 this.mutationGroupBox.Controls.Add(this.thresholdChangeMuTextBox); 205 this.mutationGroupBox.Location = new System.Drawing.Point(0, 185);213 this.mutationGroupBox.Location = new System.Drawing.Point(0, 260); 206 214 this.mutationGroupBox.Name = "mutationGroupBox"; 207 215 this.mutationGroupBox.Size = new System.Drawing.Size(326, 127); … … 219 227 this.slopeChangeSigmaLabel.Text = "Slope change (sigma):"; 220 228 this.toolTip.SetToolTip(this.slopeChangeSigmaLabel, "The sigma parameter for the normal distribution to use to sample the change in sl" + 221 229 "ope."); 222 230 // 223 231 // slopeChangeSigmaTextBox 224 232 // 225 233 this.slopeChangeSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 226 234 | System.Windows.Forms.AnchorStyles.Right))); 227 235 this.slopeChangeSigmaTextBox.Location = new System.Drawing.Point(149, 99); 228 236 this.slopeChangeSigmaTextBox.Name = "slopeChangeSigmaTextBox"; … … 230 238 this.slopeChangeSigmaTextBox.TabIndex = 7; 231 239 this.toolTip.SetToolTip(this.slopeChangeSigmaTextBox, "The sigma parameter for the normal distribution to use to sample the change in sl" + 232 240 "ope."); 233 241 this.slopeChangeSigmaTextBox.TextChanged += new System.EventHandler(this.slopeChangeSigmaTextBox_TextChanged); 234 242 // … … 242 250 this.slopeChangeMuLabel.Text = "Slope change (mu):"; 243 251 this.toolTip.SetToolTip(this.slopeChangeMuLabel, "The nu (mean) parameter for the normal distribution to sample the change in slope" + 244 252 "."); 245 253 // 246 254 // slopeChangeMuTextBox 247 255 // 248 256 this.slopeChangeMuTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 249 257 | System.Windows.Forms.AnchorStyles.Right))); 250 258 this.slopeChangeMuTextBox.Location = new System.Drawing.Point(149, 73); 251 259 this.slopeChangeMuTextBox.Name = "slopeChangeMuTextBox"; … … 253 261 this.slopeChangeMuTextBox.TabIndex = 5; 254 262 this.toolTip.SetToolTip(this.slopeChangeMuTextBox, "The mu (mean) parameter for the normal distribution to sample the change in slope" + 255 263 "."); 256 264 this.slopeChangeMuTextBox.TextChanged += new System.EventHandler(this.slopeChangeMuTextBox_TextChanged); 257 265 // … … 265 273 this.thresholdChangeSigmaLabel.Text = "Threshold change (sigma):"; 266 274 this.toolTip.SetToolTip(this.thresholdChangeSigmaLabel, "The sigma parameter for the normal distribution to use to sample the change in th" + 267 275 "reshold."); 268 276 // 269 277 // thresholdChangeSigmaTextBox 270 278 // 271 279 this.thresholdChangeSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 272 280 | System.Windows.Forms.AnchorStyles.Right))); 273 281 this.thresholdChangeSigmaTextBox.Location = new System.Drawing.Point(149, 41); 274 282 this.thresholdChangeSigmaTextBox.Name = "thresholdChangeSigmaTextBox"; … … 276 284 this.thresholdChangeSigmaTextBox.TabIndex = 3; 277 285 this.toolTip.SetToolTip(this.thresholdChangeSigmaTextBox, "The sigma parameter for the normal distribution to use to sample the change in th" + 278 286 "reshold."); 279 287 this.thresholdChangeSigmaTextBox.TextChanged += new System.EventHandler(this.thresholdChangeSigmaTextBox_TextChanged); 280 288 // … … 288 296 this.ThresholdChangeMuLabel.Text = "Threshold change (mu):"; 289 297 this.toolTip.SetToolTip(this.ThresholdChangeMuLabel, "The nu (mean) parameter for the normal distribution to sample the change in thres" + 290 298 "hold."); 291 299 // 292 300 // thresholdChangeMuTextBox 293 301 // 294 302 this.thresholdChangeMuTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 295 303 | System.Windows.Forms.AnchorStyles.Right))); 296 304 this.thresholdChangeMuTextBox.Location = new System.Drawing.Point(149, 15); 297 305 this.thresholdChangeMuTextBox.Name = "thresholdChangeMuTextBox"; … … 299 307 this.thresholdChangeMuTextBox.TabIndex = 1; 300 308 this.toolTip.SetToolTip(this.thresholdChangeMuTextBox, "The mu (mean) parameter for the normal distribution to sample the change in thres" + 301 309 "hold."); 302 310 this.thresholdChangeMuTextBox.TextChanged += new System.EventHandler(this.thresholdChangeMuTextBox_TextChanged); 303 311 // … … 309 317 this.Controls.Add(this.initializationGroupBox); 310 318 this.Name = "VariableConditionView"; 311 this.Size = new System.Drawing.Size(326, 315); 319 this.Size = new System.Drawing.Size(326, 376); 320 this.Controls.SetChildIndex(this.maximumArityLabel, 0); 321 this.Controls.SetChildIndex(this.maximumArityTextBox, 0); 322 this.Controls.SetChildIndex(this.minimumArityLabel, 0); 323 this.Controls.SetChildIndex(this.minimumArityTextBox, 0); 312 324 this.Controls.SetChildIndex(this.infoLabel, 0); 313 325 this.Controls.SetChildIndex(this.initializationGroupBox, 0); -
branches/GeneralizedQAP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/VariableView.Designer.cs
r5832 r6878 72 72 // 73 73 this.errorProvider.SetIconAlignment(this.initialFrequencyTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 74 this.initialFrequencyTextBox.Size = new System.Drawing.Size(315, 20); 74 this.initialFrequencyTextBox.Size = new System.Drawing.Size(311, 20); 75 // 76 // minimumArityTextBox 77 // 78 this.errorProvider.SetIconAlignment(this.minimumArityTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 79 this.minimumArityTextBox.Size = new System.Drawing.Size(311, 20); 80 // 81 // maximumArityTextBox 82 // 83 this.errorProvider.SetIconAlignment(this.maximumArityTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 84 this.maximumArityTextBox.Size = new System.Drawing.Size(311, 20); 75 85 // 76 86 // nameTextBox … … 96 106 // weightInitializationMuTextBox 97 107 // 98 this.weightInitializationMuTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 99 108 this.weightInitializationMuTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 109 | System.Windows.Forms.AnchorStyles.Right))); 100 110 this.weightInitializationMuTextBox.Location = new System.Drawing.Point(92, 19); 101 111 this.weightInitializationMuTextBox.Name = "weightInitializationMuTextBox"; 102 this.weightInitializationMuTextBox.Size = new System.Drawing.Size(2 75, 20);112 this.weightInitializationMuTextBox.Size = new System.Drawing.Size(290, 20); 103 113 this.weightInitializationMuTextBox.TabIndex = 1; 104 114 this.toolTip.SetToolTip(this.weightInitializationMuTextBox, "The mu (mean) parameter of the normal distribution from which to sample the initi" + 105 115 "al weights."); 106 116 this.weightInitializationMuTextBox.TextChanged += new System.EventHandler(this.weightMuTextBox_TextChanged); 107 117 // 108 118 // initializationGroupBox 109 119 // 110 this.initializationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 111 120 this.initializationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 121 | System.Windows.Forms.AnchorStyles.Right))); 112 122 this.initializationGroupBox.Controls.Add(this.weightSigmaLabel); 113 123 this.initializationGroupBox.Controls.Add(this.weightInitializationSigmaTextBox); … … 116 126 this.initializationGroupBox.Location = new System.Drawing.Point(6, 6); 117 127 this.initializationGroupBox.Name = "initializationGroupBox"; 118 this.initializationGroupBox.Size = new System.Drawing.Size(3 73, 73);128 this.initializationGroupBox.Size = new System.Drawing.Size(388, 73); 119 129 this.initializationGroupBox.TabIndex = 0; 120 130 this.initializationGroupBox.TabStop = false; … … 133 143 // weightInitializationSigmaTextBox 134 144 // 135 this.weightInitializationSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 136 145 this.weightInitializationSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 146 | System.Windows.Forms.AnchorStyles.Right))); 137 147 this.weightInitializationSigmaTextBox.Location = new System.Drawing.Point(92, 45); 138 148 this.weightInitializationSigmaTextBox.Name = "weightInitializationSigmaTextBox"; 139 this.weightInitializationSigmaTextBox.Size = new System.Drawing.Size(2 75, 20);149 this.weightInitializationSigmaTextBox.Size = new System.Drawing.Size(290, 20); 140 150 this.weightInitializationSigmaTextBox.TabIndex = 3; 141 151 this.toolTip.SetToolTip(this.weightInitializationSigmaTextBox, "The sigma parameter for the normal distribution from which to sample the initial " + 142 152 "weights."); 143 153 this.weightInitializationSigmaTextBox.TextChanged += new System.EventHandler(this.weightSigmaTextBox_TextChanged); 144 154 // 145 155 // mutationGroupBox 146 156 // 147 this.mutationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 148 157 this.mutationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 158 | System.Windows.Forms.AnchorStyles.Right))); 149 159 this.mutationGroupBox.Controls.Add(this.multiplicativeWeightChangeLabel); 150 160 this.mutationGroupBox.Controls.Add(this.multiplicativeWeightChangeSigmaTextBox); … … 153 163 this.mutationGroupBox.Location = new System.Drawing.Point(6, 85); 154 164 this.mutationGroupBox.Name = "mutationGroupBox"; 155 this.mutationGroupBox.Size = new System.Drawing.Size(3 73, 73);165 this.mutationGroupBox.Size = new System.Drawing.Size(391, 73); 156 166 this.mutationGroupBox.TabIndex = 1; 157 167 this.mutationGroupBox.TabStop = false; … … 167 177 this.multiplicativeWeightChangeLabel.Text = "Multiplicative weight change (sigma):"; 168 178 this.toolTip.SetToolTip(this.multiplicativeWeightChangeLabel, "The sigma parameter for the normal distribution to use to sample a multiplicative" + 169 179 " change in weight."); 170 180 // 171 181 // multiplicativeWeightChangeSigmaTextBox 172 182 // 173 this.multiplicativeWeightChangeSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 174 183 this.multiplicativeWeightChangeSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 184 | System.Windows.Forms.AnchorStyles.Right))); 175 185 this.multiplicativeWeightChangeSigmaTextBox.Location = new System.Drawing.Point(201, 45); 176 186 this.multiplicativeWeightChangeSigmaTextBox.Name = "multiplicativeWeightChangeSigmaTextBox"; 177 this.multiplicativeWeightChangeSigmaTextBox.Size = new System.Drawing.Size(1 66, 20);187 this.multiplicativeWeightChangeSigmaTextBox.Size = new System.Drawing.Size(184, 20); 178 188 this.multiplicativeWeightChangeSigmaTextBox.TabIndex = 3; 179 189 this.toolTip.SetToolTip(this.multiplicativeWeightChangeSigmaTextBox, "The sigma (std.dev.) parameter for the normal distribution to sample a multiplica" + 180 190 "tive change in weight."); 181 191 this.multiplicativeWeightChangeSigmaTextBox.TextChanged += new System.EventHandler(this.multiplicativeWeightChangeSigmaTextBox_TextChanged); 182 192 // … … 190 200 this.additiveWeightChangeLabel.Text = "Additive weight change (sigma):"; 191 201 this.toolTip.SetToolTip(this.additiveWeightChangeLabel, "The sigma (std.dev.) parameter for the normal distribution to sample an additive " + 192 202 "change in weight."); 193 203 // 194 204 // additiveWeightChangeSigmaTextBox 195 205 // 196 this.additiveWeightChangeSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 197 206 this.additiveWeightChangeSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 207 | System.Windows.Forms.AnchorStyles.Right))); 198 208 this.additiveWeightChangeSigmaTextBox.Location = new System.Drawing.Point(201, 19); 199 209 this.additiveWeightChangeSigmaTextBox.Name = "additiveWeightChangeSigmaTextBox"; 200 this.additiveWeightChangeSigmaTextBox.Size = new System.Drawing.Size(1 66, 20);210 this.additiveWeightChangeSigmaTextBox.Size = new System.Drawing.Size(184, 20); 201 211 this.additiveWeightChangeSigmaTextBox.TabIndex = 1; 202 212 this.toolTip.SetToolTip(this.additiveWeightChangeSigmaTextBox, "The sigma (std.dev.) parameter for the normal distribution to sample an additive " + 203 213 "change in weight."); 204 214 this.additiveWeightChangeSigmaTextBox.TextChanged += new System.EventHandler(this.additiveWeightChangeSigmaTextBox_TextChanged); 205 215 // 206 216 // tabControl 207 217 // 208 this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 209 | System.Windows.Forms.AnchorStyles.Left)210 218 this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 219 | System.Windows.Forms.AnchorStyles.Left) 220 | System.Windows.Forms.AnchorStyles.Right))); 211 221 this.tabControl.Controls.Add(this.variableNamesTabPage); 212 222 this.tabControl.Controls.Add(this.parametersTabPage); 213 this.tabControl.Location = new System.Drawing.Point(0, 52);223 this.tabControl.Location = new System.Drawing.Point(0, 127); 214 224 this.tabControl.Name = "tabControl"; 215 225 this.tabControl.SelectedIndex = 0; 216 this.tabControl.Size = new System.Drawing.Size(408, 242);226 this.tabControl.Size = new System.Drawing.Size(408, 190); 217 227 this.tabControl.TabIndex = 5; 218 228 // … … 222 232 this.variableNamesTabPage.Name = "variableNamesTabPage"; 223 233 this.variableNamesTabPage.Padding = new System.Windows.Forms.Padding(3); 224 this.variableNamesTabPage.Size = new System.Drawing.Size(400, 216);234 this.variableNamesTabPage.Size = new System.Drawing.Size(400, 141); 225 235 this.variableNamesTabPage.TabIndex = 0; 226 236 this.variableNamesTabPage.Text = "Variable Names"; … … 234 244 this.parametersTabPage.Name = "parametersTabPage"; 235 245 this.parametersTabPage.Padding = new System.Windows.Forms.Padding(3); 236 this.parametersTabPage.Size = new System.Drawing.Size(400, 216);246 this.parametersTabPage.Size = new System.Drawing.Size(400, 164); 237 247 this.parametersTabPage.TabIndex = 1; 238 248 this.parametersTabPage.Text = "Parameters"; … … 245 255 this.Controls.Add(this.tabControl); 246 256 this.Name = "VariableView"; 247 this.Size = new System.Drawing.Size(408, 294); 257 this.Size = new System.Drawing.Size(408, 317); 258 this.Controls.SetChildIndex(this.maximumArityLabel, 0); 259 this.Controls.SetChildIndex(this.maximumArityTextBox, 0); 260 this.Controls.SetChildIndex(this.minimumArityLabel, 0); 261 this.Controls.SetChildIndex(this.minimumArityTextBox, 0); 248 262 this.Controls.SetChildIndex(this.infoLabel, 0); 249 263 this.Controls.SetChildIndex(this.initialFrequencyTextBox, 0); -
branches/GeneralizedQAP/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/VariableView.cs
r6599 r6878 87 87 protected override void OnContentChanged() { 88 88 base.OnContentChanged(); 89 variableNamesView.Content.Clear();90 89 UpdateControl(); 91 90 } … … 126 125 private void UpdateContent() { 127 126 if (Content != null) { 128 Content.Changed -= new EventHandler(Content_Changed);127 DeregisterContentEvents(); 129 128 Content.VariableNames = variableNamesView.Content.CheckedItems.Select(x => x.Value).ToList(); 130 Content.Changed += new EventHandler(Content_Changed);129 RegisterContentEvents(); 131 130 } 132 131 }
Note: See TracChangeset
for help on using the changeset viewer.