Changeset 3739 for trunk/sources/HeuristicLab.Optimization
- Timestamp:
- 05/10/10 14:18:22 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Optimization/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Optimization/3.3/Algorithm.cs
r3716 r3739 265 265 problem.EvaluatorChanged -= new EventHandler(Problem_EvaluatorChanged); 266 266 problem.OperatorsChanged -= new EventHandler(Problem_OperatorsChanged); 267 problem.Reset -= new EventHandler(Problem_Reset); 267 268 } 268 269 protected virtual void RegisterProblemEvents() { … … 270 271 problem.EvaluatorChanged += new EventHandler(Problem_EvaluatorChanged); 271 272 problem.OperatorsChanged += new EventHandler(Problem_OperatorsChanged); 273 problem.Reset += new EventHandler(Problem_Reset); 272 274 } 273 275 protected virtual void Problem_SolutionCreatorChanged(object sender, EventArgs e) { } 274 276 protected virtual void Problem_EvaluatorChanged(object sender, EventArgs e) { } 275 277 protected virtual void Problem_OperatorsChanged(object sender, EventArgs e) { } 278 protected virtual void Problem_Reset(object sender, EventArgs e) { 279 Prepare(); 280 } 276 281 277 282 protected virtual void DeregisterRunsEvents() { -
trunk/sources/HeuristicLab.Optimization/3.3/Interfaces/IProblem.cs
r3616 r3739 39 39 event EventHandler EvaluatorChanged; 40 40 event EventHandler OperatorsChanged; 41 event EventHandler Reset; 41 42 } 42 43 }
Note: See TracChangeset
for help on using the changeset viewer.