Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/09/11 13:46:14 (14 years ago)
Author:
epitzer
Message:

Set CurrentInertia inside operator graph and make sure all operators use it
Set default end value to epsilon instead of zero (#852)

File:
1 edited

Legend:

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

    r5643 r5645  
    6363    }
    6464    public ILookupParameter<DoubleValue> InertiaParameter {
    65       get { return (ILookupParameter<DoubleValue>)Parameters["Inertia"]; }
     65      get { return (ILookupParameter<DoubleValue>)Parameters["CurrentInertia"]; }
    6666    }
    6767    public ILookupParameter<DoubleValue> PersonalBestAttractionParameter {
     
    125125      Parameters.Add(new LookupParameter<DoubleMatrix>("Bounds", "The lower and upper bounds for each dimension of the position vector for the current problem."));
    126126      Parameters.Add(new LookupParameter<DoubleMatrix>("VelocityBounds", "Upper and lower bounds for the particle's velocity vector."));
    127       Parameters.Add(new LookupParameter<DoubleValue>("Inertia", "The weight for the particle's velocity vector."));
     127      Parameters.Add(new LookupParameter<DoubleValue>("CurrentInertia", "The weight for the particle's velocity vector."));
    128128      Parameters.Add(new LookupParameter<DoubleValue>("PersonalBestAttraction", "The weight for the particle's personal best position."));
    129129      Parameters.Add(new LookupParameter<DoubleValue>("NeighborBestAttraction", "The weight for the global best position."));
Note: See TracChangeset for help on using the changeset viewer.