Changeset 7074
- Timestamp:
- 11/25/11 11:13:30 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorSwarmUpdater.cs
r7073 r7074 219 219 private void AfterDeserialization() { 220 220 if (!Parameters.ContainsKey("SwarmBestQuality")) { 221 ILookupParameter<DoubleValue> oldBestQualityParameter = Parameters["BestQuality"] as ILookupParameter<DoubleValue>; 221 222 Parameters.Add(new LookupParameter<DoubleValue>("SwarmBestQuality", "Swarm's best quality.")); 223 if (oldBestQualityParameter.ActualName != oldBestQualityParameter.Name) 224 SwarmBestQualityParameter.ActualName = oldBestQualityParameter.ActualName; 222 225 Parameters.Remove("BestQuality"); 223 226 }
Note: See TracChangeset
for help on using the changeset viewer.