Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Creators/RandomBinaryVectorCreator.cs
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Creators/RandomBinaryVectorCreator.cs
r16453 r16462 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Encodings.BinaryVectorEncoding { … … 32 32 /// </summary> 33 33 [Item("RandomBinaryVectorCreator", "An operator which creates a new random binary vector with each element randomly initialized.")] 34 [Storable Class]34 [StorableType("D5BF4C14-1C0B-4589-835E-BA337D325E31")] 35 35 public sealed class RandomBinaryVectorCreator : BinaryVectorCreator { 36 36 private const string TrueProbabilityParameterName = "TrueProbability"; … … 46 46 47 47 [StorableConstructor] 48 private RandomBinaryVectorCreator( bool deserializing) : base(deserializing) { }48 private RandomBinaryVectorCreator(StorableConstructorFlag _) : base(_) { } 49 49 private RandomBinaryVectorCreator(RandomBinaryVectorCreator original, Cloner cloner) : base(original, cloner) { } 50 50 public override IDeepCloneable Clone(Cloner cloner) { return new RandomBinaryVectorCreator(this, cloner); }
Note: See TracChangeset
for help on using the changeset viewer.