Changeset 7351 for trunk/sources/HeuristicLab.Problems.ArtificialAnt
- Timestamp:
- 01/17/12 23:54:58 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.ArtificialAnt/3.4/ArtificialAntProblem.cs
r7259 r7351 151 151 [StorableHook(HookType.AfterDeserialization)] 152 152 private void AfterDeserialization() { 153 AttachEventHandlers();153 RegisterEventHandlers(); 154 154 } 155 155 156 156 private ArtificialAntProblem(ArtificialAntProblem original, Cloner cloner) 157 157 : base(original, cloner) { 158 AttachEventHandlers();158 RegisterEventHandlers(); 159 159 } 160 160 public override IDeepCloneable Clone(Cloner cloner) { … … 179 179 Evaluator.QualityParameter.ActualName = "FoodEaten"; 180 180 InitializeOperators(); 181 AttachEventHandlers();181 RegisterEventHandlers(); 182 182 } 183 183 … … 212 212 213 213 #region Helpers 214 private void AttachEventHandlers() {214 private void RegisterEventHandlers() { 215 215 SolutionCreator.SymbolicExpressionTreeParameter.ActualNameChanged += new EventHandler(SolutionCreator_SymbolicExpressionTreeParameter_ActualNameChanged); 216 216 Evaluator.QualityParameter.ActualNameChanged += new EventHandler(Evaluator_QualityParameter_ActualNameChanged);
Note: See TracChangeset
for help on using the changeset viewer.