Changeset 3055
- Timestamp:
- 03/16/10 10:13:51 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Encodings.BinaryVectorEncoding/3.3
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/BinaryVectorCreator.cs
r3053 r3055 37 37 get { return (LookupParameter<IRandom>)Parameters["Random"]; } 38 38 } 39 public ILookupParameter<B oolArray> BinaryVectorParameter {40 get { return (ILookupParameter<B oolArray>)Parameters["BinaryVector"]; }39 public ILookupParameter<BinaryVector> BinaryVectorParameter { 40 get { return (ILookupParameter<BinaryVector>)Parameters["BinaryVector"]; } 41 41 } 42 42 public IValueLookupParameter<IntValue> LengthParameter { … … 56 56 } 57 57 58 protected abstract B oolArrayCreate(IRandom random, IntValue length);58 protected abstract BinaryVector Create(IRandom random, IntValue length); 59 59 } 60 60 } -
trunk/sources/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/BinaryVectorCrossover.cs
r3053 r3055 37 37 get { return (LookupParameter<IRandom>)Parameters["Random"]; } 38 38 } 39 public ILookupParameter<ItemArray<B oolArray>> ParentsParameter {40 get { return (SubScopesLookupParameter<B oolArray>)Parameters["Parents"]; }39 public ILookupParameter<ItemArray<BinaryVector>> ParentsParameter { 40 get { return (SubScopesLookupParameter<BinaryVector>)Parameters["Parents"]; } 41 41 } 42 public ILookupParameter<B oolArray> ChildParameter {43 get { return (ILookupParameter<B oolArray>)Parameters["Child"]; }42 public ILookupParameter<BinaryVector> ChildParameter { 43 get { return (ILookupParameter<BinaryVector>)Parameters["Child"]; } 44 44 } 45 45 … … 56 56 } 57 57 58 protected abstract B oolArray Cross(IRandom random, ItemArray<BoolArray> parents);58 protected abstract BinaryVector Cross(IRandom random, ItemArray<BinaryVector> parents); 59 59 } 60 60 } -
trunk/sources/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/BinaryVectorManipulator.cs
r3053 r3055 37 37 get { return (LookupParameter<IRandom>)Parameters["Random"]; } 38 38 } 39 public ILookupParameter<B oolArray> BinaryVectorParameter {40 get { return (ILookupParameter<B oolArray>)Parameters["BinaryVector"]; }39 public ILookupParameter<BinaryVector> BinaryVectorParameter { 40 get { return (ILookupParameter<BinaryVector>)Parameters["BinaryVector"]; } 41 41 } 42 42 … … 52 52 } 53 53 54 protected abstract void Manipulate(IRandom random, B oolArraybinaryVector);54 protected abstract void Manipulate(IRandom random, BinaryVector binaryVector); 55 55 } 56 56 } -
trunk/sources/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Interfaces/IBinaryVectorCreator.cs
r3053 r3055 30 30 public interface IBinaryVectorCreator : IBinaryVectorOperator, ISolutionCreator { 31 31 IValueLookupParameter<IntValue> LengthParameter { get; } 32 ILookupParameter<B oolArray> BinaryVectorParameter { get; }32 ILookupParameter<BinaryVector> BinaryVectorParameter { get; } 33 33 } 34 34 } -
trunk/sources/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Interfaces/IBinaryVectorCrossover.cs
r3053 r3055 29 29 /// </summary> 30 30 public interface IBinaryVectorCrossover : IBinaryVectorOperator, ICrossover { 31 ILookupParameter<ItemArray<B oolArray>> ParentsParameter { get; }32 ILookupParameter<B oolArray> ChildParameter { get; }31 ILookupParameter<ItemArray<BinaryVector>> ParentsParameter { get; } 32 ILookupParameter<BinaryVector> ChildParameter { get; } 33 33 } 34 34 } -
trunk/sources/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Interfaces/IBinaryVectorManipulator.cs
r3053 r3055 29 29 /// </summary> 30 30 public interface IBinaryVectorManipulator : IBinaryVectorOperator, IManipulator { 31 ILookupParameter<B oolArray> BinaryVectorParameter { get; }31 ILookupParameter<BinaryVector> BinaryVectorParameter { get; } 32 32 } 33 33 }
Note: See TracChangeset
for help on using the changeset viewer.