- Timestamp:
- 03/15/10 23:49:54 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.BinaryVectors/3.3/BinaryVectorCrossover.cs
r3043 r3048 37 37 get { return (LookupParameter<IRandom>)Parameters["Random"]; } 38 38 } 39 public ILookupParameter<ItemArray<BoolArray Data>> ParentsParameter {40 get { return (SubScopesLookupParameter<BoolArray Data>)Parameters["Parents"]; }39 public ILookupParameter<ItemArray<BoolArray>> ParentsParameter { 40 get { return (SubScopesLookupParameter<BoolArray>)Parameters["Parents"]; } 41 41 } 42 public ILookupParameter<BoolArray Data> ChildParameter {43 get { return (ILookupParameter<BoolArray Data>)Parameters["Child"]; }42 public ILookupParameter<BoolArray> ChildParameter { 43 get { return (ILookupParameter<BoolArray>)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 BoolArray Data Cross(IRandom random, ItemArray<BoolArrayData> parents);58 protected abstract BoolArray Cross(IRandom random, ItemArray<BoolArray> parents); 59 59 } 60 60 }
Note: See TracChangeset
for help on using the changeset viewer.