- Timestamp:
- 03/15/10 23:49:54 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.IntVector/3.3/IntVectorCrossover.cs
r3032 r3048 37 37 get { return (LookupParameter<IRandom>)Parameters["Random"]; } 38 38 } 39 public ILookupParameter<ItemArray<IntArray Data>> ParentsParameter {40 get { return (SubScopesLookupParameter<IntArray Data>)Parameters["Parents"]; }39 public ILookupParameter<ItemArray<IntArray>> ParentsParameter { 40 get { return (SubScopesLookupParameter<IntArray>)Parameters["Parents"]; } 41 41 } 42 public ILookupParameter<IntArray Data> ChildParameter {43 get { return (ILookupParameter<IntArray Data>)Parameters["Child"]; }42 public ILookupParameter<IntArray> ChildParameter { 43 get { return (ILookupParameter<IntArray>)Parameters["Child"]; } 44 44 } 45 45 … … 47 47 : base() { 48 48 Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator which should be used for stochastic crossover operators.")); 49 Parameters.Add(new SubScopesLookupParameter<IntArray Data>("Parents", "The parent vectors which should be crossed."));50 Parameters.Add(new LookupParameter<IntArray Data>("Child", "The child vector resulting from the crossover."));49 Parameters.Add(new SubScopesLookupParameter<IntArray>("Parents", "The parent vectors which should be crossed.")); 50 Parameters.Add(new LookupParameter<IntArray>("Child", "The child vector resulting from the crossover.")); 51 51 } 52 52 … … 56 56 } 57 57 58 protected abstract IntArray Data Cross(IRandom random, ItemArray<IntArrayData> parents);58 protected abstract IntArray Cross(IRandom random, ItemArray<IntArray> parents); 59 59 } 60 60 }
Note: See TracChangeset
for help on using the changeset viewer.