Changeset 7669 for branches/HeuristicLab.Hive.Azure/HeuristicLab.Problems.OneMax/3.3/OnemaxProblem.cs
- Timestamp:
- 03/28/12 15:47:26 (12 years ago)
- Location:
- branches/HeuristicLab.Hive.Azure
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive.Azure
- Property svn:ignore
-
old new 3 3 *.resharper 4 4 *.suo 5 *.user 5 6 *.vsp 6 7 Doxygen 8 FxCopResults.txt 7 9 Google.ProtocolBuffers-0.9.1.dll 8 10 HeuristicLab 3.3.5.1.ReSharper.user
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/HeuristicLab.Hive.Azure/HeuristicLab.Problems.OneMax/3.3/OnemaxProblem.cs
r7270 r7669 72 72 private OneMaxProblem(OneMaxProblem original, Cloner cloner) 73 73 : base(original, cloner) { 74 AttachEventHandlers();74 RegisterEventHandlers(); 75 75 } 76 76 public OneMaxProblem() … … 80 80 Maximization.Value = true; 81 81 MaximizationParameter.Hidden = true; 82 BestKnownQuality .Value = 5;82 BestKnownQuality = new DoubleValue(5); 83 83 84 84 SolutionCreator.BinaryVectorParameter.ActualName = "OneMaxSolution"; … … 88 88 89 89 InitializeOperators(); 90 AttachEventHandlers();90 RegisterEventHandlers(); 91 91 } 92 92 … … 140 140 if (Operators.Count == 0) InitializeOperators(); 141 141 #endregion 142 AttachEventHandlers();142 RegisterEventHandlers(); 143 143 } 144 144 145 private void AttachEventHandlers() {145 private void RegisterEventHandlers() { 146 146 SolutionCreator.BinaryVectorParameter.ActualNameChanged += new EventHandler(SolutionCreator_BinaryVectorParameter_ActualNameChanged); 147 147 LengthParameter.ValueChanged += new EventHandler(LengthParameter_ValueChanged);
Note: See TracChangeset
for help on using the changeset viewer.