Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Crossovers
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Crossovers
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Crossovers/MultiBinaryVectorCrossover.cs
r16453 r16462 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 31 31 using HeuristicLab.PluginInfrastructure; 32 32 33 33 namespace HeuristicLab.Encodings.BinaryVectorEncoding { 34 34 [Item("MultiBinaryVectorCrossover", "Randomly selects and applies one of its crossovers every time it is called.")] 35 [Storable Class]35 [StorableType("0ACAFFFB-E57A-4171-9D6D-A20B7A7B935E")] 36 36 public class MultiBinaryVectorCrossover : StochasticMultiBranch<IBinaryVectorCrossover>, IBinaryVectorCrossover, IStochasticOperator { 37 37 public override bool CanChangeName { … … 51 51 52 52 [StorableConstructor] 53 protected MultiBinaryVectorCrossover( bool deserializing) : base(deserializing) { }53 protected MultiBinaryVectorCrossover(StorableConstructorFlag _) : base(_) { } 54 54 protected MultiBinaryVectorCrossover(MultiBinaryVectorCrossover original, Cloner cloner) : base(original, cloner) { } 55 55 public MultiBinaryVectorCrossover() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Crossovers/NPointCrossover.cs
r16453 r16462 26 26 using HeuristicLab.Data; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Encodings.BinaryVectorEncoding { … … 36 36 /// </remarks> 37 37 [Item("NPointCrossover", "N point crossover for binary vectors. It is implemented as described in Eiben, A.E. and Smith, J.E. 2003. Introduction to Evolutionary Computation. Natural Computing Series, Springer-Verlag Berlin Heidelberg.")] 38 [Storable Class]38 [StorableType("59683F25-9315-47D9-9E06-539559C9DEE1")] 39 39 public sealed class NPointCrossover : BinaryVectorCrossover { 40 40 /// <summary> … … 46 46 47 47 [StorableConstructor] 48 private NPointCrossover( bool deserializing) : base(deserializing) { }48 private NPointCrossover(StorableConstructorFlag _) : base(_) { } 49 49 private NPointCrossover(NPointCrossover original, Cloner cloner) : base(original, cloner) { } 50 50 /// <summary> -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Crossovers/SinglePointCrossover.cs
r16453 r16462 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Encodings.BinaryVectorEncoding { … … 34 34 /// </remarks> 35 35 [Item("SinglePointCrossover", "Single point crossover for binary vectors. It is implemented based on the NPointCrossover.")] 36 [Storable Class]36 [StorableType("40B6A5D5-8937-495E-8B98-2E4F8FD06D93")] 37 37 public sealed class SinglePointCrossover : BinaryVectorCrossover { 38 38 39 39 [StorableConstructor] 40 private SinglePointCrossover( bool deserializing) : base(deserializing) { }40 private SinglePointCrossover(StorableConstructorFlag _) : base(_) { } 41 41 private SinglePointCrossover(SinglePointCrossover original, Cloner cloner) : base(original, cloner) { } 42 42 public SinglePointCrossover() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Crossovers/UniformCrossover.cs
r16453 r16462 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Encodings.BinaryVectorEncoding { … … 33 33 /// </remarks> 34 34 [Item("UniformCrossover", "Uniform crossover for binary vectors. It is implemented as described in Eiben, A.E. and Smith, J.E. 2003. Introduction to Evolutionary Computation. Natural Computing Series, Springer-Verlag Berlin Heidelberg.")] 35 [Storable Class]35 [StorableType("6B0DDD76-EC81-4C5A-989E-239A82B78E66")] 36 36 public sealed class UniformCrossover : BinaryVectorCrossover { 37 37 38 38 [StorableConstructor] 39 private UniformCrossover( bool deserializing) : base(deserializing) { }39 private UniformCrossover(StorableConstructorFlag _) : base(_) { } 40 40 private UniformCrossover(UniformCrossover original, Cloner cloner) : base(original, cloner) { } 41 41 public UniformCrossover() : base() { }
Note: See TracChangeset
for help on using the changeset viewer.