Changeset 7351 for trunk/sources/HeuristicLab.Problems.Knapsack
- Timestamp:
- 01/17/12 23:54:58 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.Knapsack/3.3/KnapsackProblem.cs
r7259 r7351 100 100 private KnapsackProblem(KnapsackProblem original, Cloner cloner) 101 101 : base(original, cloner) { 102 AttachEventHandlers();102 RegisterEventHandlers(); 103 103 } 104 104 public override IDeepCloneable Clone(Cloner cloner) { … … 124 124 125 125 InitializeOperators(); 126 AttachEventHandlers();126 RegisterEventHandlers(); 127 127 } 128 128 … … 194 194 if (Operators.Count == 0) InitializeOperators(); 195 195 #endregion 196 AttachEventHandlers();197 } 198 199 private void AttachEventHandlers() {196 RegisterEventHandlers(); 197 } 198 199 private void RegisterEventHandlers() { 200 200 SolutionCreator.BinaryVectorParameter.ActualNameChanged += new EventHandler(SolutionCreator_BinaryVectorParameter_ActualNameChanged); 201 201 KnapsackCapacityParameter.ValueChanged += new EventHandler(KnapsackCapacityParameter_ValueChanged);
Note: See TracChangeset
for help on using the changeset viewer.