Ignore:
Timestamp:
11/25/15 23:24:01 (4 years ago)
Author:
abeham
Message:

#2521:

  • Adapted single-objective test function problem to new problem infrastructure
  • Added additional interfaces to RealVectorEncoding
  • Fixed IParticleUpdater interface (must implement IStochasticOperator if it contains a Random parameter)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ProblemRefactoring/HeuristicLab.Encodings.RealVectorEncoding/3.3/ParticleOperators/RealVectorParticleUpdater.cs

    r12012 r13403  
    5757      get { return (ILookupParameter<RealVector>)Parameters["RealVector"]; }
    5858    }
    59     public ILookupParameter<DoubleMatrix> BoundsParameter {
    60       get { return (ILookupParameter<DoubleMatrix>)Parameters["Bounds"]; }
     59    public IValueLookupParameter<DoubleMatrix> BoundsParameter {
     60      get { return (IValueLookupParameter<DoubleMatrix>)Parameters["Bounds"]; }
    6161    }
    6262    public ILookupParameter<DoubleMatrix> CurrentVelocityBoundsParameter {
     
    124124      Parameters.Add(new LookupParameter<RealVector>("BestRealVector", "Global best position."));
    125125      Parameters.Add(new LookupParameter<RealVector>("NeighborBest", "Best neighboring solution."));
    126       Parameters.Add(new LookupParameter<DoubleMatrix>("Bounds", "The lower and upper bounds for each dimension of the position vector for the current problem."));
     126      Parameters.Add(new ValueLookupParameter<DoubleMatrix>("Bounds", "The lower and upper bounds for each dimension of the position vector for the current problem."));
    127127      Parameters.Add(new LookupParameter<DoubleMatrix>("CurrentVelocityBounds", "Upper and lower bounds for the particle's velocity vector."));
    128128      Parameters.Add(new LookupParameter<DoubleValue>("CurrentInertia", "The weight for the particle's velocity vector."));
Note: See TracChangeset for help on using the changeset viewer.