Changeset 16692 for branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSOSwarmUpdater.cs
- Timestamp:
- 03/18/19 17:24:30 (5 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 2 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:ignore
-
old new 24 24 protoc.exe 25 25 obj 26 .vs
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/SPSOSwarmUpdater.cs
r15681 r16692 55 55 get { return (IScopeTreeLookupParameter<DoubleValue>)Parameters["NeighborBestQuality"]; } 56 56 } 57 public IScopeTreeLookupParameter<RealVector> RealVector Parameter {58 get { return (IScopeTreeLookupParameter<RealVector>)Parameters["RealVector "]; }57 public IScopeTreeLookupParameter<RealVector> RealVectorsParameter { 58 get { return (IScopeTreeLookupParameter<RealVector>)Parameters["RealVectors"]; } 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 Parameter.ActualValue;171 var points = RealVectorsParameter.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.