- Timestamp:
- 03/16/10 10:46:59 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/RealVectorCreator.cs
r3053 r3060 41 41 get { return (LookupParameter<IRandom>)Parameters["Random"]; } 42 42 } 43 public ILookupParameter< DoubleArray> RealVectorParameter {44 get { return (ILookupParameter< DoubleArray>)Parameters["RealVector"]; }43 public ILookupParameter<RealVector> RealVectorParameter { 44 get { return (ILookupParameter<RealVector>)Parameters["RealVector"]; } 45 45 } 46 46 public IValueLookupParameter<IntValue> LengthParameter { … … 57 57 : base() { 58 58 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.")); 60 60 Parameters.Add(new ValueLookupParameter<IntValue>("Length", "The length of the vector.")); 61 61 Parameters.Add(new ValueLookupParameter<DoubleValue>("Minimum", "The lower bound for each element in the vector.")); … … 68 68 } 69 69 70 protected abstract DoubleArrayCreate(IRandom random, IntValue length, DoubleValue minimum, DoubleValue maximum);70 protected abstract RealVector Create(IRandom random, IntValue length, DoubleValue minimum, DoubleValue maximum); 71 71 } 72 72 }
Note: See TracChangeset
for help on using the changeset viewer.