Changeset 1222
- Timestamp:
- 02/24/09 00:58:23 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.ES
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.ES/ES.cs
r1091 r1222 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Text;25 24 using System.Xml; 26 25 using HeuristicLab.Core; 27 26 using HeuristicLab.Data; 28 using HeuristicLab.SequentialEngine;29 27 using HeuristicLab.Operators; 30 28 using HeuristicLab.Random; 31 29 using HeuristicLab.Logging; 32 30 using HeuristicLab.Selection; 33 using HeuristicLab.Selection.OffspringSelection; 34 using HeuristicLab.Evolutionary; 31 using HeuristicLab.RealVector; 35 32 36 33 namespace HeuristicLab.ES { … … 132 129 vi.AddVariable(new Variable("EvaluatedSolutions", new IntData())); 133 130 vi.AddVariable(new Variable("PlusNotation", new BoolData(true))); 131 vi.AddVariable(new Variable("ProblemDimension", new IntData(1))); 132 vi.AddVariable(new Variable("ShakingFactorsMin", new DoubleData(0.1))); 133 vi.AddVariable(new Variable("ShakingFactorsMax", new DoubleData(5.0))); 134 134 vi.AddVariable(new Variable("Generations", new IntData())); 135 135 vi.AddVariable(new Variable("MaximumGenerations", new IntData(1000))); 136 vi.AddVariable(new Variable("GeneralLearningRate", new DoubleData( 0.1)));137 vi.AddVariable(new Variable("LearningRate", new DoubleData( 0.1)));136 vi.AddVariable(new Variable("GeneralLearningRate", new DoubleData(1.0 / Math.Sqrt(2)))); 137 vi.AddVariable(new Variable("LearningRate", new DoubleData(1.0 / Math.Sqrt(2)))); 138 138 op.OperatorGraph.AddOperator(vi); 139 139 sp.AddSubOperator(vi); … … 177 177 sp2.AddSubOperator(c); 178 178 179 VariableInjector vi = new VariableInjector(); 180 vi.AddVariable(new Variable("ShakingFactors", new DoubleArrayData(new double[] { 5.0 }))); 181 op.OperatorGraph.AddOperator(vi); 182 sp2.AddSubOperator(vi); 179 UniformRandomRealVectorGenerator urrvg = new UniformRandomRealVectorGenerator(); 180 urrvg.GetVariableInfo("Length").ActualName = "ProblemDimension"; 181 urrvg.GetVariableInfo("Minimum").ActualName = "ShakingFactorsMin"; 182 urrvg.GetVariableInfo("Maximum").ActualName = "ShakingFactorsMax"; 183 urrvg.GetVariableInfo("RealVector").ActualName = "ShakingFactors"; 184 op.OperatorGraph.AddOperator(urrvg); 185 sp2.AddSubOperator(urrvg); 183 186 184 187 Sorter s = new Sorter(); … … 456 459 } 457 460 } 458 private DoubleArrayData myShakingFactors;459 /// <summary> 460 /// Gets or sets the initial strategy vector s(0).461 private IntData myProblemDimension; 462 /// <summary> 463 /// Gets or sets the problem dimension which determines the length of the strategy vector. 461 464 /// </summary> 462 465 /// <remarks>Calls <see cref="ItemBase.OnChanged"/> of base class <see cref="ItemBase"/> 463 466 /// in the setter.</remarks> 464 public double[] ShakingFactors { 465 get { return myShakingFactors.Data; } 466 set { myShakingFactors.Data = value; } 467 public int ProblemDimension { 468 get { return myProblemDimension.Data; } 469 set { myProblemDimension.Data = value; } 470 } 471 private DoubleData myShakingFactorsMin; 472 /// <summary> 473 /// Gets or sets the minimal value for each dimension of the strategy vector. 474 /// </summary> 475 /// <remarks>Calls <see cref="ItemBase.OnChanged"/> of base class <see cref="ItemBase"/> 476 /// in the setter.</remarks> 477 public double ShakingFactorsMin { 478 get { return myShakingFactorsMin.Data; } 479 set { 480 myShakingFactorsMin.Data = value; 481 OnChanged(); 482 } 483 } 484 private DoubleData myShakingFactorsMax; 485 /// <summary> 486 /// Gets or sets the maximal value for each dimension of the strategy vector. 487 /// </summary> 488 /// <remarks>Calls <see cref="ItemBase.OnChanged"/> of base class <see cref="ItemBase"/> 489 /// in the setter.</remarks> 490 public double ShakingFactorsMax { 491 get { return myShakingFactorsMax.Data; } 492 set { 493 myShakingFactorsMax.Data = value; 494 OnChanged(); 495 } 467 496 } 468 497 private DoubleData myGeneralLearningRate; … … 633 662 myMaximumGenerations = vi.GetVariable("MaximumGenerations").GetValue<IntData>(); 634 663 myPlusNotation = vi.GetVariable("PlusNotation").GetValue<BoolData>(); 664 myProblemDimension = vi.GetVariable("ProblemDimension").GetValue<IntData>(); 665 myShakingFactorsMin = vi.GetVariable("ShakingFactorsMin").GetValue<DoubleData>(); 666 myShakingFactorsMax = vi.GetVariable("ShakingFactorsMax").GetValue<DoubleData>(); 635 667 myGeneralLearningRate = vi.GetVariable("GeneralLearningRate").GetValue<DoubleData>(); 636 668 myLearningRate = vi.GetVariable("LearningRate").GetValue<DoubleData>(); … … 638 670 CombinedOperator co3 = (CombinedOperator)sp1.SubOperators[1]; 639 671 myPopulationInitialization = co3; 640 // Variable Injector641 VariableInjector vi2 = (VariableInjector)co3.OperatorGraph.InitialOperator.SubOperators[1].SubOperators[0].SubOperators[3];642 myShakingFactors = vi2.GetVariable("ShakingFactors").GetValue<DoubleArrayData>();643 672 // ES Main 644 673 CombinedOperator co4 = (CombinedOperator)sp1.SubOperators[2]; -
trunk/sources/HeuristicLab.ES/ESEditor.Designer.cs
r1112 r1222 51 51 this.tabControl = new System.Windows.Forms.TabControl(); 52 52 this.parametersTabPage = new System.Windows.Forms.TabPage(); 53 this.leftBracketLabelRight = new System.Windows.Forms.Label(); 54 this.semicolonLabel = new System.Windows.Forms.Label(); 55 this.leftBracketLabelLeft = new System.Windows.Forms.Label(); 56 this.shakingFactorsUpperBoundTextBox = new System.Windows.Forms.TextBox(); 53 57 this.successRuleGroupBox = new System.Windows.Forms.GroupBox(); 54 58 this.learningRateTextBox = new System.Windows.Forms.TextBox(); 55 this.l abel1= new System.Windows.Forms.Label();59 this.learningRateLabel = new System.Windows.Forms.Label(); 56 60 this.generalLearningRateTextBox = new System.Windows.Forms.TextBox(); 57 this. targetSuccessRateLabel = new System.Windows.Forms.Label();58 this.l abel8= new System.Windows.Forms.Label();59 this. label7= new System.Windows.Forms.Label();61 this.generalLearningRateLabel = new System.Windows.Forms.Label(); 62 this.learningRateVariableNameLabel = new System.Windows.Forms.Label(); 63 this.generalLearningRateVariableNameLabel = new System.Windows.Forms.Label(); 60 64 this.parentSelectionGroupBox = new System.Windows.Forms.GroupBox(); 61 65 this.commaRadioButton = new System.Windows.Forms.RadioButton(); … … 81 85 this.setRandomSeedRandomlyCheckBox = new System.Windows.Forms.CheckBox(); 82 86 this.problemDimensionTextBox = new System.Windows.Forms.TextBox(); 83 this. initialMutationStrengthVectorTextBox = new System.Windows.Forms.TextBox();87 this.shakingFactorsLowerBoundTextBox = new System.Windows.Forms.TextBox(); 84 88 this.evaluationLabel = new System.Windows.Forms.Label(); 85 89 this.mutationLabel = new System.Windows.Forms.Label(); … … 87 91 this.problemInitializationLabel = new System.Windows.Forms.Label(); 88 92 this.problemDimensionLabel = new System.Windows.Forms.Label(); 89 this. initialMutationStrengthLabel = new System.Windows.Forms.Label();93 this.mutationStrengthLabel = new System.Windows.Forms.Label(); 90 94 this.mutationRateLabel = new System.Windows.Forms.Label(); 91 95 this.maximumGenerationsTextBox = new System.Windows.Forms.TextBox(); … … 95 99 this.setRandomSeedRandomlyLabel = new System.Windows.Forms.Label(); 96 100 this.randomSeedLabel = new System.Windows.Forms.Label(); 97 this.label6 = new System.Windows.Forms.Label(); 98 this.label5 = new System.Windows.Forms.Label(); 99 this.label4 = new System.Windows.Forms.Label(); 100 this.label3 = new System.Windows.Forms.Label(); 101 this.label2 = new System.Windows.Forms.Label(); 101 this.problemDimensionVariableNameLabel = new System.Windows.Forms.Label(); 102 this.shakingFactorsVariableNameLabel = new System.Windows.Forms.Label(); 103 this.maximumGenerationsVariableNameLabel = new System.Windows.Forms.Label(); 104 this.esLambdaVariableNameLabel = new System.Windows.Forms.Label(); 105 this.esRhoVariableNameLabel = new System.Windows.Forms.Label(); 106 this.esMuVariableNameLabel = new System.Windows.Forms.Label(); 102 107 this.populationSizeLabel = new System.Windows.Forms.Label(); 103 108 this.lambdaTextBox = new System.Windows.Forms.TextBox(); … … 141 146 // parametersTabPage 142 147 // 148 this.parametersTabPage.Controls.Add(this.leftBracketLabelRight); 149 this.parametersTabPage.Controls.Add(this.semicolonLabel); 150 this.parametersTabPage.Controls.Add(this.leftBracketLabelLeft); 151 this.parametersTabPage.Controls.Add(this.shakingFactorsUpperBoundTextBox); 143 152 this.parametersTabPage.Controls.Add(this.successRuleGroupBox); 144 153 this.parametersTabPage.Controls.Add(this.parentSelectionGroupBox); … … 163 172 this.parametersTabPage.Controls.Add(this.setRandomSeedRandomlyCheckBox); 164 173 this.parametersTabPage.Controls.Add(this.problemDimensionTextBox); 165 this.parametersTabPage.Controls.Add(this. initialMutationStrengthVectorTextBox);174 this.parametersTabPage.Controls.Add(this.shakingFactorsLowerBoundTextBox); 166 175 this.parametersTabPage.Controls.Add(this.evaluationLabel); 167 176 this.parametersTabPage.Controls.Add(this.mutationLabel); … … 169 178 this.parametersTabPage.Controls.Add(this.problemInitializationLabel); 170 179 this.parametersTabPage.Controls.Add(this.problemDimensionLabel); 171 this.parametersTabPage.Controls.Add(this. initialMutationStrengthLabel);180 this.parametersTabPage.Controls.Add(this.mutationStrengthLabel); 172 181 this.parametersTabPage.Controls.Add(this.mutationRateLabel); 173 182 this.parametersTabPage.Controls.Add(this.maximumGenerationsTextBox); … … 177 186 this.parametersTabPage.Controls.Add(this.setRandomSeedRandomlyLabel); 178 187 this.parametersTabPage.Controls.Add(this.randomSeedLabel); 179 this.parametersTabPage.Controls.Add(this.label6); 180 this.parametersTabPage.Controls.Add(this.label5); 181 this.parametersTabPage.Controls.Add(this.label4); 182 this.parametersTabPage.Controls.Add(this.label3); 183 this.parametersTabPage.Controls.Add(this.label2); 188 this.parametersTabPage.Controls.Add(this.problemDimensionVariableNameLabel); 189 this.parametersTabPage.Controls.Add(this.shakingFactorsVariableNameLabel); 190 this.parametersTabPage.Controls.Add(this.maximumGenerationsVariableNameLabel); 191 this.parametersTabPage.Controls.Add(this.esLambdaVariableNameLabel); 192 this.parametersTabPage.Controls.Add(this.esRhoVariableNameLabel); 193 this.parametersTabPage.Controls.Add(this.esMuVariableNameLabel); 184 194 this.parametersTabPage.Controls.Add(this.populationSizeLabel); 185 195 this.parametersTabPage.Controls.Add(this.lambdaTextBox); … … 192 202 this.parametersTabPage.UseVisualStyleBackColor = true; 193 203 // 204 // leftBracketLabelRight 205 // 206 this.leftBracketLabelRight.Anchor = System.Windows.Forms.AnchorStyles.None; 207 this.leftBracketLabelRight.AutoSize = true; 208 this.leftBracketLabelRight.Location = new System.Drawing.Point(344, 175); 209 this.leftBracketLabelRight.Name = "leftBracketLabelRight"; 210 this.leftBracketLabelRight.Size = new System.Drawing.Size(10, 13); 211 this.leftBracketLabelRight.TabIndex = 21; 212 this.leftBracketLabelRight.Text = "["; 213 // 214 // semicolonLabel 215 // 216 this.semicolonLabel.Anchor = System.Windows.Forms.AnchorStyles.None; 217 this.semicolonLabel.AutoSize = true; 218 this.semicolonLabel.Location = new System.Drawing.Point(254, 175); 219 this.semicolonLabel.Name = "semicolonLabel"; 220 this.semicolonLabel.Size = new System.Drawing.Size(10, 13); 221 this.semicolonLabel.TabIndex = 19; 222 this.semicolonLabel.Text = ";"; 223 // 224 // leftBracketLabelLeft 225 // 226 this.leftBracketLabelLeft.Anchor = System.Windows.Forms.AnchorStyles.None; 227 this.leftBracketLabelLeft.AutoSize = true; 228 this.leftBracketLabelLeft.Location = new System.Drawing.Point(165, 175); 229 this.leftBracketLabelLeft.Name = "leftBracketLabelLeft"; 230 this.leftBracketLabelLeft.Size = new System.Drawing.Size(10, 13); 231 this.leftBracketLabelLeft.TabIndex = 17; 232 this.leftBracketLabelLeft.Text = "["; 233 // 234 // shakingFactorsUpperBoundTextBox 235 // 236 this.shakingFactorsUpperBoundTextBox.Anchor = System.Windows.Forms.AnchorStyles.None; 237 this.shakingFactorsUpperBoundTextBox.Location = new System.Drawing.Point(273, 172); 238 this.shakingFactorsUpperBoundTextBox.Name = "shakingFactorsUpperBoundTextBox"; 239 this.shakingFactorsUpperBoundTextBox.Size = new System.Drawing.Size(65, 20); 240 this.shakingFactorsUpperBoundTextBox.TabIndex = 20; 241 this.toolTip.SetToolTip(this.shakingFactorsUpperBoundTextBox, resources.GetString("shakingFactorsUpperBoundTextBox.ToolTip")); 242 // 194 243 // successRuleGroupBox 195 244 // 196 245 this.successRuleGroupBox.Anchor = System.Windows.Forms.AnchorStyles.None; 197 246 this.successRuleGroupBox.Controls.Add(this.learningRateTextBox); 198 this.successRuleGroupBox.Controls.Add(this.l abel1);247 this.successRuleGroupBox.Controls.Add(this.learningRateLabel); 199 248 this.successRuleGroupBox.Controls.Add(this.generalLearningRateTextBox); 200 this.successRuleGroupBox.Controls.Add(this. targetSuccessRateLabel);201 this.successRuleGroupBox.Controls.Add(this.l abel8);202 this.successRuleGroupBox.Controls.Add(this. label7);249 this.successRuleGroupBox.Controls.Add(this.generalLearningRateLabel); 250 this.successRuleGroupBox.Controls.Add(this.learningRateVariableNameLabel); 251 this.successRuleGroupBox.Controls.Add(this.generalLearningRateVariableNameLabel); 203 252 this.successRuleGroupBox.Location = new System.Drawing.Point(9, 230); 204 253 this.successRuleGroupBox.Name = "successRuleGroupBox"; 205 254 this.successRuleGroupBox.Size = new System.Drawing.Size(476, 74); 206 this.successRuleGroupBox.TabIndex = 40;255 this.successRuleGroupBox.TabIndex = 26; 207 256 this.successRuleGroupBox.TabStop = false; 208 257 this.successRuleGroupBox.Text = "Mutation Strength Adjustment"; … … 214 263 this.learningRateTextBox.Name = "learningRateTextBox"; 215 264 this.learningRateTextBox.Size = new System.Drawing.Size(186, 20); 216 this.learningRateTextBox.TabIndex = 17;217 this.toolTip.SetToolTip(this.learningRateTextBox, @"Automatically updates when Problem Dimension (dim) is changed.218 The used formulais: tau = 1 / Sqrt(2*Sqrt(dim))");219 // 220 // l abel1221 // 222 this.l abel1.Anchor = System.Windows.Forms.AnchorStyles.Top;223 this.l abel1.AutoSize = true;224 this.l abel1.Location = new System.Drawing.Point(7, 48);225 this.l abel1.Name = "label1";226 this.l abel1.Size = new System.Drawing.Size(92, 13);227 this.l abel1.TabIndex = 16;228 this.l abel1.Text = "Learning Rate (τ):";265 this.learningRateTextBox.TabIndex = 4; 266 this.toolTip.SetToolTip(this.learningRateTextBox, "Automatically updates when Problem Dimension (dim) is changed.\r\nThe used formula " + 267 "is: tau = 1 / Sqrt(2*Sqrt(dim))"); 268 // 269 // learningRateLabel 270 // 271 this.learningRateLabel.Anchor = System.Windows.Forms.AnchorStyles.Top; 272 this.learningRateLabel.AutoSize = true; 273 this.learningRateLabel.Location = new System.Drawing.Point(7, 48); 274 this.learningRateLabel.Name = "learningRateLabel"; 275 this.learningRateLabel.Size = new System.Drawing.Size(92, 13); 276 this.learningRateLabel.TabIndex = 3; 277 this.learningRateLabel.Text = "Learning Rate (τ):"; 229 278 // 230 279 // generalLearningRateTextBox … … 234 283 this.generalLearningRateTextBox.Name = "generalLearningRateTextBox"; 235 284 this.generalLearningRateTextBox.Size = new System.Drawing.Size(186, 20); 236 this.generalLearningRateTextBox.TabIndex = 1 5;237 this.toolTip.SetToolTip(this.generalLearningRateTextBox, @"Automatically updates when Problem Dimension (dim) is changed.238 The used formulais: tau0 = 1 / Sqrt(2*dim)");239 // 240 // targetSuccessRateLabel241 // 242 this. targetSuccessRateLabel.Anchor = System.Windows.Forms.AnchorStyles.Top;243 this. targetSuccessRateLabel.AutoSize = true;244 this. targetSuccessRateLabel.Location = new System.Drawing.Point(7, 22);245 this. targetSuccessRateLabel.Name = "targetSuccessRateLabel";246 this. targetSuccessRateLabel.Size = new System.Drawing.Size(138, 13);247 this. targetSuccessRateLabel.TabIndex = 14;248 this. targetSuccessRateLabel.Text = "General Learning Rate (τ0):";249 // 250 // l abel8251 // 252 this.l abel8.Anchor = System.Windows.Forms.AnchorStyles.None;253 this.l abel8.AutoSize = true;254 this.l abel8.Location = new System.Drawing.Point(348, 48);255 this.l abel8.Name = "label8";256 this.l abel8.Size = new System.Drawing.Size(77, 13);257 this.l abel8.TabIndex = 4;258 this.l abel8.Text = "(LearningRate)";259 // 260 // label7261 // 262 this. label7.Anchor = System.Windows.Forms.AnchorStyles.None;263 this. label7.AutoSize = true;264 this. label7.Location = new System.Drawing.Point(348, 22);265 this. label7.Name = "label7";266 this. label7.Size = new System.Drawing.Size(114, 13);267 this. label7.TabIndex = 4;268 this. label7.Text = "(GeneralLearningRate)";285 this.generalLearningRateTextBox.TabIndex = 1; 286 this.toolTip.SetToolTip(this.generalLearningRateTextBox, "Automatically updates when Problem Dimension (dim) is changed.\r\nThe used formula " + 287 "is: tau0 = 1 / Sqrt(2*dim)"); 288 // 289 // generalLearningRateLabel 290 // 291 this.generalLearningRateLabel.Anchor = System.Windows.Forms.AnchorStyles.Top; 292 this.generalLearningRateLabel.AutoSize = true; 293 this.generalLearningRateLabel.Location = new System.Drawing.Point(7, 22); 294 this.generalLearningRateLabel.Name = "generalLearningRateLabel"; 295 this.generalLearningRateLabel.Size = new System.Drawing.Size(138, 13); 296 this.generalLearningRateLabel.TabIndex = 0; 297 this.generalLearningRateLabel.Text = "General Learning Rate (τ0):"; 298 // 299 // learningRateVariableNameLabel 300 // 301 this.learningRateVariableNameLabel.Anchor = System.Windows.Forms.AnchorStyles.None; 302 this.learningRateVariableNameLabel.AutoSize = true; 303 this.learningRateVariableNameLabel.Location = new System.Drawing.Point(348, 48); 304 this.learningRateVariableNameLabel.Name = "learningRateVariableNameLabel"; 305 this.learningRateVariableNameLabel.Size = new System.Drawing.Size(77, 13); 306 this.learningRateVariableNameLabel.TabIndex = 5; 307 this.learningRateVariableNameLabel.Text = "(LearningRate)"; 308 // 309 // generalLearningRateVariableNameLabel 310 // 311 this.generalLearningRateVariableNameLabel.Anchor = System.Windows.Forms.AnchorStyles.None; 312 this.generalLearningRateVariableNameLabel.AutoSize = true; 313 this.generalLearningRateVariableNameLabel.Location = new System.Drawing.Point(348, 22); 314 this.generalLearningRateVariableNameLabel.Name = "generalLearningRateVariableNameLabel"; 315 this.generalLearningRateVariableNameLabel.Size = new System.Drawing.Size(114, 13); 316 this.generalLearningRateVariableNameLabel.TabIndex = 2; 317 this.generalLearningRateVariableNameLabel.Text = "(GeneralLearningRate)"; 269 318 // 270 319 // parentSelectionGroupBox … … 276 325 this.parentSelectionGroupBox.Name = "parentSelectionGroupBox"; 277 326 this.parentSelectionGroupBox.Size = new System.Drawing.Size(186, 38); 278 this.parentSelectionGroupBox.TabIndex = 39;327 this.parentSelectionGroupBox.TabIndex = 27; 279 328 this.parentSelectionGroupBox.TabStop = false; 280 329 this.parentSelectionGroupBox.Text = "Parent Selection"; … … 310 359 this.setRecombinationButton.Name = "setRecombinationButton"; 311 360 this.setRecombinationButton.Size = new System.Drawing.Size(43, 20); 312 this.setRecombinationButton.TabIndex = 38;361 this.setRecombinationButton.TabIndex = 47; 313 362 this.setRecombinationButton.Text = "Set..."; 314 363 this.setRecombinationButton.UseVisualStyleBackColor = true; … … 321 370 this.viewRecombinationButton.Name = "viewRecombinationButton"; 322 371 this.viewRecombinationButton.Size = new System.Drawing.Size(53, 20); 323 this.viewRecombinationButton.TabIndex = 37;372 this.viewRecombinationButton.TabIndex = 46; 324 373 this.viewRecombinationButton.Text = "View..."; 325 374 this.viewRecombinationButton.UseVisualStyleBackColor = true; … … 333 382 this.recombinationTextBox.ReadOnly = true; 334 383 this.recombinationTextBox.Size = new System.Drawing.Size(186, 20); 335 this.recombinationTextBox.TabIndex = 36;384 this.recombinationTextBox.TabIndex = 45; 336 385 // 337 386 // recombinationLabel … … 342 391 this.recombinationLabel.Name = "recombinationLabel"; 343 392 this.recombinationLabel.Size = new System.Drawing.Size(81, 13); 344 this.recombinationLabel.TabIndex = 35;393 this.recombinationLabel.TabIndex = 44; 345 394 this.recombinationLabel.Text = "Recombination:"; 346 395 // … … 351 400 this.rhoTextBox.Name = "rhoTextBox"; 352 401 this.rhoTextBox.Size = new System.Drawing.Size(186, 20); 353 this.rhoTextBox.TabIndex = 7;402 this.rhoTextBox.TabIndex = 8; 354 403 // 355 404 // rhoLabel … … 361 410 this.rhoLabel.Name = "rhoLabel"; 362 411 this.rhoLabel.Size = new System.Drawing.Size(45, 13); 363 this.rhoLabel.TabIndex = 6;412 this.rhoLabel.TabIndex = 7; 364 413 this.rhoLabel.Text = "Rho (ρ):"; 365 414 // … … 370 419 this.setEvaluationButton.Name = "setEvaluationButton"; 371 420 this.setEvaluationButton.Size = new System.Drawing.Size(43, 20); 372 this.setEvaluationButton.TabIndex = 34;421 this.setEvaluationButton.TabIndex = 43; 373 422 this.setEvaluationButton.Text = "Set..."; 374 423 this.setEvaluationButton.UseVisualStyleBackColor = true; … … 381 430 this.setMutationButton.Name = "setMutationButton"; 382 431 this.setMutationButton.Size = new System.Drawing.Size(43, 20); 383 this.setMutationButton.TabIndex = 3 0;432 this.setMutationButton.TabIndex = 39; 384 433 this.setMutationButton.Text = "Set..."; 385 434 this.setMutationButton.UseVisualStyleBackColor = true; … … 392 441 this.setSolutionGenerationButton.Name = "setSolutionGenerationButton"; 393 442 this.setSolutionGenerationButton.Size = new System.Drawing.Size(43, 20); 394 this.setSolutionGenerationButton.TabIndex = 26;443 this.setSolutionGenerationButton.TabIndex = 35; 395 444 this.setSolutionGenerationButton.Text = "Set..."; 396 445 this.setSolutionGenerationButton.UseVisualStyleBackColor = true; … … 403 452 this.viewEvaluationButton.Name = "viewEvaluationButton"; 404 453 this.viewEvaluationButton.Size = new System.Drawing.Size(53, 20); 405 this.viewEvaluationButton.TabIndex = 33;454 this.viewEvaluationButton.TabIndex = 42; 406 455 this.viewEvaluationButton.Text = "View..."; 407 456 this.viewEvaluationButton.UseVisualStyleBackColor = true; … … 414 463 this.viewMutationButton.Name = "viewMutationButton"; 415 464 this.viewMutationButton.Size = new System.Drawing.Size(53, 20); 416 this.viewMutationButton.TabIndex = 29;465 this.viewMutationButton.TabIndex = 38; 417 466 this.viewMutationButton.Text = "View..."; 418 467 this.viewMutationButton.UseVisualStyleBackColor = true; … … 425 474 this.viewSolutionGenerationButton.Name = "viewSolutionGenerationButton"; 426 475 this.viewSolutionGenerationButton.Size = new System.Drawing.Size(53, 20); 427 this.viewSolutionGenerationButton.TabIndex = 25;476 this.viewSolutionGenerationButton.TabIndex = 34; 428 477 this.viewSolutionGenerationButton.Text = "View..."; 429 478 this.viewSolutionGenerationButton.UseVisualStyleBackColor = true; … … 436 485 this.viewProblemInitializationButton.Name = "viewProblemInitializationButton"; 437 486 this.viewProblemInitializationButton.Size = new System.Drawing.Size(53, 20); 438 this.viewProblemInitializationButton.TabIndex = 21;487 this.viewProblemInitializationButton.TabIndex = 30; 439 488 this.viewProblemInitializationButton.Text = "View..."; 440 489 this.viewProblemInitializationButton.UseVisualStyleBackColor = true; … … 447 496 this.setProblemInitializationButton.Name = "setProblemInitializationButton"; 448 497 this.setProblemInitializationButton.Size = new System.Drawing.Size(43, 20); 449 this.setProblemInitializationButton.TabIndex = 22;498 this.setProblemInitializationButton.TabIndex = 31; 450 499 this.setProblemInitializationButton.Text = "Set..."; 451 500 this.setProblemInitializationButton.UseVisualStyleBackColor = true; … … 459 508 this.evaluationTextBox.ReadOnly = true; 460 509 this.evaluationTextBox.Size = new System.Drawing.Size(186, 20); 461 this.evaluationTextBox.TabIndex = 32;510 this.evaluationTextBox.TabIndex = 41; 462 511 // 463 512 // mutationTextBox … … 468 517 this.mutationTextBox.ReadOnly = true; 469 518 this.mutationTextBox.Size = new System.Drawing.Size(186, 20); 470 this.mutationTextBox.TabIndex = 28;519 this.mutationTextBox.TabIndex = 37; 471 520 // 472 521 // solutionGenerationTextBox … … 477 526 this.solutionGenerationTextBox.ReadOnly = true; 478 527 this.solutionGenerationTextBox.Size = new System.Drawing.Size(186, 20); 479 this.solutionGenerationTextBox.TabIndex = 24;528 this.solutionGenerationTextBox.TabIndex = 33; 480 529 // 481 530 // problemInitializationTextBox … … 486 535 this.problemInitializationTextBox.ReadOnly = true; 487 536 this.problemInitializationTextBox.Size = new System.Drawing.Size(186, 20); 488 this.problemInitializationTextBox.TabIndex = 2 0;537 this.problemInitializationTextBox.TabIndex = 29; 489 538 // 490 539 // setRandomSeedRandomlyCheckBox … … 501 550 // 502 551 this.problemDimensionTextBox.Anchor = System.Windows.Forms.AnchorStyles.None; 503 this.problemDimensionTextBox.Location = new System.Drawing.Point(168, 1 72);552 this.problemDimensionTextBox.Location = new System.Drawing.Point(168, 198); 504 553 this.problemDimensionTextBox.Name = "problemDimensionTextBox"; 505 554 this.problemDimensionTextBox.Size = new System.Drawing.Size(186, 20); 506 this.problemDimensionTextBox.TabIndex = 13;555 this.problemDimensionTextBox.TabIndex = 24; 507 556 this.problemDimensionTextBox.Validated += new System.EventHandler(this.problemDimensionTextBox_Validated); 508 557 // 509 // initialMutationStrengthVectorTextBox 510 // 511 this.initialMutationStrengthVectorTextBox.Anchor = System.Windows.Forms.AnchorStyles.None; 512 this.initialMutationStrengthVectorTextBox.Location = new System.Drawing.Point(168, 198); 513 this.initialMutationStrengthVectorTextBox.Name = "initialMutationStrengthVectorTextBox"; 514 this.initialMutationStrengthVectorTextBox.Size = new System.Drawing.Size(186, 20); 515 this.initialMutationStrengthVectorTextBox.TabIndex = 13; 516 this.toolTip.SetToolTip(this.initialMutationStrengthVectorTextBox, resources.GetString("initialMutationStrengthVectorTextBox.ToolTip")); 517 this.initialMutationStrengthVectorTextBox.Validated += new System.EventHandler(this.initialMutationStrengthVectorTextBox_Validated); 558 // shakingFactorsLowerBoundTextBox 559 // 560 this.shakingFactorsLowerBoundTextBox.Anchor = System.Windows.Forms.AnchorStyles.None; 561 this.shakingFactorsLowerBoundTextBox.Location = new System.Drawing.Point(181, 172); 562 this.shakingFactorsLowerBoundTextBox.Name = "shakingFactorsLowerBoundTextBox"; 563 this.shakingFactorsLowerBoundTextBox.Size = new System.Drawing.Size(65, 20); 564 this.shakingFactorsLowerBoundTextBox.TabIndex = 18; 565 this.toolTip.SetToolTip(this.shakingFactorsLowerBoundTextBox, resources.GetString("shakingFactorsLowerBoundTextBox.ToolTip")); 518 566 // 519 567 // evaluationLabel … … 524 572 this.evaluationLabel.Name = "evaluationLabel"; 525 573 this.evaluationLabel.Size = new System.Drawing.Size(60, 13); 526 this.evaluationLabel.TabIndex = 31;574 this.evaluationLabel.TabIndex = 40; 527 575 this.evaluationLabel.Text = "&Evaluation:"; 528 576 // … … 534 582 this.mutationLabel.Name = "mutationLabel"; 535 583 this.mutationLabel.Size = new System.Drawing.Size(51, 13); 536 this.mutationLabel.TabIndex = 27;584 this.mutationLabel.TabIndex = 36; 537 585 this.mutationLabel.Text = "&Mutation:"; 538 586 // … … 544 592 this.solutionGenerationLabel.Name = "solutionGenerationLabel"; 545 593 this.solutionGenerationLabel.Size = new System.Drawing.Size(103, 13); 546 this.solutionGenerationLabel.TabIndex = 23;594 this.solutionGenerationLabel.TabIndex = 32; 547 595 this.solutionGenerationLabel.Text = "&Solution Generation:"; 548 596 // … … 554 602 this.problemInitializationLabel.Name = "problemInitializationLabel"; 555 603 this.problemInitializationLabel.Size = new System.Drawing.Size(105, 13); 556 this.problemInitializationLabel.TabIndex = 19;604 this.problemInitializationLabel.TabIndex = 28; 557 605 this.problemInitializationLabel.Text = "&Problem Initialization:"; 558 606 // … … 561 609 this.problemDimensionLabel.Anchor = System.Windows.Forms.AnchorStyles.None; 562 610 this.problemDimensionLabel.AutoSize = true; 563 this.problemDimensionLabel.Location = new System.Drawing.Point( 7, 175);611 this.problemDimensionLabel.Location = new System.Drawing.Point(6, 201); 564 612 this.problemDimensionLabel.Name = "problemDimensionLabel"; 565 613 this.problemDimensionLabel.Size = new System.Drawing.Size(100, 13); 566 this.problemDimensionLabel.TabIndex = 12;614 this.problemDimensionLabel.TabIndex = 23; 567 615 this.problemDimensionLabel.Text = "Problem Dimension:"; 568 616 // 569 // initialMutationStrengthLabel570 // 571 this. initialMutationStrengthLabel.Anchor = System.Windows.Forms.AnchorStyles.None;572 this. initialMutationStrengthLabel.AutoSize = true;573 this. initialMutationStrengthLabel.Location = new System.Drawing.Point(6, 201);574 this. initialMutationStrengthLabel.Name = "initialMutationStrengthLabel";575 this. initialMutationStrengthLabel.Size = new System.Drawing.Size(155, 13);576 this. initialMutationStrengthLabel.TabIndex = 12;577 this. initialMutationStrengthLabel.Text = "InitialMutation Strength Vector:";617 // mutationStrengthLabel 618 // 619 this.mutationStrengthLabel.Anchor = System.Windows.Forms.AnchorStyles.None; 620 this.mutationStrengthLabel.AutoSize = true; 621 this.mutationStrengthLabel.Location = new System.Drawing.Point(6, 175); 622 this.mutationStrengthLabel.Name = "mutationStrengthLabel"; 623 this.mutationStrengthLabel.Size = new System.Drawing.Size(128, 13); 624 this.mutationStrengthLabel.TabIndex = 16; 625 this.mutationStrengthLabel.Text = "Mutation Strength Vector:"; 578 626 // 579 627 // mutationRateLabel … … 585 633 this.mutationRateLabel.Name = "mutationRateLabel"; 586 634 this.mutationRateLabel.Size = new System.Drawing.Size(62, 13); 587 this.mutationRateLabel.TabIndex = 8;635 this.mutationRateLabel.TabIndex = 10; 588 636 this.mutationRateLabel.Text = "Lambda (λ):"; 589 637 // … … 594 642 this.maximumGenerationsTextBox.Name = "maximumGenerationsTextBox"; 595 643 this.maximumGenerationsTextBox.Size = new System.Drawing.Size(186, 20); 596 this.maximumGenerationsTextBox.TabIndex = 1 1;644 this.maximumGenerationsTextBox.TabIndex = 14; 597 645 // 598 646 // maximumGenerationsLabel … … 603 651 this.maximumGenerationsLabel.Name = "maximumGenerationsLabel"; 604 652 this.maximumGenerationsLabel.Size = new System.Drawing.Size(114, 13); 605 this.maximumGenerationsLabel.TabIndex = 1 0;653 this.maximumGenerationsLabel.TabIndex = 13; 606 654 this.maximumGenerationsLabel.Text = "Maximum &Generations:"; 607 655 // … … 642 690 this.randomSeedLabel.Text = "&Random Seed:"; 643 691 // 644 // label6 645 // 646 this.label6.Anchor = System.Windows.Forms.AnchorStyles.None; 647 this.label6.AutoSize = true; 648 this.label6.Location = new System.Drawing.Point(357, 201); 649 this.label6.Name = "label6"; 650 this.label6.Size = new System.Drawing.Size(87, 13); 651 this.label6.TabIndex = 4; 652 this.label6.Text = "(ShakingFactors)"; 653 // 654 // label5 655 // 656 this.label5.Anchor = System.Windows.Forms.AnchorStyles.None; 657 this.label5.AutoSize = true; 658 this.label5.Location = new System.Drawing.Point(357, 149); 659 this.label5.Name = "label5"; 660 this.label5.Size = new System.Drawing.Size(114, 13); 661 this.label5.TabIndex = 4; 662 this.label5.Text = "(MaximumGenerations)"; 663 // 664 // label4 665 // 666 this.label4.Anchor = System.Windows.Forms.AnchorStyles.None; 667 this.label4.AutoSize = true; 668 this.label4.Location = new System.Drawing.Point(356, 123); 669 this.label4.Name = "label4"; 670 this.label4.Size = new System.Drawing.Size(61, 13); 671 this.label4.TabIndex = 4; 672 this.label4.Text = "(ESlambda)"; 673 // 674 // label3 675 // 676 this.label3.Anchor = System.Windows.Forms.AnchorStyles.None; 677 this.label3.AutoSize = true; 678 this.label3.Location = new System.Drawing.Point(357, 97); 679 this.label3.Name = "label3"; 680 this.label3.Size = new System.Drawing.Size(42, 13); 681 this.label3.TabIndex = 4; 682 this.label3.Text = "(ESrho)"; 683 // 684 // label2 685 // 686 this.label2.Anchor = System.Windows.Forms.AnchorStyles.None; 687 this.label2.AutoSize = true; 688 this.label2.Location = new System.Drawing.Point(357, 71); 689 this.label2.Name = "label2"; 690 this.label2.Size = new System.Drawing.Size(41, 13); 691 this.label2.TabIndex = 4; 692 this.label2.Text = "(ESmu)"; 692 // problemDimensionVariableNameLabel 693 // 694 this.problemDimensionVariableNameLabel.Anchor = System.Windows.Forms.AnchorStyles.None; 695 this.problemDimensionVariableNameLabel.AutoSize = true; 696 this.problemDimensionVariableNameLabel.Location = new System.Drawing.Point(357, 201); 697 this.problemDimensionVariableNameLabel.Name = "problemDimensionVariableNameLabel"; 698 this.problemDimensionVariableNameLabel.Size = new System.Drawing.Size(100, 13); 699 this.problemDimensionVariableNameLabel.TabIndex = 25; 700 this.problemDimensionVariableNameLabel.Text = "(ProblemDimension)"; 701 // 702 // shakingFactorsVariableNameLabel 703 // 704 this.shakingFactorsVariableNameLabel.Anchor = System.Windows.Forms.AnchorStyles.None; 705 this.shakingFactorsVariableNameLabel.AutoSize = true; 706 this.shakingFactorsVariableNameLabel.Location = new System.Drawing.Point(357, 175); 707 this.shakingFactorsVariableNameLabel.Name = "shakingFactorsVariableNameLabel"; 708 this.shakingFactorsVariableNameLabel.Size = new System.Drawing.Size(87, 13); 709 this.shakingFactorsVariableNameLabel.TabIndex = 22; 710 this.shakingFactorsVariableNameLabel.Text = "(ShakingFactors)"; 711 // 712 // maximumGenerationsVariableNameLabel 713 // 714 this.maximumGenerationsVariableNameLabel.Anchor = System.Windows.Forms.AnchorStyles.None; 715 this.maximumGenerationsVariableNameLabel.AutoSize = true; 716 this.maximumGenerationsVariableNameLabel.Location = new System.Drawing.Point(357, 149); 717 this.maximumGenerationsVariableNameLabel.Name = "maximumGenerationsVariableNameLabel"; 718 this.maximumGenerationsVariableNameLabel.Size = new System.Drawing.Size(114, 13); 719 this.maximumGenerationsVariableNameLabel.TabIndex = 15; 720 this.maximumGenerationsVariableNameLabel.Text = "(MaximumGenerations)"; 721 // 722 // esLambdaVariableNameLabel 723 // 724 this.esLambdaVariableNameLabel.Anchor = System.Windows.Forms.AnchorStyles.None; 725 this.esLambdaVariableNameLabel.AutoSize = true; 726 this.esLambdaVariableNameLabel.Location = new System.Drawing.Point(357, 123); 727 this.esLambdaVariableNameLabel.Name = "esLambdaVariableNameLabel"; 728 this.esLambdaVariableNameLabel.Size = new System.Drawing.Size(61, 13); 729 this.esLambdaVariableNameLabel.TabIndex = 12; 730 this.esLambdaVariableNameLabel.Text = "(ESlambda)"; 731 // 732 // esRhoVariableNameLabel 733 // 734 this.esRhoVariableNameLabel.Anchor = System.Windows.Forms.AnchorStyles.None; 735 this.esRhoVariableNameLabel.AutoSize = true; 736 this.esRhoVariableNameLabel.Location = new System.Drawing.Point(357, 97); 737 this.esRhoVariableNameLabel.Name = "esRhoVariableNameLabel"; 738 this.esRhoVariableNameLabel.Size = new System.Drawing.Size(42, 13); 739 this.esRhoVariableNameLabel.TabIndex = 9; 740 this.esRhoVariableNameLabel.Text = "(ESrho)"; 741 // 742 // esMuVariableNameLabel 743 // 744 this.esMuVariableNameLabel.Anchor = System.Windows.Forms.AnchorStyles.None; 745 this.esMuVariableNameLabel.AutoSize = true; 746 this.esMuVariableNameLabel.Location = new System.Drawing.Point(357, 71); 747 this.esMuVariableNameLabel.Name = "esMuVariableNameLabel"; 748 this.esMuVariableNameLabel.Size = new System.Drawing.Size(41, 13); 749 this.esMuVariableNameLabel.TabIndex = 6; 750 this.esMuVariableNameLabel.Text = "(ESmu)"; 693 751 // 694 752 // populationSizeLabel … … 709 767 this.lambdaTextBox.Name = "lambdaTextBox"; 710 768 this.lambdaTextBox.Size = new System.Drawing.Size(186, 20); 711 this.lambdaTextBox.TabIndex = 9;769 this.lambdaTextBox.TabIndex = 11; 712 770 // 713 771 // scopesTabPage … … 810 868 private System.Windows.Forms.TextBox maximumGenerationsTextBox; 811 869 private System.Windows.Forms.Label maximumGenerationsLabel; 812 private System.Windows.Forms.TextBox initialMutationStrengthVectorTextBox;813 private System.Windows.Forms.Label initialMutationStrengthLabel;870 private System.Windows.Forms.TextBox shakingFactorsLowerBoundTextBox; 871 private System.Windows.Forms.Label mutationStrengthLabel; 814 872 private System.Windows.Forms.TextBox randomSeedTextBox; 815 873 private System.Windows.Forms.Label setRandomSeedRandomlyLabel; … … 835 893 private System.Windows.Forms.Button viewProblemInitializationButton; 836 894 private System.Windows.Forms.TextBox generalLearningRateTextBox; 837 private System.Windows.Forms.Label targetSuccessRateLabel;895 private System.Windows.Forms.Label generalLearningRateLabel; 838 896 private System.Windows.Forms.Button setRecombinationButton; 839 897 private System.Windows.Forms.Button viewRecombinationButton; … … 847 905 private System.Windows.Forms.GroupBox successRuleGroupBox; 848 906 private System.Windows.Forms.TextBox learningRateTextBox; 849 private System.Windows.Forms.Label l abel1;850 private System.Windows.Forms.Label label5;851 private System.Windows.Forms.Label label4;852 private System.Windows.Forms.Label label3;853 private System.Windows.Forms.Label label2;854 private System.Windows.Forms.Label label6;855 private System.Windows.Forms.Label l abel8;856 private System.Windows.Forms.Label label7;907 private System.Windows.Forms.Label learningRateLabel; 908 private System.Windows.Forms.Label maximumGenerationsVariableNameLabel; 909 private System.Windows.Forms.Label esLambdaVariableNameLabel; 910 private System.Windows.Forms.Label esRhoVariableNameLabel; 911 private System.Windows.Forms.Label esMuVariableNameLabel; 912 private System.Windows.Forms.Label shakingFactorsVariableNameLabel; 913 private System.Windows.Forms.Label learningRateVariableNameLabel; 914 private System.Windows.Forms.Label generalLearningRateVariableNameLabel; 857 915 private System.Windows.Forms.ToolTip toolTip; 858 916 private System.Windows.Forms.TextBox problemDimensionTextBox; 859 917 private System.Windows.Forms.Label problemDimensionLabel; 918 private System.Windows.Forms.Label leftBracketLabelRight; 919 private System.Windows.Forms.Label semicolonLabel; 920 private System.Windows.Forms.Label leftBracketLabelLeft; 921 private System.Windows.Forms.TextBox shakingFactorsUpperBoundTextBox; 922 private System.Windows.Forms.Label problemDimensionVariableNameLabel; 860 923 } 861 924 } -
trunk/sources/HeuristicLab.ES/ESEditor.cs
r1112 r1222 52 52 public ESEditor() { 53 53 InitializeComponent(); 54 problemDimensionTextBox.Text = "1";55 54 } 56 55 /// <summary> … … 61 60 : this() { 62 61 ES = es; 63 int dimension = es.ShakingFactors.Length;64 problemDimensionTextBox.Text = dimension.ToString();65 62 } 66 63 … … 114 111 evaluationTextBox.Text = ES.Evaluator.GetType().Name; 115 112 recombinationTextBox.Text = ES.Recombinator.GetType().Name; 116 initialMutationStrengthVectorTextBox.Text = ArrayToString<double>(ES.ShakingFactors); 113 plusRadioButton.Checked = ES.PlusNotation; 114 commaRadioButton.Checked = !ES.PlusNotation; 117 115 } 118 116 } … … 125 123 lambdaTextBox.DataBindings.Add("Text", ES, "Lambda"); 126 124 maximumGenerationsTextBox.DataBindings.Add("Text", ES, "MaximumGenerations"); 125 shakingFactorsLowerBoundTextBox.DataBindings.Add("Text", ES, "ShakingFactorsMin"); 126 shakingFactorsUpperBoundTextBox.DataBindings.Add("Text", ES, "ShakingFactorsMax"); 127 problemDimensionTextBox.DataBindings.Add("Text", ES, "ProblemDimension"); 127 128 generalLearningRateTextBox.DataBindings.Add("Text", ES, "GeneralLearningRate"); 128 129 learningRateTextBox.DataBindings.Add("Text", ES, "LearningRate"); … … 241 242 #endregion 242 243 243 private string ArrayToString<T>(T[] array) { 244 StringBuilder s = new StringBuilder(); 245 foreach (T element in array) 246 s.Append(element + "; "); 247 s.Remove(s.Length - 2, 2); 248 return s.ToString(); 249 } 250 251 private double[] StringToDoubleArray(string str) { 252 253 string[] s = str.Split(new char[] { ';' }); 254 double[] tmp = new double[s.Length]; 255 try { 256 for (int i = 0; i < s.Length; i++) { 257 tmp[i] = double.Parse(s[i]); 258 } 259 } catch (FormatException) { 260 return null; 261 } 262 return tmp; 263 } 264 265 private void initialMutationStrengthVectorTextBox_Validated(object sender, EventArgs e) { 266 double[] tmp = StringToDoubleArray(initialMutationStrengthVectorTextBox.Text); 267 if (tmp != null) ES.ShakingFactors = tmp; 268 else MessageBox.Show("Please use colons \";\" (without the quotes) to delimite the items like this: " + (1.2).ToString() + ";" + (1.1).ToString() + ";" + (3.453).ToString()); 269 int dim = int.Parse(problemDimensionTextBox.Text); 270 if (ES.ShakingFactors.Length != dim) { 271 problemDimensionTextBox.Text = ES.ShakingFactors.Length.ToString(); 272 UpdateLearningRates(); 273 } 244 private void problemDimensionTextBox_Validated(object sender, EventArgs e) { 245 UpdateLearningRates(); 274 246 Refresh(); 275 }276 277 private void problemDimensionTextBox_Validated(object sender, EventArgs e) {278 double[] tmp = StringToDoubleArray(initialMutationStrengthVectorTextBox.Text);279 if (tmp != null) {280 int dim = 0;281 try {282 dim = int.Parse(problemDimensionTextBox.Text);283 if (dim < 1) throw new FormatException();284 } catch (FormatException) {285 MessageBox.Show("Problem Dimension must contain an integer > 0");286 }287 double[] shakingFactors = new double[dim];288 for (int i = 0; i < dim; i++) {289 shakingFactors[i] = tmp[i % tmp.Length];290 }291 ES.ShakingFactors = shakingFactors;292 UpdateLearningRates();293 Refresh();294 }295 247 } 296 248 -
trunk/sources/HeuristicLab.ES/ESEditor.resx
r1112 r1222 121 121 <value>7, 3</value> 122 122 </metadata> 123 <metadata name="toolTip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> 124 <value>7, 3</value> 125 </metadata> 126 <data name="initialMutationStrengthVectorTextBox.ToolTip" xml:space="preserve"> 123 <data name="shakingFactorsUpperBoundTextBox.ToolTip" xml:space="preserve"> 124 <value>Enter a pattern that is used to generate the initial strategy vector. 125 This can be a single number, or a pattern of numbers which is used until the dimension is reached. 126 Use the colon ; to separate two numbers.</value> 127 </data> 128 <data name="shakingFactorsLowerBoundTextBox.ToolTip" xml:space="preserve"> 127 129 <value>Enter a pattern that is used to generate the initial strategy vector. 128 130 This can be a single number, or a pattern of numbers which is used until the dimension is reached. -
trunk/sources/HeuristicLab.ES/HeuristicLab.ES.csproj
r852 r1222 90 90 <Name>HeuristicLab.Data</Name> 91 91 </ProjectReference> 92 <ProjectReference Include="..\HeuristicLab.Evolutionary\HeuristicLab.Evolutionary.csproj">93 <Project>{F5614C53-153C-4A37-A608-121E1C087F07}</Project>94 <Name>HeuristicLab.Evolutionary</Name>95 </ProjectReference>96 92 <ProjectReference Include="..\HeuristicLab.Logging\HeuristicLab.Logging.csproj"> 97 93 <Project>{4095C92C-5A4C-44BC-9963-5F384CF5CC3F}</Project> … … 110 106 <Name>HeuristicLab.Random</Name> 111 107 </ProjectReference> 112 <ProjectReference Include="..\HeuristicLab. Selection.OffspringSelection\HeuristicLab.Selection.OffspringSelection.csproj">113 <Project>{2 05898D3-2717-4686-AF17-52409B7EC0C6}</Project>114 <Name>HeuristicLab. Selection.OffspringSelection</Name>108 <ProjectReference Include="..\HeuristicLab.RealVector\HeuristicLab.RealVector.csproj"> 109 <Project>{2D4E4565-3ED9-4BEB-AE75-39D871843D24}</Project> 110 <Name>HeuristicLab.RealVector</Name> 115 111 </ProjectReference> 116 112 <ProjectReference Include="..\HeuristicLab.Selection\HeuristicLab.Selection.csproj"> -
trunk/sources/HeuristicLab.ES/HeuristicLabESPlugin.cs
r896 r1222 33 33 [Dependency(Dependency = "HeuristicLab.Core-3.2")] 34 34 [Dependency(Dependency = "HeuristicLab.Data-3.2")] 35 [Dependency(Dependency = "HeuristicLab.Evolutionary-3.2")]36 35 [Dependency(Dependency = "HeuristicLab.Logging-3.2")] 37 36 [Dependency(Dependency = "HeuristicLab.Operators-3.2")] 38 37 [Dependency(Dependency = "HeuristicLab.Random-3.2")] 39 38 [Dependency(Dependency = "HeuristicLab.Selection-3.2")] 40 [Dependency(Dependency = "HeuristicLab.Selection.OffspringSelection-3.2")]41 39 [Dependency(Dependency = "HeuristicLab.SequentialEngine-3.2")] 40 [Dependency(Dependency = "HeuristicLab.RealVector-3.2")] 42 41 public class HeuristicLabESPlugin : PluginBase { 43 42 }
Note: See TracChangeset
for help on using the changeset viewer.