Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/02/11 15:22:54 (12 years ago)
Author:
epitzer
Message:

Additional improvements to PSO (#852)

  • simplify and clean up RealVectorSwarmUpdater
  • make the RealVectorParticleCreator an AlgorithmOperator
  • standardize naming of local variables in ParticleUpdaters
  • remove default parameter values from main loop
  • new implementation of MultiPSOTopologyUpdater (using shuffling)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorParticleUpdater.cs

    r5568 r5592  
    2828
    2929namespace HeuristicLab.Encodings.RealVectorEncoding {
     30
    3031  [Item("RealVectorParticleUpdater", "Updates a certain particle taking the current position and velocity into account, as well as the best point and the best point in a local neighborhood.")]
    3132  [StorableClass]
    3233  public abstract class RealVectorParticleUpdater : SingleSuccessorOperator, IRealVectorParticleUpdater {
     34
    3335    public override bool CanChangeName {
    3436      get { return false; }
     
    110112
    111113    #region Construction & Cloning
    112 
    113114    [StorableConstructor]
    114115    protected RealVectorParticleUpdater(bool deserializing) : base(deserializing) { }
    115116    protected RealVectorParticleUpdater(RealVectorParticleUpdater original, Cloner cloner) : base(original, cloner) { }
    116 
    117117    public RealVectorParticleUpdater()
    118118      : base() {
     
    129129      Parameters.Add(new LookupParameter<DoubleValue>("NeighborBestAttraction", "The weight for the global best position."));
    130130    }
    131 
    132131    #endregion
    133132  }
Note: See TracChangeset for help on using the changeset viewer.