Changeset 6043
- Timestamp:
- 04/23/11 00:43:49 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.LocalSearch/3.3/LocalSearchImprovementOperator.cs
r6042 r6043 37 37 [Item("LocalSearchImprovementOperator", "A local search improvement operator.")] 38 38 [StorableClass] 39 public sealed class LocalSearchImprovementOperator : SingleSuccessorOperator, I GenericLocalImprovementOperator, IStochasticOperator {39 public sealed class LocalSearchImprovementOperator : SingleSuccessorOperator, ILocalImprovementOperator, IStochasticOperator { 40 40 #region IGenericLocalImprovementOperator Properties 41 41 public Type ProblemType { get { return typeof(ISingleObjectiveHeuristicOptimizationProblem); } } -
trunk/sources/HeuristicLab.Algorithms.LocalSearch/3.3/LocalSearchMainLoop.cs
r6042 r6043 243 243 return base.Apply(); 244 244 } 245 246 [StorableHook(HookType.AfterDeserialization)] 247 private void AfterDeserialization() { 248 // BackwardsCompatibility3.3 249 #region Backwards compatible code, remove with 3.4 250 if (!Parameters.ContainsKey("BestLocalQuality")) 251 Parameters.Add(new LookupParameter<DoubleValue>("BestLocalQuality", "The value which represents the best quality found so far.")); 252 if (!Parameters.ContainsKey("Iterations")) 253 Parameters.Add(new LookupParameter<IntValue>("Iterations", "The number of iterations performed.")); 254 #endregion 255 } 245 256 } 246 257 } -
trunk/sources/HeuristicLab.Algorithms.SimulatedAnnealing/3.3/SimulatedAnnealingImprovementOperator.cs
r6042 r6043 38 38 [Item("SimulatedAnnealingImprovementOperator", "A simulated annealing improvement operator.")] 39 39 [StorableClass] 40 public sealed class SimulatedAnnealingImprovementOperator : SingleSuccessorOperator, I GenericLocalImprovementOperator, IStochasticOperator {40 public sealed class SimulatedAnnealingImprovementOperator : SingleSuccessorOperator, ILocalImprovementOperator, IStochasticOperator { 41 41 #region IGenericLocalImprovementOperator Properties 42 42 public Type ProblemType { get { return typeof(ISingleObjectiveHeuristicOptimizationProblem); } }
Note: See TracChangeset
for help on using the changeset viewer.