Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/04/11 21:34:45 (14 years ago)
Author:
abeham
Message:

#852

  • Made public properties that redirect to ActualValue.Value private or protected
  • Sealed all of the specific operators
  • Removed files that are present in the repository, but are not included in the project
  • Removed .sln file (is this still needed?)
  • Added license headers to some files
  • Unified the pattern for writing the constructors similar to other files in the trunk
  • Corrected assembly and plugin version from 3.3.0.x to 3.3.2.x
  • Fixed the wiring in the VelocityBoundsModifier
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.ParticleSwarmOptimization/3.3/NeighborhoodParticleUpdater.cs

    r5427 r5435  
    2626
    2727namespace HeuristicLab.Algorithms.ParticleSwarmOptimization {
    28 
    29   [Item("Neighborhood Particle Updater", "Updates the particle's position using (among other things) the best neighbor's position. Point = Point + Velocity*Omega + (PersonalBestPoint-Point)*Phi_P*r_p + (BestNeighborPoint-Point)*Phi_G*r_g")]
     28  [Item("Neighborhood Particle Updater", "Updates the particle's position using (among other things) the best neighbor's position. Point = Point + Velocity*Omega + (PersonalBestPoint-Point)*Phi_P*r_p + (BestNeighborPoint-Point)*Phi_G*r_g.")]
    3029  [StorableClass]
    31   public class NeighborhoodParticleUpdater : ParticleUpdater, ILocalParticleUpdater {
    32 
    33     #region Construction & Cloning
     30  public sealed class NeighborhoodParticleUpdater : ParticleUpdater, ILocalParticleUpdater {
    3431
    3532    [StorableConstructor]
    36     protected NeighborhoodParticleUpdater(bool deserializing) : base(deserializing) { }
    37     protected NeighborhoodParticleUpdater(NeighborhoodParticleUpdater original, Cloner cloner) : base(original, cloner) { }
     33    private NeighborhoodParticleUpdater(bool deserializing) : base(deserializing) { }
     34    private NeighborhoodParticleUpdater(NeighborhoodParticleUpdater original, Cloner cloner) : base(original, cloner) { }
    3835    public NeighborhoodParticleUpdater() : base() { }
    3936
     
    4138      return new NeighborhoodParticleUpdater(this, cloner);
    4239    }
    43 
    44     #endregion
    4540
    4641    public override IOperation Apply() {
Note: See TracChangeset for help on using the changeset viewer.