Changeset 3189 for trunk/sources
- Timestamp:
- 03/23/10 00:07:29 (15 years ago)
- Location:
- trunk/sources
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.LocalSearch/3.3/LocalSearch.cs
r3187 r3189 153 153 } 154 154 155 protected override void OnPrepared() { 156 base.OnPrepared(); 157 if (Engine != null) { 158 if (Problem == null || MoveGenerator == null || MoveMaker == null || MoveEvaluator == null) 159 Engine.Prepare(null); 160 } 161 } 162 155 163 #region Events 156 164 protected override void OnProblemChanged() { -
trunk/sources/HeuristicLab.Algorithms.SimulatedAnnealing/3.3/SimulatedAnnealing.cs
r3187 r3189 181 181 } 182 182 183 protected override void OnPrepared() { 184 base.OnPrepared(); 185 if (Engine != null) { 186 if (Problem == null || MoveGenerator == null || MoveMaker == null || MoveEvaluator == null) 187 Engine.Prepare(null); 188 } 189 } 190 183 191 #region Events 184 192 protected override void OnProblemChanged() { -
trunk/sources/HeuristicLab.Algorithms.TabuSearch/3.3/TabuSearch.cs
r3187 r3189 175 175 } 176 176 177 protected override void OnPrepared() { 178 base.OnPrepared(); 179 if (Engine != null) { 180 if (Problem == null || MoveGenerator == null || MoveMaker == null || MoveEvaluator == null 181 || TabuMoveEvaluator == null || TabuMoveMaker == null) 182 Engine.Prepare(null); 183 } 184 } 185 177 186 #region Events 178 187 protected override void OnProblemChanged() {
Note: See TracChangeset
for help on using the changeset viewer.