Changeset 4722 for trunk/sources/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Creators/RandomBinaryVectorCreator.cs
- Timestamp:
- 11/06/10 01:56:04 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:mergeinfo changed
/branches/CloningRefactoring (added) merged: 4656-4693,4696-4697,4711-4714,4718-4719
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Creators/RandomBinaryVectorCreator.cs
r4068 r4722 20 20 #endregion 21 21 22 using HeuristicLab.Common; 22 23 using HeuristicLab.Core; 23 24 using HeuristicLab.Data; … … 30 31 [Item("RandomBinaryVectorCreator", "An operator which creates a new random binary vector with each element randomly initialized.")] 31 32 [StorableClass] 32 public class RandomBinaryVectorCreator : BinaryVectorCreator { 33 public sealed class RandomBinaryVectorCreator : BinaryVectorCreator { 34 [StorableConstructor] 35 private RandomBinaryVectorCreator(bool deserializing) : base(deserializing) { } 36 private RandomBinaryVectorCreator(RandomBinaryVectorCreator original, Cloner cloner) : base(original, cloner) { } 37 public RandomBinaryVectorCreator() : base() { } 38 39 public override IDeepCloneable Clone(Cloner cloner) { 40 return new RandomBinaryVectorCreator(this, cloner); 41 } 42 33 43 /// <summary> 34 44 /// Generates a new random binary vector with the given <paramref name="length"/>.
Note: See TracChangeset
for help on using the changeset viewer.