Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/03/19 14:39:50 (5 years ago)
Author:
abeham
Message:

#2521: fixed RealVectorEncoding

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSOSwarmUpdater.cs

    r16723 r16749  
    5555      get { return (IScopeTreeLookupParameter<DoubleValue>)Parameters["NeighborBestQuality"]; }
    5656    }
    57     public IScopeTreeLookupParameter<RealVector> RealVectorsParameter {
    58       get { return (IScopeTreeLookupParameter<RealVector>)Parameters["RealVectors"]; }
     57    public IScopeTreeLookupParameter<RealVector> RealVectorParameter {
     58      get { return (IScopeTreeLookupParameter<RealVector>)Parameters["RealVector"]; }
    5959    }
    6060    public IScopeTreeLookupParameter<RealVector> PersonalBestParameter {
     
    169169      var max = MaximizationParameter.ActualValue.Value;
    170170      // Update of the personal bests
    171       var points = RealVectorsParameter.ActualValue;
     171      var points = RealVectorParameter.ActualValue;
    172172      var qualities = QualityParameter.ActualValue;
    173173      var particles = points.Select((p, i) => new { Particle = p, Index = i })
Note: See TracChangeset for help on using the changeset viewer.