Changeset 16749
- Timestamp:
- 04/03/19 14:39:50 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorSolutionsOperator.cs
r13403 r16749 24 24 namespace HeuristicLab.Encodings.RealVectorEncoding { 25 25 public interface IRealVectorSolutionsOperator : IRealVectorOperator { 26 IScopeTreeLookupParameter<RealVector> RealVector sParameter { get; }26 IScopeTreeLookupParameter<RealVector> RealVectorParameter { get; } 27 27 } 28 28 } -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorSwarmUpdater.cs
r16723 r16749 56 56 get { return (IScopeTreeLookupParameter<DoubleValue>)Parameters["NeighborBestQuality"]; } 57 57 } 58 public IScopeTreeLookupParameter<RealVector> RealVector sParameter {58 public IScopeTreeLookupParameter<RealVector> RealVectorParameter { 59 59 get { return (IScopeTreeLookupParameter<RealVector>)Parameters["RealVectors"]; } 60 60 } … … 134 134 } 135 135 private ItemArray<RealVector> RealVectors { 136 get { return RealVector sParameter.ActualValue; }136 get { return RealVectorParameter.ActualValue; } 137 137 } 138 138 private ItemArray<RealVector> PersonalBest { -
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 }) -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorEncoding.cs
r16723 r16749 307 307 private void ConfigureRealVectorSolutionsOperators(IEnumerable<IRealVectorSolutionsOperator> solutionsOperators) { 308 308 foreach (var solutionsOperator in solutionsOperators) 309 solutionsOperator.RealVector sParameter.ActualName = Name;309 solutionsOperator.RealVectorParameter.ActualName = Name; 310 310 } 311 311 private void ConfigureRealVectorBoundedOperators(IEnumerable<IRealVectorBoundedOperator> boundedOperators) { -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.Programmable/3.3/Plugin.cs.frame
r16723 r16749 36 36 [PluginDependency("HeuristicLab.Encodings.PermutationEncoding", "3.3")] 37 37 [PluginDependency("HeuristicLab.Encodings.SymbolicExpressionTreeEncoding", "3.4")] 38 [PluginDependency("HeuristicLab.Encodings.LinearLinkageEncoding", "3. 3")]38 [PluginDependency("HeuristicLab.Encodings.LinearLinkageEncoding", "3.4")] 39 39 [PluginDependency("HeuristicLab.Optimization", "3.3")] 40 40 [PluginDependency("HeuristicLab.Parameters", "3.3")] -
branches/2521_ProblemRefactoring/HeuristicLab.Problems.TestFunctions/3.3/Analyzers/BestSingleObjectiveTestFunctionSolutionAnalyzer.cs
r16723 r16749 44 44 get { return (LookupParameter<BoolValue>)Parameters["Maximization"]; } 45 45 } 46 public IScopeTreeLookupParameter<RealVector> RealVector sParameter {46 public IScopeTreeLookupParameter<RealVector> RealVectorParameter { 47 47 get { return (IScopeTreeLookupParameter<RealVector>)Parameters["RealVectors"]; } 48 48 } … … 85 85 86 86 MaximizationParameter.Hidden = true; 87 RealVector sParameter.Hidden = true;87 RealVectorParameter.Hidden = true; 88 88 QualityParameter.Hidden = true; 89 89 BestSolutionParameter.Hidden = true; … … 100 100 101 101 public override IOperation Apply() { 102 ItemArray<RealVector> realVectors = RealVector sParameter.ActualValue;102 ItemArray<RealVector> realVectors = RealVectorParameter.ActualValue; 103 103 ItemArray<DoubleValue> qualities = QualityParameter.ActualValue; 104 104 bool max = MaximizationParameter.ActualValue.Value;
Note: See TracChangeset
for help on using the changeset viewer.