- Timestamp:
- 03/01/11 16:38:39 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorSwarmUpdater.cs
r5568 r5581 206 206 } 207 207 for (int i = 0; i < RealVector.Length; i++) { 208 if (Maximization && PersonalBestQuality[i].Value > NeighborBestQuality[i].Value ||209 !Maximization && PersonalBestQuality[i].Value < NeighborBestQuality[i].Value) {208 if (Maximization && PersonalBestQuality[i].Value > neighborBestQuality[i].Value || 209 !Maximization && PersonalBestQuality[i].Value < neighborBestQuality[i].Value) { 210 210 neighborBestQuality[i].Value = PersonalBestQuality[i].Value; 211 211 neighborBest[i] = PersonalBest[i];
Note: See TracChangeset
for help on using the changeset viewer.