- Timestamp:
- 03/08/16 17:51:43 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PerformanceComparison/HeuristicLab.OptimizationExpertSystem.Common/3.3/ExpertSystem.cs
r13667 r13668 123 123 } 124 124 125 [Storable(Name = "solutionPool")]126 private ItemList<IScope> oldBackwardsCompatible;127 125 [Storable(Name = "newSolutionPool")] 128 126 private CheckedItemList<IScope> solutionPool; … … 199 197 private void AfterDeserialization() { 200 198 readOnlySuggestedInstances = suggestedInstances.AsReadOnly(); 201 // BackwardsCompatibility3.3202 #region Backwards compatible code, remove with trunk integration203 if (oldBackwardsCompatible != null) solutionPool = new CheckedItemList<IScope>(solutionPool);204 else if (solutionPool == null) solutionPool = new CheckedItemList<IScope>();205 #endregion206 199 RegisterEventHandlers(); 207 200 } … … 364 357 var selectedInstance = suggestedInstances[index]; 365 358 var algorithm = (IAlgorithm)selectedInstance.Clone(); 359 algorithm.Problem = Problem.CloneProblem(); 366 360 algorithm.Prepare(true); 367 361 IParameter stopParam; … … 384 378 var selectedInstance = suggestedInstances[index]; 385 379 var algorithm = (IAlgorithm)selectedInstance.Clone(); 380 algorithm.Problem = Problem.CloneProblem(); 386 381 algorithm.Prepare(true); 387 382 IParameter stopParam;
Note: See TracChangeset
for help on using the changeset viewer.