Changeset 14523 for trunk/sources/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/HillClimber.cs
- Timestamp:
- 12/22/16 15:47:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.ParameterlessPopulationPyramid/3.3/HillClimber.cs
r14517 r14523 54 54 get { return typeof(BinaryProblem); } 55 55 } 56 57 public override bool SupportsPause { get { return false; } } 58 56 59 public new BinaryProblem Problem { 57 60 get { return (BinaryProblem)base.Problem; } … … 90 93 public HillClimber() 91 94 : base() { 92 pausable = true;93 95 random = new MersenneTwister(); 94 96 Parameters.Add(new FixedValueParameter<IntValue>(IterationsParameterName, "", new IntValue(100))); 95 97 } 96 98 97 [StorableHook(HookType.AfterDeserialization)]98 private void AfterDeserialization() {99 // BackwardsCompatibility3.3100 #region Backwards compatible code, remove with 3.4101 pausable = true;102 #endregion103 }104 99 105 100 protected override void Initialize(CancellationToken cancellationToken) {
Note: See TracChangeset
for help on using the changeset viewer.