Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Manipulators
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Manipulators
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Manipulators/InsertionManipulator.cs
r16453 r16462 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 26 26 namespace HeuristicLab.Encodings.PermutationEncoding { … … 32 32 /// </remarks> 33 33 [Item("InsertionManipulator", "An operator which moves randomly one element to another position in the permutation (Insertion is a special case of Translocation). It is implemented as described in Fogel, D.B. (1988). An Evolutionary Approach to the Traveling Salesman Problem, Biological Cybernetics, 60, pp. 139-144.")] 34 [Storable Class]34 [StorableType("E8C09728-ACB7-491B-B87C-BE8E2B5A5B0B")] 35 35 public class InsertionManipulator : PermutationManipulator { 36 36 [StorableConstructor] 37 protected InsertionManipulator( bool deserializing) : base(deserializing) { }37 protected InsertionManipulator(StorableConstructorFlag _) : base(_) { } 38 38 protected InsertionManipulator(InsertionManipulator original, Cloner cloner) : base(original, cloner) { } 39 39 public InsertionManipulator() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Manipulators/InversionManipulator.cs
r16453 r16462 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 26 26 namespace HeuristicLab.Encodings.PermutationEncoding { … … 32 32 /// </remarks> 33 33 [Item("InversionManipulator", "An operator which inverts a randomly chosen part of a permutation. 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.")] 34 [Storable Class]34 [StorableType("F43DF081-19FB-4082-B136-EC1A77E0468A")] 35 35 public class InversionManipulator : PermutationManipulator { 36 36 [StorableConstructor] 37 protected InversionManipulator( bool deserializing) : base(deserializing) { }37 protected InversionManipulator(StorableConstructorFlag _) : base(_) { } 38 38 protected InversionManipulator(InversionManipulator original, Cloner cloner) : base(original, cloner) { } 39 39 public InversionManipulator() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Manipulators/MultiPermutationManipulator.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.PermutationEncoding { 34 34 [Item("MultiPermutationManipulator", "Randomly selects and applies one of its manipulators every time it is called.")] 35 [Storable Class]35 [StorableType("21EA3717-C907-490B-82E7-34A0B1A94EB0")] 36 36 public class MultiPermutationManipulator : StochasticMultiBranch<IPermutationManipulator>, IPermutationManipulator, IStochasticOperator { 37 37 public override bool CanChangeName { … … 47 47 48 48 [StorableConstructor] 49 protected MultiPermutationManipulator( bool deserializing) : base(deserializing) { }49 protected MultiPermutationManipulator(StorableConstructorFlag _) : base(_) { } 50 50 protected MultiPermutationManipulator(MultiPermutationManipulator original, Cloner cloner) : base(original, cloner) { } 51 51 public MultiPermutationManipulator() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Manipulators/ScrambleManipulator.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.PermutationEncoding { … … 33 33 /// </remarks> 34 34 [Item("ScrambleManipulator", "An operator which manipulates a permutation array by randomly scrambling the elements in a randomly chosen interval. It is implemented as described in Syswerda, G. (1991). Schedule Optimization Using Genetic Algorithms. In Davis, L. (Ed.) Handbook of Genetic Algorithms, Van Nostrand Reinhold, New York, pp 332-349.")] 35 [Storable Class]35 [StorableType("C324E297-C54E-4A18-BF41-3F0EF9595762")] 36 36 public class ScrambleManipulator : PermutationManipulator { 37 37 [StorableConstructor] 38 protected ScrambleManipulator( bool deserializing) : base(deserializing) { }38 protected ScrambleManipulator(StorableConstructorFlag _) : base(_) { } 39 39 protected ScrambleManipulator(ScrambleManipulator original, Cloner cloner) : base(original, cloner) { } 40 40 public ScrambleManipulator() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Manipulators/Swap2Manipulator.cs
r16453 r16462 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 26 26 namespace HeuristicLab.Encodings.PermutationEncoding { … … 32 32 /// </remarks> 33 33 [Item("Swap2Manipulator", "An operator which manipulates a permutation array by swapping to randomly chosen elements. 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.")] 34 [Storable Class]34 [StorableType("0909F09A-B27B-4962-8A7D-B4561A37D324")] 35 35 public class Swap2Manipulator : PermutationManipulator { 36 36 [StorableConstructor] 37 protected Swap2Manipulator( bool deserializing) : base(deserializing) { }37 protected Swap2Manipulator(StorableConstructorFlag _) : base(_) { } 38 38 protected Swap2Manipulator(Swap2Manipulator original, Cloner cloner) : base(original, cloner) { } 39 39 public Swap2Manipulator() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Manipulators/Swap3Manipulator.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.PermutationEncoding { … … 34 34 /// </remarks> 35 35 [Item("Swap3Manipulator", "An operator which manipulates a permutation array by swaping three randomly chosen elements. It is implemented such that first 3 positions are randomly chosen in the interval [0;N) with N = length of the permutation with all positions being distinct from each other. Then position 1 is put in place of position 3, position 2 is put in place of position 1 and position 3 is put in place of position 2.")] 36 [Storable Class]36 [StorableType("3907489F-54DF-4774-85E6-E89CE055B56C")] 37 37 public class Swap3Manipulator : PermutationManipulator { 38 38 [StorableConstructor] 39 protected Swap3Manipulator( bool deserializing) : base(deserializing) { }39 protected Swap3Manipulator(StorableConstructorFlag _) : base(_) { } 40 40 protected Swap3Manipulator(Swap3Manipulator original, Cloner cloner) : base(original, cloner) { } 41 41 public Swap3Manipulator() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Manipulators/TranslocationInversionManipulator.cs
r16453 r16462 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 26 26 namespace HeuristicLab.Encodings.PermutationEncoding { … … 33 33 /// </remarks> 34 34 [Item("TranslocationInversionManipulator", "An operator which inverts a randomly chosen part of a permutation and inserts it at a random position. It is implemented as described in Fogel, D.B. 1993. Applying Evolutionary Programming to Selected TSP Problems, Cybernetics and Systems, 22, pp. 27-36.")] 35 [Storable Class]35 [StorableType("00E282D0-60ED-4A6B-B409-9CAB380DA670")] 36 36 public class TranslocationInversionManipulator : PermutationManipulator { 37 37 [StorableConstructor] 38 protected TranslocationInversionManipulator( bool deserializing) : base(deserializing) { }38 protected TranslocationInversionManipulator(StorableConstructorFlag _) : base(_) { } 39 39 protected TranslocationInversionManipulator(TranslocationInversionManipulator original, Cloner cloner) : base(original, cloner) { } 40 40 public TranslocationInversionManipulator() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Manipulators/TranslocationManipulator.cs
r16453 r16462 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Fossil; 25 25 26 26 namespace HeuristicLab.Encodings.PermutationEncoding { … … 33 33 /// </remarks> 34 34 [Item("TranslocationManipulator", "An operator which Manipulates a permutation array by moving a randomly chosen interval of elements to another (randomly chosen) position in the array. It is implemented as described in Michalewicz, Z. 1992. Genetic Algorithms + Data Structures = Evolution Programs, Springer Verlag, Berlin Heidelberg.")] 35 [Storable Class]35 [StorableType("AB07D415-33F1-46C0-83FA-F7C1151B8AC8")] 36 36 public class TranslocationManipulator : PermutationManipulator { 37 37 [StorableConstructor] 38 protected TranslocationManipulator( bool deserializing) : base(deserializing) { }38 protected TranslocationManipulator(StorableConstructorFlag _) : base(_) { } 39 39 protected TranslocationManipulator(TranslocationManipulator original, Cloner cloner) : base(original, cloner) { } 40 40 public TranslocationManipulator() : base() { }
Note: See TracChangeset
for help on using the changeset viewer.