Changeset 79
- Timestamp:
- 03/19/08 12:27:29 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.ES/ES.cs
r78 r79 380 380 } 381 381 private DoubleData mySuccessProbability; 382 private DoubleData myTargetSuccessProbability; 382 383 public double SuccessProbability { 383 get { return mySuccessProbability.Data; } 384 set { mySuccessProbability.Data = value; } 384 get { return myTargetSuccessProbability.Data; } 385 set { 386 myTargetSuccessProbability.Data = value; 387 mySuccessProbability.Data = value; 388 } 385 389 } 386 390 private IntData myMaximumGenerations; … … 475 479 myPlusNotation = vi.GetVariable("PlusNotation").GetValue<BoolData>(); 476 480 myShakingFactor = vi.GetVariable("ShakingFactor").GetValue<DoubleData>(); 477 mySuccessProbability = vi.GetVariable("TargetSuccessProbability").GetValue<DoubleData>(); 481 myTargetSuccessProbability = vi.GetVariable("TargetSuccessProbability").GetValue<DoubleData>(); 482 mySuccessProbability = vi.GetVariable("SuccessProbability").GetValue<DoubleData>(); 478 483 // Population Initialization 479 484 CombinedOperator co3 = (CombinedOperator)sp1.SubOperators[1];
Note: See TracChangeset
for help on using the changeset viewer.