- Timestamp:
- 03/15/10 23:49:54 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.IntVector/3.3/IntVectorCreator.cs
r3032 r3048 37 37 get { return (LookupParameter<IRandom>)Parameters["Random"]; } 38 38 } 39 public ILookupParameter<IntArray Data> IntVectorParameter {40 get { return (ILookupParameter<IntArray Data>)Parameters["IntVector"]; }39 public ILookupParameter<IntArray> IntVectorParameter { 40 get { return (ILookupParameter<IntArray>)Parameters["IntVector"]; } 41 41 } 42 public IValueLookupParameter<Int Data> LengthParameter {43 get { return (IValueLookupParameter<Int Data>)Parameters["Length"]; }42 public IValueLookupParameter<IntValue> LengthParameter { 43 get { return (IValueLookupParameter<IntValue>)Parameters["Length"]; } 44 44 } 45 public IValueLookupParameter<Int Data> MinimumParameter {46 get { return (IValueLookupParameter<Int Data>)Parameters["Minimum"]; }45 public IValueLookupParameter<IntValue> MinimumParameter { 46 get { return (IValueLookupParameter<IntValue>)Parameters["Minimum"]; } 47 47 } 48 public IValueLookupParameter<Int Data> MaximumParameter {49 get { return (IValueLookupParameter<Int Data>)Parameters["Maximum"]; }48 public IValueLookupParameter<IntValue> MaximumParameter { 49 get { return (IValueLookupParameter<IntValue>)Parameters["Maximum"]; } 50 50 } 51 51 … … 53 53 : base() { 54 54 Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator which should be used for stochastic manipulation operators.")); 55 Parameters.Add(new LookupParameter<IntArray Data>("IntVector", "The vector which should be manipulated."));56 Parameters.Add(new ValueLookupParameter<Int Data>("Length", "The length of the vector."));57 Parameters.Add(new ValueLookupParameter<Int Data>("Minimum", "The lower bound for each element in the vector."));58 Parameters.Add(new ValueLookupParameter<Int Data>("Maximum", "The upper bound for each element in the vector."));55 Parameters.Add(new LookupParameter<IntArray>("IntVector", "The vector which should be manipulated.")); 56 Parameters.Add(new ValueLookupParameter<IntValue>("Length", "The length of the vector.")); 57 Parameters.Add(new ValueLookupParameter<IntValue>("Minimum", "The lower bound for each element in the vector.")); 58 Parameters.Add(new ValueLookupParameter<IntValue>("Maximum", "The upper bound for each element in the vector.")); 59 59 } 60 60 … … 64 64 } 65 65 66 protected abstract IntArray Data Create(IRandom random, IntData length, IntData minimum, IntDatamaximum);66 protected abstract IntArray Create(IRandom random, IntValue length, IntValue minimum, IntValue maximum); 67 67 } 68 68 }
Note: See TracChangeset
for help on using the changeset viewer.