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

Location:
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/Interfaces/IRealVectorSolutionsOperator.cs

    r13403 r16749  
    2424namespace HeuristicLab.Encodings.RealVectorEncoding {
    2525  public interface IRealVectorSolutionsOperator : IRealVectorOperator {
    26     IScopeTreeLookupParameter<RealVector> RealVectorsParameter { get; }
     26    IScopeTreeLookupParameter<RealVector> RealVectorParameter { get; }
    2727  }
    2828}
  • branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorSwarmUpdater.cs

    r16723 r16749  
    5656      get { return (IScopeTreeLookupParameter<DoubleValue>)Parameters["NeighborBestQuality"]; }
    5757    }
    58     public IScopeTreeLookupParameter<RealVector> RealVectorsParameter {
     58    public IScopeTreeLookupParameter<RealVector> RealVectorParameter {
    5959      get { return (IScopeTreeLookupParameter<RealVector>)Parameters["RealVectors"]; }
    6060    }
     
    134134    }
    135135    private ItemArray<RealVector> RealVectors {
    136       get { return RealVectorsParameter.ActualValue; }
     136      get { return RealVectorParameter.ActualValue; }
    137137    }
    138138    private ItemArray<RealVector> PersonalBest {
  • 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 })
  • branches/2521_ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorEncoding.cs

    r16723 r16749  
    307307    private void ConfigureRealVectorSolutionsOperators(IEnumerable<IRealVectorSolutionsOperator> solutionsOperators) {
    308308      foreach (var solutionsOperator in solutionsOperators)
    309         solutionsOperator.RealVectorsParameter.ActualName = Name;
     309        solutionsOperator.RealVectorParameter.ActualName = Name;
    310310    }
    311311    private void ConfigureRealVectorBoundedOperators(IEnumerable<IRealVectorBoundedOperator> boundedOperators) {
Note: See TracChangeset for help on using the changeset viewer.