Changeset 5435 for trunk/sources/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/TotallyConnectedParticleUpdater.cs
- Timestamp:
- 02/04/11 21:34:45 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/TotallyConnectedParticleUpdater.cs
r5427 r5435 26 26 27 27 namespace HeuristicLab.Algorithms.ParticleSwarmOptimization { 28 29 28 [Item("Totally Connected Particle Updater", "Updates the particle's position using (among other things) the global best position. Use together with the empty topology initialzer. Point = Point + Velocity*Omega + (PersonalBestPoint-Point)*Phi_P*r_p + (BestPoint-Point)*Phi_G*r_g")] 30 29 [StorableClass] 31 public class TotallyConnectedParticleUpdater : ParticleUpdater, IGlobalParticleUpdater {30 public sealed class TotallyConnectedParticleUpdater : ParticleUpdater, IGlobalParticleUpdater { 32 31 33 32 #region Construction & Cloning 34 33 35 34 [StorableConstructor] 36 pr otectedTotallyConnectedParticleUpdater(bool deserializing) : base(deserializing) { }37 pr otectedTotallyConnectedParticleUpdater(TotallyConnectedParticleUpdater original, Cloner cloner) : base(original, cloner) { }35 private TotallyConnectedParticleUpdater(bool deserializing) : base(deserializing) { } 36 private TotallyConnectedParticleUpdater(TotallyConnectedParticleUpdater original, Cloner cloner) : base(original, cloner) { } 38 37 public TotallyConnectedParticleUpdater() : base() { } 39 38
Note: See TracChangeset
for help on using the changeset viewer.