Changeset 16749 for branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSOSwarmUpdater.cs
- Timestamp:
- 04/03/19 14:39:50 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSOSwarmUpdater.cs
r16723 r16749 55 55 get { return (IScopeTreeLookupParameter<DoubleValue>)Parameters["NeighborBestQuality"]; } 56 56 } 57 public IScopeTreeLookupParameter<RealVector> RealVector sParameter {58 get { return (IScopeTreeLookupParameter<RealVector>)Parameters["RealVector s"]; }57 public IScopeTreeLookupParameter<RealVector> RealVectorParameter { 58 get { return (IScopeTreeLookupParameter<RealVector>)Parameters["RealVector"]; } 59 59 } 60 60 public IScopeTreeLookupParameter<RealVector> PersonalBestParameter { … … 169 169 var max = MaximizationParameter.ActualValue.Value; 170 170 // Update of the personal bests 171 var points = RealVector sParameter.ActualValue;171 var points = RealVectorParameter.ActualValue; 172 172 var qualities = QualityParameter.ActualValue; 173 173 var particles = points.Select((p, i) => new { Particle = p, Index = i })
Note: See TracChangeset
for help on using the changeset viewer.