- Timestamp:
- 09/20/11 11:12:10 (13 years ago)
- Location:
- trunk/sources
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:ignore
-
old new 13 13 *.vsp 14 14 *.docstates 15 bin 16 HeuristicLab 3.3.6.0.ReSharper.user
-
- Property svn:mergeinfo changed
/branches/GP.Grammar.Editor (added) merged: 6284-6285,6296,6299,6335,6337,6377,6379,6387,6403,6409,6415,6493-6494,6497,6618,6620,6622,6626,6647,6675,6782,6784,6786,6795
- Property svn:ignore
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/HeuristicLab.Problems.DataAnalysis.Symbolic.Views-3.4.csproj
r6656 r6803 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" />96 95 <Reference Include="System" /> 97 96 <Reference Include="System.Core"> … … 187 186 <Project>{958B43BC-CC5C-4FA2-8628-2B3B01D890B6}</Project> 188 187 <Name>HeuristicLab.Collections-3.3</Name> 188 </ProjectReference> 189 <ProjectReference Include="..\..\HeuristicLab.Common.Resources\3.3\HeuristicLab.Common.Resources-3.3.csproj"> 190 <Project>{0E27A536-1C4A-4624-A65E-DC4F4F23E3E1}</Project> 191 <Name>HeuristicLab.Common.Resources-3.3</Name> 189 192 </ProjectReference> 190 193 <ProjectReference Include="..\..\HeuristicLab.Common\3.3\HeuristicLab.Common-3.3.csproj"> -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/InteractiveSymbolicDataAnalysisSolutionSimplifierView.cs
r6256 r6803 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 -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/ConstantView.Designer.cs
r5832 r6803 69 69 this.initialFrequencyTextBox.Size = new System.Drawing.Size(280, 20); 70 70 // 71 // minimumArityLabel 72 // 73 this.toolTip.SetToolTip(this.minimumArityLabel, "Relative frequency of the symbol in randomly created trees"); 74 // 75 // maximumArityLabel 76 // 77 this.toolTip.SetToolTip(this.maximumArityLabel, "Relative frequency of the symbol in randomly created trees"); 78 // 79 // minimumArityTextBox 80 // 81 this.errorProvider.SetIconAlignment(this.minimumArityTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 82 this.minimumArityTextBox.Size = new System.Drawing.Size(280, 20); 83 // 84 // maximumArityTextBox 85 // 86 this.errorProvider.SetIconAlignment(this.maximumArityTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 87 this.maximumArityTextBox.Size = new System.Drawing.Size(280, 20); 88 // 71 89 // nameTextBox 72 90 // … … 91 109 // minValueTextBox 92 110 // 93 this.minValueTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 94 111 this.minValueTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 112 | System.Windows.Forms.AnchorStyles.Right))); 95 113 this.errorProvider.SetIconAlignment(this.minValueTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 96 114 this.minValueTextBox.Location = new System.Drawing.Point(92, 19); … … 103 121 // initializationGroupBox 104 122 // 105 this.initializationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 106 123 this.initializationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 124 | System.Windows.Forms.AnchorStyles.Right))); 107 125 this.initializationGroupBox.Controls.Add(this.weightSigmaLabel); 108 126 this.initializationGroupBox.Controls.Add(this.maxValueTextBox); 109 127 this.initializationGroupBox.Controls.Add(this.weightNuLabel); 110 128 this.initializationGroupBox.Controls.Add(this.minValueTextBox); 111 this.initializationGroupBox.Location = new System.Drawing.Point(0, 52);129 this.initializationGroupBox.Location = new System.Drawing.Point(0, 127); 112 130 this.initializationGroupBox.Name = "initializationGroupBox"; 113 131 this.initializationGroupBox.Size = new System.Drawing.Size(398, 73); … … 128 146 // maxValueTextBox 129 147 // 130 this.maxValueTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 131 148 this.maxValueTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 149 | System.Windows.Forms.AnchorStyles.Right))); 132 150 this.errorProvider.SetIconAlignment(this.maxValueTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 133 151 this.maxValueTextBox.Location = new System.Drawing.Point(92, 45); … … 140 158 // mutationGroupBox 141 159 // 142 this.mutationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 143 160 this.mutationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 161 | System.Windows.Forms.AnchorStyles.Right))); 144 162 this.mutationGroupBox.Controls.Add(this.multiplicativeChangeLabel); 145 163 this.mutationGroupBox.Controls.Add(this.multiplicativeChangeSigmaTextBox); 146 164 this.mutationGroupBox.Controls.Add(this.additiveChangeLabel); 147 165 this.mutationGroupBox.Controls.Add(this.additiveChangeSigmaTextBox); 148 this.mutationGroupBox.Location = new System.Drawing.Point(0, 131);166 this.mutationGroupBox.Location = new System.Drawing.Point(0, 206); 149 167 this.mutationGroupBox.Name = "mutationGroupBox"; 150 168 this.mutationGroupBox.Size = new System.Drawing.Size(398, 73); … … 162 180 this.multiplicativeChangeLabel.Text = "Multiplicative change (sigma):"; 163 181 this.toolTip.SetToolTip(this.multiplicativeChangeLabel, "The sigma (std. dev.) parameter for the normal distribution to use to sample the " + 164 182 "multiplicative change."); 165 183 // 166 184 // multiplicativeChangeSigmaTextBox 167 185 // 168 this.multiplicativeChangeSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 169 186 this.multiplicativeChangeSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 187 | System.Windows.Forms.AnchorStyles.Right))); 170 188 this.errorProvider.SetIconAlignment(this.multiplicativeChangeSigmaTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 171 189 this.multiplicativeChangeSigmaTextBox.Location = new System.Drawing.Point(168, 45); … … 174 192 this.multiplicativeChangeSigmaTextBox.TabIndex = 3; 175 193 this.toolTip.SetToolTip(this.multiplicativeChangeSigmaTextBox, "The sigma (std. dev.) parameter for the normal distribution to use to sample a mu" + 176 194 "ltiplicative change."); 177 195 this.multiplicativeChangeSigmaTextBox.TextChanged += new System.EventHandler(this.multiplicativeChangeSigmaTextBox_TextChanged); 178 196 // … … 186 204 this.additiveChangeLabel.Text = "Additive change (sigma):"; 187 205 this.toolTip.SetToolTip(this.additiveChangeLabel, "The sigma (std. dev.) parameter for the normal distribution to sample the additiv" + 188 206 "e change."); 189 207 // 190 208 // additiveChangeSigmaTextBox 191 209 // 192 this.additiveChangeSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 193 210 this.additiveChangeSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 211 | System.Windows.Forms.AnchorStyles.Right))); 194 212 this.errorProvider.SetIconAlignment(this.additiveChangeSigmaTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 195 213 this.additiveChangeSigmaTextBox.Location = new System.Drawing.Point(168, 19); … … 198 216 this.additiveChangeSigmaTextBox.TabIndex = 1; 199 217 this.toolTip.SetToolTip(this.additiveChangeSigmaTextBox, "The sigma (std. dev.) parameter for the normal distribution to use to sample an a" + 200 218 "dditive change."); 201 219 this.additiveChangeSigmaTextBox.TextChanged += new System.EventHandler(this.additiveChangeSigmaTextBox_TextChanged); 202 220 // … … 208 226 this.Controls.Add(this.initializationGroupBox); 209 227 this.Name = "ConstantView"; 210 this.Size = new System.Drawing.Size(398, 211); 228 this.Size = new System.Drawing.Size(398, 284); 229 this.Controls.SetChildIndex(this.maximumArityLabel, 0); 230 this.Controls.SetChildIndex(this.maximumArityTextBox, 0); 231 this.Controls.SetChildIndex(this.minimumArityLabel, 0); 232 this.Controls.SetChildIndex(this.minimumArityTextBox, 0); 211 233 this.Controls.SetChildIndex(this.infoLabel, 0); 212 234 this.Controls.SetChildIndex(this.initializationGroupBox, 0); -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/LaggedVariableView.Designer.cs
r5832 r6803 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 … … 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 // minimumArityLabel 130 // 131 this.toolTip.SetToolTip(this.minimumArityLabel, "Relative frequency of the symbol in randomly created trees"); 132 // 133 // maximumArityLabel 134 // 135 this.toolTip.SetToolTip(this.maximumArityLabel, "Relative frequency of the symbol in randomly created trees"); 136 // 137 // minimumArityTextBox 138 // 139 this.errorProvider.SetIconAlignment(this.minimumArityTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 140 this.minimumArityTextBox.Size = new System.Drawing.Size(315, 20); 141 // 142 // maximumArityTextBox 143 // 144 this.errorProvider.SetIconAlignment(this.maximumArityTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 145 this.maximumArityTextBox.Size = new System.Drawing.Size(315, 20); 128 146 // 129 147 // nameTextBox … … 135 153 // 136 154 this.minTimeOffsetLabel.AutoSize = true; 137 this.minTimeOffsetLabel.Location = new System.Drawing.Point(3, 55);155 this.minTimeOffsetLabel.Location = new System.Drawing.Point(3, 130); 138 156 this.minTimeOffsetLabel.Name = "minTimeOffsetLabel"; 139 157 this.minTimeOffsetLabel.Size = new System.Drawing.Size(81, 13); … … 144 162 // 145 163 this.maxTimeOffsetLabel.AutoSize = true; 146 this.maxTimeOffsetLabel.Location = new System.Drawing.Point(3, 81);164 this.maxTimeOffsetLabel.Location = new System.Drawing.Point(3, 156); 147 165 this.maxTimeOffsetLabel.Name = "maxTimeOffsetLabel"; 148 166 this.maxTimeOffsetLabel.Size = new System.Drawing.Size(84, 13); … … 152 170 // minTimeOffsetTextBox 153 171 // 154 this.minTimeOffsetTextBox.Location = new System.Drawing.Point(93, 52);172 this.minTimeOffsetTextBox.Location = new System.Drawing.Point(93, 127); 155 173 this.minTimeOffsetTextBox.Name = "minTimeOffsetTextBox"; 156 174 this.minTimeOffsetTextBox.Size = new System.Drawing.Size(315, 20); … … 160 178 // maxTimeOffsetTextBox 161 179 // 162 this.maxTimeOffsetTextBox.Location = new System.Drawing.Point(93, 78);180 this.maxTimeOffsetTextBox.Location = new System.Drawing.Point(93, 153); 163 181 this.maxTimeOffsetTextBox.Name = "maxTimeOffsetTextBox"; 164 182 this.maxTimeOffsetTextBox.Size = new System.Drawing.Size(315, 20); … … 171 189 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 172 190 this.Controls.Add(this.minTimeOffsetTextBox); 191 this.Controls.Add(this.maxTimeOffsetLabel); 173 192 this.Controls.Add(this.minTimeOffsetLabel); 174 this.Controls.Add(this.maxTimeOffsetLabel);175 193 this.Controls.Add(this.maxTimeOffsetTextBox); 176 194 this.Name = "LaggedVariableView"; 177 this.Size = new System.Drawing.Size(408, 292);195 this.Size = new System.Drawing.Size(408, 352); 178 196 this.Controls.SetChildIndex(this.maxTimeOffsetTextBox, 0); 197 this.Controls.SetChildIndex(this.minTimeOffsetLabel, 0); 179 198 this.Controls.SetChildIndex(this.maxTimeOffsetLabel, 0); 180 this.Controls.SetChildIndex(this.minTimeOffsetLabel, 0);181 199 this.Controls.SetChildIndex(this.minTimeOffsetTextBox, 0); 200 this.Controls.SetChildIndex(this.maximumArityLabel, 0); 201 this.Controls.SetChildIndex(this.maximumArityTextBox, 0); 202 this.Controls.SetChildIndex(this.minimumArityLabel, 0); 203 this.Controls.SetChildIndex(this.minimumArityTextBox, 0); 182 204 this.Controls.SetChildIndex(this.infoLabel, 0); 183 205 this.Controls.SetChildIndex(this.tabControl, 0); -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/TimeLagView.Designer.cs
r5832 r6803 62 62 this.initialFrequencyTextBox.Size = new System.Drawing.Size(315, 20); 63 63 // 64 // minimumArityLabel 65 // 66 this.toolTip.SetToolTip(this.minimumArityLabel, "Relative frequency of the symbol in randomly created trees"); 67 // 68 // maximumArityLabel 69 // 70 this.toolTip.SetToolTip(this.maximumArityLabel, "Relative frequency of the symbol in randomly created trees"); 71 // 72 // minimumArityTextBox 73 // 74 this.errorProvider.SetIconAlignment(this.minimumArityTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 75 // 76 // maximumArityTextBox 77 // 78 this.errorProvider.SetIconAlignment(this.maximumArityTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 79 // 64 80 // nameTextBox 65 81 // … … 75 91 // 76 92 this.minTimeOffsetLabel.AutoSize = true; 77 this.minTimeOffsetLabel.Location = new System.Drawing.Point(3, 55);93 this.minTimeOffsetLabel.Location = new System.Drawing.Point(3, 130); 78 94 this.minTimeOffsetLabel.Name = "minTimeOffsetLabel"; 79 95 this.minTimeOffsetLabel.Size = new System.Drawing.Size(81, 13); … … 84 100 // 85 101 this.maxTimeOffsetLabel.AutoSize = true; 86 this.maxTimeOffsetLabel.Location = new System.Drawing.Point(3, 81);102 this.maxTimeOffsetLabel.Location = new System.Drawing.Point(3, 156); 87 103 this.maxTimeOffsetLabel.Name = "maxTimeOffsetLabel"; 88 104 this.maxTimeOffsetLabel.Size = new System.Drawing.Size(84, 13); … … 92 108 // minTimeOffsetTextBox 93 109 // 94 this.minTimeOffsetTextBox.Location = new System.Drawing.Point(93, 52);110 this.minTimeOffsetTextBox.Location = new System.Drawing.Point(93, 127); 95 111 this.minTimeOffsetTextBox.Name = "minTimeOffsetTextBox"; 96 112 this.minTimeOffsetTextBox.Size = new System.Drawing.Size(315, 20); … … 100 116 // maxTimeOffsetTextBox 101 117 // 102 this.maxTimeOffsetTextBox.Location = new System.Drawing.Point(93, 78);118 this.maxTimeOffsetTextBox.Location = new System.Drawing.Point(93, 153); 103 119 this.maxTimeOffsetTextBox.Name = "maxTimeOffsetTextBox"; 104 120 this.maxTimeOffsetTextBox.Size = new System.Drawing.Size(315, 20); … … 115 131 this.Controls.Add(this.minTimeOffsetLabel); 116 132 this.Name = "LaggedSymbolView"; 117 this.Size = new System.Drawing.Size(408, 104); 133 this.Size = new System.Drawing.Size(408, 179); 134 this.Controls.SetChildIndex(this.maximumArityLabel, 0); 135 this.Controls.SetChildIndex(this.maximumArityTextBox, 0); 136 this.Controls.SetChildIndex(this.minimumArityLabel, 0); 137 this.Controls.SetChildIndex(this.minimumArityTextBox, 0); 118 138 this.Controls.SetChildIndex(this.infoLabel, 0); 119 139 this.Controls.SetChildIndex(this.initialFrequencyTextBox, 0); -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/VariableConditionView.Designer.cs
r5832 r6803 78 78 this.initialFrequencyTextBox.Size = new System.Drawing.Size(233, 20); 79 79 // 80 // minimumArityLabel 81 // 82 this.toolTip.SetToolTip(this.minimumArityLabel, "Relative frequency of the symbol in randomly created trees"); 83 // 84 // maximumArityLabel 85 // 86 this.toolTip.SetToolTip(this.maximumArityLabel, "Relative frequency of the symbol in randomly created trees"); 87 // 88 // minimumArityTextBox 89 // 90 this.errorProvider.SetIconAlignment(this.minimumArityTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 91 // 92 // maximumArityTextBox 93 // 94 this.errorProvider.SetIconAlignment(this.maximumArityTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 95 // 80 96 // nameTextBox 81 97 // … … 96 112 // thresholdInitializationMuTextBox 97 113 // 98 this.thresholdInitializationMuTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 99 114 this.thresholdInitializationMuTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 115 | System.Windows.Forms.AnchorStyles.Right))); 100 116 this.thresholdInitializationMuTextBox.Location = new System.Drawing.Point(114, 15); 101 117 this.thresholdInitializationMuTextBox.Name = "thresholdInitializationMuTextBox"; … … 103 119 this.thresholdInitializationMuTextBox.TabIndex = 1; 104 120 this.toolTip.SetToolTip(this.thresholdInitializationMuTextBox, "The mu (mean) parameter of the normal distribution from which to sample the initi" + 105 121 "al thresholds."); 106 122 this.thresholdInitializationMuTextBox.TextChanged += new System.EventHandler(this.thresholdMuTextBox_TextChanged); 107 123 // 108 124 // initializationGroupBox 109 125 // 110 this.initializationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 111 126 this.initializationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 127 | System.Windows.Forms.AnchorStyles.Right))); 112 128 this.initializationGroupBox.Controls.Add(this.slopeInitializationSigmaLabel); 113 129 this.initializationGroupBox.Controls.Add(this.slopeInitializationSigmaTextBox); … … 118 134 this.initializationGroupBox.Controls.Add(this.thresholdInitializationMuLabel); 119 135 this.initializationGroupBox.Controls.Add(this.thresholdInitializationMuTextBox); 120 this.initializationGroupBox.Location = new System.Drawing.Point(0, 52);136 this.initializationGroupBox.Location = new System.Drawing.Point(0, 127); 121 137 this.initializationGroupBox.Name = "initializationGroupBox"; 122 138 this.initializationGroupBox.Size = new System.Drawing.Size(326, 127); … … 137 153 // slopeInitializationSigmaTextBox 138 154 // 139 this.slopeInitializationSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 140 155 this.slopeInitializationSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 156 | System.Windows.Forms.AnchorStyles.Right))); 141 157 this.slopeInitializationSigmaTextBox.Location = new System.Drawing.Point(114, 102); 142 158 this.slopeInitializationSigmaTextBox.Name = "slopeInitializationSigmaTextBox"; … … 144 160 this.slopeInitializationSigmaTextBox.TabIndex = 7; 145 161 this.toolTip.SetToolTip(this.slopeInitializationSigmaTextBox, "The sigma parameter for the normal distribution from which to sample the initial " + 146 162 "slopes."); 147 163 this.slopeInitializationSigmaTextBox.TextChanged += new System.EventHandler(this.slopeInitializationSigmaTextBox_TextChanged); 148 164 // … … 159 175 // slopeInitializationMuTextBox 160 176 // 161 this.slopeInitializationMuTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 162 177 this.slopeInitializationMuTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 178 | System.Windows.Forms.AnchorStyles.Right))); 163 179 this.slopeInitializationMuTextBox.Location = new System.Drawing.Point(114, 76); 164 180 this.slopeInitializationMuTextBox.Name = "slopeInitializationMuTextBox"; … … 166 182 this.slopeInitializationMuTextBox.TabIndex = 5; 167 183 this.toolTip.SetToolTip(this.slopeInitializationMuTextBox, "The mu (mean) parameter of the normal distribution from which to sample the initi" + 168 184 "al slopes."); 169 185 this.slopeInitializationMuTextBox.TextChanged += new System.EventHandler(this.slopeInitializationMuTextBox_TextChanged); 170 186 // … … 181 197 // thresholdInitializationSigmaTextBox 182 198 // 183 this.thresholdInitializationSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 184 199 this.thresholdInitializationSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 200 | System.Windows.Forms.AnchorStyles.Right))); 185 201 this.thresholdInitializationSigmaTextBox.Location = new System.Drawing.Point(114, 41); 186 202 this.thresholdInitializationSigmaTextBox.Name = "thresholdInitializationSigmaTextBox"; … … 188 204 this.thresholdInitializationSigmaTextBox.TabIndex = 3; 189 205 this.toolTip.SetToolTip(this.thresholdInitializationSigmaTextBox, "The sigma parameter for the normal distribution from which to sample the initial " + 190 206 "thresholds."); 191 207 this.thresholdInitializationSigmaTextBox.TextChanged += new System.EventHandler(this.thresholdInitializationSigmaTextBox_TextChanged); 192 208 // 193 209 // mutationGroupBox 194 210 // 195 this.mutationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 196 211 this.mutationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 212 | System.Windows.Forms.AnchorStyles.Right))); 197 213 this.mutationGroupBox.Controls.Add(this.slopeChangeSigmaLabel); 198 214 this.mutationGroupBox.Controls.Add(this.slopeChangeSigmaTextBox); … … 203 219 this.mutationGroupBox.Controls.Add(this.ThresholdChangeMuLabel); 204 220 this.mutationGroupBox.Controls.Add(this.thresholdChangeMuTextBox); 205 this.mutationGroupBox.Location = new System.Drawing.Point(0, 185);221 this.mutationGroupBox.Location = new System.Drawing.Point(0, 260); 206 222 this.mutationGroupBox.Name = "mutationGroupBox"; 207 223 this.mutationGroupBox.Size = new System.Drawing.Size(326, 127); … … 219 235 this.slopeChangeSigmaLabel.Text = "Slope change (sigma):"; 220 236 this.toolTip.SetToolTip(this.slopeChangeSigmaLabel, "The sigma parameter for the normal distribution to use to sample the change in sl" + 221 237 "ope."); 222 238 // 223 239 // slopeChangeSigmaTextBox 224 240 // 225 this.slopeChangeSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 226 241 this.slopeChangeSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 242 | System.Windows.Forms.AnchorStyles.Right))); 227 243 this.slopeChangeSigmaTextBox.Location = new System.Drawing.Point(149, 99); 228 244 this.slopeChangeSigmaTextBox.Name = "slopeChangeSigmaTextBox"; … … 230 246 this.slopeChangeSigmaTextBox.TabIndex = 7; 231 247 this.toolTip.SetToolTip(this.slopeChangeSigmaTextBox, "The sigma parameter for the normal distribution to use to sample the change in sl" + 232 248 "ope."); 233 249 this.slopeChangeSigmaTextBox.TextChanged += new System.EventHandler(this.slopeChangeSigmaTextBox_TextChanged); 234 250 // … … 242 258 this.slopeChangeMuLabel.Text = "Slope change (mu):"; 243 259 this.toolTip.SetToolTip(this.slopeChangeMuLabel, "The nu (mean) parameter for the normal distribution to sample the change in slope" + 244 260 "."); 245 261 // 246 262 // slopeChangeMuTextBox 247 263 // 248 this.slopeChangeMuTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 249 264 this.slopeChangeMuTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 265 | System.Windows.Forms.AnchorStyles.Right))); 250 266 this.slopeChangeMuTextBox.Location = new System.Drawing.Point(149, 73); 251 267 this.slopeChangeMuTextBox.Name = "slopeChangeMuTextBox"; … … 253 269 this.slopeChangeMuTextBox.TabIndex = 5; 254 270 this.toolTip.SetToolTip(this.slopeChangeMuTextBox, "The mu (mean) parameter for the normal distribution to sample the change in slope" + 255 271 "."); 256 272 this.slopeChangeMuTextBox.TextChanged += new System.EventHandler(this.slopeChangeMuTextBox_TextChanged); 257 273 // … … 265 281 this.thresholdChangeSigmaLabel.Text = "Threshold change (sigma):"; 266 282 this.toolTip.SetToolTip(this.thresholdChangeSigmaLabel, "The sigma parameter for the normal distribution to use to sample the change in th" + 267 283 "reshold."); 268 284 // 269 285 // thresholdChangeSigmaTextBox 270 286 // 271 this.thresholdChangeSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 272 287 this.thresholdChangeSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 288 | System.Windows.Forms.AnchorStyles.Right))); 273 289 this.thresholdChangeSigmaTextBox.Location = new System.Drawing.Point(149, 41); 274 290 this.thresholdChangeSigmaTextBox.Name = "thresholdChangeSigmaTextBox"; … … 276 292 this.thresholdChangeSigmaTextBox.TabIndex = 3; 277 293 this.toolTip.SetToolTip(this.thresholdChangeSigmaTextBox, "The sigma parameter for the normal distribution to use to sample the change in th" + 278 294 "reshold."); 279 295 this.thresholdChangeSigmaTextBox.TextChanged += new System.EventHandler(this.thresholdChangeSigmaTextBox_TextChanged); 280 296 // … … 288 304 this.ThresholdChangeMuLabel.Text = "Threshold change (mu):"; 289 305 this.toolTip.SetToolTip(this.ThresholdChangeMuLabel, "The nu (mean) parameter for the normal distribution to sample the change in thres" + 290 306 "hold."); 291 307 // 292 308 // thresholdChangeMuTextBox 293 309 // 294 this.thresholdChangeMuTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 295 310 this.thresholdChangeMuTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 311 | System.Windows.Forms.AnchorStyles.Right))); 296 312 this.thresholdChangeMuTextBox.Location = new System.Drawing.Point(149, 15); 297 313 this.thresholdChangeMuTextBox.Name = "thresholdChangeMuTextBox"; … … 299 315 this.thresholdChangeMuTextBox.TabIndex = 1; 300 316 this.toolTip.SetToolTip(this.thresholdChangeMuTextBox, "The mu (mean) parameter for the normal distribution to sample the change in thres" + 301 317 "hold."); 302 318 this.thresholdChangeMuTextBox.TextChanged += new System.EventHandler(this.thresholdChangeMuTextBox_TextChanged); 303 319 // … … 309 325 this.Controls.Add(this.initializationGroupBox); 310 326 this.Name = "VariableConditionView"; 311 this.Size = new System.Drawing.Size(326, 315); 327 this.Size = new System.Drawing.Size(326, 376); 328 this.Controls.SetChildIndex(this.maximumArityLabel, 0); 329 this.Controls.SetChildIndex(this.maximumArityTextBox, 0); 330 this.Controls.SetChildIndex(this.minimumArityLabel, 0); 331 this.Controls.SetChildIndex(this.minimumArityTextBox, 0); 312 332 this.Controls.SetChildIndex(this.infoLabel, 0); 313 333 this.Controls.SetChildIndex(this.initializationGroupBox, 0); -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/VariableView.Designer.cs
r5832 r6803 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 // minimumArityLabel 77 // 78 this.toolTip.SetToolTip(this.minimumArityLabel, "Relative frequency of the symbol in randomly created trees"); 79 // 80 // maximumArityLabel 81 // 82 this.toolTip.SetToolTip(this.maximumArityLabel, "Relative frequency of the symbol in randomly created trees"); 83 // 84 // minimumArityTextBox 85 // 86 this.errorProvider.SetIconAlignment(this.minimumArityTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 87 this.minimumArityTextBox.Size = new System.Drawing.Size(311, 20); 88 // 89 // maximumArityTextBox 90 // 91 this.errorProvider.SetIconAlignment(this.maximumArityTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft); 92 this.maximumArityTextBox.Size = new System.Drawing.Size(311, 20); 75 93 // 76 94 // nameTextBox … … 96 114 // weightInitializationMuTextBox 97 115 // 98 this.weightInitializationMuTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 99 116 this.weightInitializationMuTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 117 | System.Windows.Forms.AnchorStyles.Right))); 100 118 this.weightInitializationMuTextBox.Location = new System.Drawing.Point(92, 19); 101 119 this.weightInitializationMuTextBox.Name = "weightInitializationMuTextBox"; … … 103 121 this.weightInitializationMuTextBox.TabIndex = 1; 104 122 this.toolTip.SetToolTip(this.weightInitializationMuTextBox, "The mu (mean) parameter of the normal distribution from which to sample the initi" + 105 123 "al weights."); 106 124 this.weightInitializationMuTextBox.TextChanged += new System.EventHandler(this.weightMuTextBox_TextChanged); 107 125 // 108 126 // initializationGroupBox 109 127 // 110 this.initializationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 111 128 this.initializationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 129 | System.Windows.Forms.AnchorStyles.Right))); 112 130 this.initializationGroupBox.Controls.Add(this.weightSigmaLabel); 113 131 this.initializationGroupBox.Controls.Add(this.weightInitializationSigmaTextBox); … … 133 151 // weightInitializationSigmaTextBox 134 152 // 135 this.weightInitializationSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 136 153 this.weightInitializationSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 154 | System.Windows.Forms.AnchorStyles.Right))); 137 155 this.weightInitializationSigmaTextBox.Location = new System.Drawing.Point(92, 45); 138 156 this.weightInitializationSigmaTextBox.Name = "weightInitializationSigmaTextBox"; … … 140 158 this.weightInitializationSigmaTextBox.TabIndex = 3; 141 159 this.toolTip.SetToolTip(this.weightInitializationSigmaTextBox, "The sigma parameter for the normal distribution from which to sample the initial " + 142 160 "weights."); 143 161 this.weightInitializationSigmaTextBox.TextChanged += new System.EventHandler(this.weightSigmaTextBox_TextChanged); 144 162 // 145 163 // mutationGroupBox 146 164 // 147 this.mutationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 148 165 this.mutationGroupBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 166 | System.Windows.Forms.AnchorStyles.Right))); 149 167 this.mutationGroupBox.Controls.Add(this.multiplicativeWeightChangeLabel); 150 168 this.mutationGroupBox.Controls.Add(this.multiplicativeWeightChangeSigmaTextBox); … … 167 185 this.multiplicativeWeightChangeLabel.Text = "Multiplicative weight change (sigma):"; 168 186 this.toolTip.SetToolTip(this.multiplicativeWeightChangeLabel, "The sigma parameter for the normal distribution to use to sample a multiplicative" + 169 187 " change in weight."); 170 188 // 171 189 // multiplicativeWeightChangeSigmaTextBox 172 190 // 173 this.multiplicativeWeightChangeSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 174 191 this.multiplicativeWeightChangeSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 192 | System.Windows.Forms.AnchorStyles.Right))); 175 193 this.multiplicativeWeightChangeSigmaTextBox.Location = new System.Drawing.Point(201, 45); 176 194 this.multiplicativeWeightChangeSigmaTextBox.Name = "multiplicativeWeightChangeSigmaTextBox"; … … 178 196 this.multiplicativeWeightChangeSigmaTextBox.TabIndex = 3; 179 197 this.toolTip.SetToolTip(this.multiplicativeWeightChangeSigmaTextBox, "The sigma (std.dev.) parameter for the normal distribution to sample a multiplica" + 180 198 "tive change in weight."); 181 199 this.multiplicativeWeightChangeSigmaTextBox.TextChanged += new System.EventHandler(this.multiplicativeWeightChangeSigmaTextBox_TextChanged); 182 200 // … … 190 208 this.additiveWeightChangeLabel.Text = "Additive weight change (sigma):"; 191 209 this.toolTip.SetToolTip(this.additiveWeightChangeLabel, "The sigma (std.dev.) parameter for the normal distribution to sample an additive " + 192 210 "change in weight."); 193 211 // 194 212 // additiveWeightChangeSigmaTextBox 195 213 // 196 this.additiveWeightChangeSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 197 214 this.additiveWeightChangeSigmaTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 215 | System.Windows.Forms.AnchorStyles.Right))); 198 216 this.additiveWeightChangeSigmaTextBox.Location = new System.Drawing.Point(201, 19); 199 217 this.additiveWeightChangeSigmaTextBox.Name = "additiveWeightChangeSigmaTextBox"; … … 201 219 this.additiveWeightChangeSigmaTextBox.TabIndex = 1; 202 220 this.toolTip.SetToolTip(this.additiveWeightChangeSigmaTextBox, "The sigma (std.dev.) parameter for the normal distribution to sample an additive " + 203 221 "change in weight."); 204 222 this.additiveWeightChangeSigmaTextBox.TextChanged += new System.EventHandler(this.additiveWeightChangeSigmaTextBox_TextChanged); 205 223 // 206 224 // tabControl 207 225 // 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 226 this.tabControl.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 227 | System.Windows.Forms.AnchorStyles.Left) 228 | System.Windows.Forms.AnchorStyles.Right))); 211 229 this.tabControl.Controls.Add(this.variableNamesTabPage); 212 230 this.tabControl.Controls.Add(this.parametersTabPage); 213 this.tabControl.Location = new System.Drawing.Point(0, 52);231 this.tabControl.Location = new System.Drawing.Point(0, 127); 214 232 this.tabControl.Name = "tabControl"; 215 233 this.tabControl.SelectedIndex = 0; 216 this.tabControl.Size = new System.Drawing.Size(408, 242);234 this.tabControl.Size = new System.Drawing.Size(408, 167); 217 235 this.tabControl.TabIndex = 5; 218 236 // … … 222 240 this.variableNamesTabPage.Name = "variableNamesTabPage"; 223 241 this.variableNamesTabPage.Padding = new System.Windows.Forms.Padding(3); 224 this.variableNamesTabPage.Size = new System.Drawing.Size(400, 216);242 this.variableNamesTabPage.Size = new System.Drawing.Size(400, 141); 225 243 this.variableNamesTabPage.TabIndex = 0; 226 244 this.variableNamesTabPage.Text = "Variable Names"; … … 246 264 this.Name = "VariableView"; 247 265 this.Size = new System.Drawing.Size(408, 294); 266 this.Controls.SetChildIndex(this.maximumArityLabel, 0); 267 this.Controls.SetChildIndex(this.maximumArityTextBox, 0); 268 this.Controls.SetChildIndex(this.minimumArityLabel, 0); 269 this.Controls.SetChildIndex(this.minimumArityTextBox, 0); 248 270 this.Controls.SetChildIndex(this.infoLabel, 0); 249 271 this.Controls.SetChildIndex(this.initialFrequencyTextBox, 0); -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Views/3.4/Symbols/VariableView.cs
r6599 r6803 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.