Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/16/10 10:46:59 (14 years ago)
Author:
svonolfe
Message:

Updated the RealVector project to use the new solution encodings (#909)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorCreator.cs

    r3053 r3060  
    4141      get { return (LookupParameter<IRandom>)Parameters["Random"]; }
    4242    }
    43     public ILookupParameter<DoubleArray> RealVectorParameter {
    44       get { return (ILookupParameter<DoubleArray>)Parameters["RealVector"]; }
     43    public ILookupParameter<RealVector> RealVectorParameter {
     44      get { return (ILookupParameter<RealVector>)Parameters["RealVector"]; }
    4545    }
    4646    public IValueLookupParameter<IntValue> LengthParameter {
     
    5757      : base() {
    5858      Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator which should be used for stochastic manipulation operators."));
    59       Parameters.Add(new LookupParameter<DoubleArray>("RealVector", "The vector which should be manipulated."));
     59      Parameters.Add(new LookupParameter<RealVector>("RealVector", "The vector which should be manipulated."));
    6060      Parameters.Add(new ValueLookupParameter<IntValue>("Length", "The length of the vector."));
    6161      Parameters.Add(new ValueLookupParameter<DoubleValue>("Minimum", "The lower bound for each element in the vector."));
     
    6868    }
    6969
    70     protected abstract DoubleArray Create(IRandom random, IntValue length, DoubleValue minimum, DoubleValue maximum);
     70    protected abstract RealVector Create(IRandom random, IntValue length, DoubleValue minimum, DoubleValue maximum);
    7171  }
    7272}
Note: See TracChangeset for help on using the changeset viewer.