Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3
- Files:
-
- 71 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Creators/RandomPermutationCreator.cs
r16453 r16462 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Encodings.PermutationEncoding { … … 33 33 /// </summary> 34 34 [Item("RandomPermutationCreator", "An operator which creates a new random permutation of integer values.")] 35 [Storable Class]35 [StorableType("527B14A9-DB58-4507-8C3F-1DE1EF4C4A2B")] 36 36 public sealed class RandomPermutationCreator : InstrumentedOperator, IPermutationCreator, IStochasticOperator { 37 37 public override bool CanChangeName { … … 58 58 59 59 [StorableConstructor] 60 private RandomPermutationCreator( bool deserializing) : base(deserializing) { }60 private RandomPermutationCreator(StorableConstructorFlag _) : base(_) { } 61 61 private RandomPermutationCreator(RandomPermutationCreator original, Cloner cloner) : base(original, cloner) { } 62 62 public RandomPermutationCreator() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Crossovers/CosaCrossover.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 { … … 36 36 /// </remarks> 37 37 [Item("CosaCrossover", "An operator which performs the crossover described in the COSA optimization method. It is implemented as described in Wendt, O. 1994. COSA: COoperative Simulated Annealing - Integration von Genetischen Algorithmen und Simulated Annealing am Beispiel der Tourenplanung. Dissertation Thesis. IWI Frankfurt.")] 38 [Storable Class]38 [StorableType("2C6B5F27-A921-4CDD-A484-35B8824CDDBE")] 39 39 public class CosaCrossover : PermutationCrossover { 40 40 [StorableConstructor] 41 protected CosaCrossover( bool deserializing) : base(deserializing) { }41 protected CosaCrossover(StorableConstructorFlag _) : base(_) { } 42 42 protected CosaCrossover(CosaCrossover original, Cloner cloner) : base(original, cloner) { } 43 43 public CosaCrossover() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Crossovers/CyclicCrossover.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("CyclicCrossover", "An operator which performs the cyclic crossover on two permutations. 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("7C4797B7-A154-4702-AEEB-5511A170858B")] 36 36 public class CyclicCrossover : PermutationCrossover { 37 37 [StorableConstructor] 38 protected CyclicCrossover( bool deserializing) : base(deserializing) { }38 protected CyclicCrossover(StorableConstructorFlag _) : base(_) { } 39 39 protected CyclicCrossover(CyclicCrossover original, Cloner cloner) : base(original, cloner) { } 40 40 public CyclicCrossover() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Crossovers/CyclicCrossover2.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("CyclicCrossover2", "An operator which performs the cyclic crossover on two permutations. It is implemented as described in Affenzeller, M. et al. 2009. Genetic Algorithms and Genetic Programming - Modern Concepts and Practical Applications. CRC Press. p. 136.")] 36 [Storable Class]36 [StorableType("B1550E88-0F0B-452F-94EC-F457761A58F3")] 37 37 public class CyclicCrossover2 : PermutationCrossover { 38 38 [StorableConstructor] 39 protected CyclicCrossover2( bool deserializing) : base(deserializing) { }39 protected CyclicCrossover2(StorableConstructorFlag _) : base(_) { } 40 40 protected CyclicCrossover2(CyclicCrossover2 original, Cloner cloner) : base(original, cloner) { } 41 41 public CyclicCrossover2() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Crossovers/EdgeRecombinationCrossover.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 { … … 36 36 /// </remarks> 37 37 [Item("EdgeRecombinationCrossover", "An operator which performs the edge recombination crossover on two permutations. It is implemented as described in Whitley et.al. 1991, The Traveling Salesman and Sequence Scheduling, in Davis, L. (Ed.), Handbook of Genetic Algorithms, New York, pp. 350-372.")] 38 [Storable Class]38 [StorableType("4A2E0B7A-F92A-4085-8F3A-149FA010FEB0")] 39 39 public class EdgeRecombinationCrossover : PermutationCrossover { 40 40 [StorableConstructor] 41 protected EdgeRecombinationCrossover( bool deserializing) : base(deserializing) { }41 protected EdgeRecombinationCrossover(StorableConstructorFlag _) : base(_) { } 42 42 protected EdgeRecombinationCrossover(EdgeRecombinationCrossover original, Cloner cloner) : base(original, cloner) { } 43 43 public EdgeRecombinationCrossover() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Crossovers/MaximalPreservativeCrossover.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 { … … 36 36 /// </remarks> 37 37 [Item("MaximalPreservativeCrossover", "An operator which performs the maximal preservative crossover on two permutations. It is implemented as described in Mühlenbein, H. 1991. Evolution in time and space - the parallel genetic algorithm. FOUNDATIONS OF GENETIC ALGORITHMS, pp. 316-337. Morgan Kaufmann.")] 38 [Storable Class]38 [StorableType("FEC5CCFA-C7E6-4A2E-88C0-C537329BEE73")] 39 39 public class MaximalPreservativeCrossover : PermutationCrossover { 40 40 [StorableConstructor] 41 protected MaximalPreservativeCrossover( bool deserializing) : base(deserializing) { }41 protected MaximalPreservativeCrossover(StorableConstructorFlag _) : base(_) { } 42 42 protected MaximalPreservativeCrossover(MaximalPreservativeCrossover original, Cloner cloner) : base(original, cloner) { } 43 43 public MaximalPreservativeCrossover() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Crossovers/MultiPermutationCrossover.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("MultiPermutationCrossover", "Randomly selects and applies one of its crossovers every time it is called.")] 35 [Storable Class]35 [StorableType("C4F47F2E-FAF5-4AC6-B8AB-42F8A11D8703")] 36 36 public class MultiPermutationCrossover : StochasticMultiBranch<IPermutationCrossover>, IPermutationCrossover, IStochasticOperator { 37 37 public override bool CanChangeName { … … 51 51 52 52 [StorableConstructor] 53 protected MultiPermutationCrossover( bool deserializing) : base(deserializing) { }53 protected MultiPermutationCrossover(StorableConstructorFlag _) : base(_) { } 54 54 protected MultiPermutationCrossover(MultiPermutationCrossover original, Cloner cloner) : base(original, cloner) { } 55 55 public MultiPermutationCrossover() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Crossovers/OrderBasedCrossover.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 { … … 36 36 /// </remarks> 37 37 [Item("OrderBasedCrossover", "An operator which performs an order based crossover of two permutations. 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.")] 38 [Storable Class]38 [StorableType("399EAAF3-ECDF-46AE-9DB6-1D99E45EBA66")] 39 39 public class OrderBasedCrossover : PermutationCrossover { 40 40 [StorableConstructor] 41 protected OrderBasedCrossover( bool deserializing) : base(deserializing) { }41 protected OrderBasedCrossover(StorableConstructorFlag _) : base(_) { } 42 42 protected OrderBasedCrossover(OrderBasedCrossover original, Cloner cloner) : base(original, cloner) { } 43 43 public OrderBasedCrossover() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Crossovers/OrderCrossover.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 { … … 36 36 /// </remarks> 37 37 [Item("OrderCrossover", "An operator which performs an order crossover of two permutations. 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("DEF33012-C7C5-4C09-8FCD-1145353D06A2")] 39 39 public class OrderCrossover : PermutationCrossover { 40 40 [StorableConstructor] 41 protected OrderCrossover( bool deserializing) : base(deserializing) { }41 protected OrderCrossover(StorableConstructorFlag _) : base(_) { } 42 42 protected OrderCrossover(OrderCrossover original, Cloner cloner) : base(original, cloner) { } 43 43 public OrderCrossover() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Crossovers/OrderCrossover2.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 { … … 35 35 /// </remarks> 36 36 [Item("OrderCrossover2", "An operator which performs an order crossover of two permutations. It is implemented as described in Affenzeller, M. et al. 2009. Genetic Algorithms and Genetic Programming - Modern Concepts and Practical Applications. CRC Press. p. 135.")] 37 [Storable Class]37 [StorableType("9E9A828E-E853-43FD-A39B-F47D17BCE539")] 38 38 public class OrderCrossover2 : PermutationCrossover { 39 39 [StorableConstructor] 40 protected OrderCrossover2( bool deserializing) : base(deserializing) { }40 protected OrderCrossover2(StorableConstructorFlag _) : base(_) { } 41 41 protected OrderCrossover2(OrderCrossover2 original, Cloner cloner) : base(original, cloner) { } 42 42 public OrderCrossover2() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Crossovers/PartiallyMatchedCrossover.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 { … … 35 35 /// </remarks> 36 36 [Item("PartiallyMatchedCrossover", "An operator which performs the partially matched crossover on two permutations. It is implemented as described in Fogel, D.B. 1988. An Evolutionary Approach to the Traveling Salesman Problem. Biological Cybernetics, 60, pp. 139-144, Springer-Verlag.")] 37 [Storable Class]37 [StorableType("BE92E88C-0A05-4E56-884A-BAFFE6A86F4F")] 38 38 public class PartiallyMatchedCrossover : PermutationCrossover { 39 39 [StorableConstructor] 40 protected PartiallyMatchedCrossover( bool deserializing) : base(deserializing) { }40 protected PartiallyMatchedCrossover(StorableConstructorFlag _) : base(_) { } 41 41 protected PartiallyMatchedCrossover(PartiallyMatchedCrossover original, Cloner cloner) : base(original, cloner) { } 42 42 public PartiallyMatchedCrossover() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Crossovers/PositionBasedCrossover.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("PositionBasedCrossover", "An operator which performs the position based crossover on two permutations. 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("9C707A94-E432-4A1C-94F4-FA69ED639289")] 36 36 public class PositionBasedCrossover : PermutationCrossover { 37 37 [StorableConstructor] 38 protected PositionBasedCrossover( bool deserializing) : base(deserializing) { }38 protected PositionBasedCrossover(StorableConstructorFlag _) : base(_) { } 39 39 protected PositionBasedCrossover(PositionBasedCrossover original, Cloner cloner) : base(original, cloner) { } 40 40 public PositionBasedCrossover() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Crossovers/UniformLikeCrossover.cs
r16453 r16462 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Encodings.PermutationEncoding { 29 29 [Item("UniformLikeCrossover", "The ULX crossover tries to maintain the position in the permutation. It randomly chooses from left to right one of its parents' alleles at each position. Missing entries are then filled randomly later. It is described in Tate, D. M. and Smith, A. E. 1995. A genetic approach to the quadratic assignment problem. Computers & Operations Research, vol. 22, pp. 73-83.")] 30 [Storable Class]30 [StorableType("5FCF5C48-80A1-4A08-9561-F01FDCB8D20D")] 31 31 public sealed class UniformLikeCrossover : PermutationCrossover { 32 32 [StorableConstructor] 33 private UniformLikeCrossover( bool deserializing) : base(deserializing) { }33 private UniformLikeCrossover(StorableConstructorFlag _) : base(_) { } 34 34 private UniformLikeCrossover(UniformLikeCrossover original, Cloner cloner) : base(original, cloner) { } 35 35 public UniformLikeCrossover() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/HeuristicLab.Encodings.PermutationEncoding-3.3.csproj
r16454 r16462 109 109 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath> 110 110 </Reference> 111 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">111 <Reference Include="HEAL.Fossil, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 112 112 <HintPath>..\..\packages\HEAL.Fossil.1.0.0\lib\netstandard2.0\HEAL.Fossil.dll</HintPath> 113 113 </Reference> -
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() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Edge.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 { 27 27 [Item("Edge", "An edge between two integer nodes and a flag for the direction.")] 28 [Storable Class]28 [StorableType("68E0DF31-81CC-4561-B118-000AC925464D")] 29 29 public class Edge : Item { 30 30 [Storable] … … 36 36 37 37 [StorableConstructor] 38 protected Edge( bool deserializing) : base(deserializing) { }38 protected Edge(StorableConstructorFlag _) : base(_) { } 39 39 protected Edge(Edge original, Cloner cloner) 40 40 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/PermutationMoveAttribute.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 { 27 27 [Item("PermutationMoveAttribute", "Base class for specifying a move attribute")] 28 [Storable Class]28 [StorableType("46AD6CFC-3D7B-4C36-9925-09526723E990")] 29 29 public class PermutationMoveAttribute : Item { 30 30 [Storable] … … 32 32 33 33 [StorableConstructor] 34 protected PermutationMoveAttribute( bool deserializing) : base(deserializing) { }34 protected PermutationMoveAttribute(StorableConstructorFlag _) : base(_) { } 35 35 protected PermutationMoveAttribute(PermutationMoveAttribute original, Cloner cloner) 36 36 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Scramble/ScrambleMove.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 { 27 27 [Item("ScrambleMove", "Item that describes a scramble move.")] 28 [Storable Class]28 [StorableType("DBE9C007-10AA-4B8A-8092-23C9ACBA411A")] 29 29 public sealed class ScrambleMove : Item { 30 30 [Storable] … … 34 34 35 35 [StorableConstructor] 36 private ScrambleMove( bool deserializing) : base(deserializing) { }36 private ScrambleMove(StorableConstructorFlag _) : base(_) { } 37 37 private ScrambleMove(ScrambleMove original, Cloner cloner) 38 38 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Scramble/ScrambleMoveGenerator.cs
r16453 r16462 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Encodings.PermutationEncoding { 30 30 [Item("ScrambleMoveGenerator", "Base class for all scramble move generators.")] 31 [Storable Class]31 [StorableType("053A3BFC-F5F1-4893-B5E8-BCB452D18FC1")] 32 32 public abstract class ScrambleMoveGenerator : SingleSuccessorOperator, IPermutationScrambleMoveOperator, IMoveGenerator { 33 33 public override bool CanChangeName { … … 42 42 43 43 [StorableConstructor] 44 protected ScrambleMoveGenerator( bool deserializing) : base(deserializing) { }44 protected ScrambleMoveGenerator(StorableConstructorFlag _) : base(_) { } 45 45 protected ScrambleMoveGenerator(ScrambleMoveGenerator original, Cloner cloner) : base(original, cloner) { } 46 46 public ScrambleMoveGenerator() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Scramble/ScrambleMoveMaker.cs
r16453 r16462 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Encodings.PermutationEncoding { 31 31 [Item("ScrambleMoveMaker", "Peforms a scramble move on a given permutation and updates the quality.")] 32 [Storable Class]32 [StorableType("5DC6735A-F109-4D86-98CF-B8CCB648D3D3")] 33 33 public class ScrambleMoveMaker : SingleSuccessorOperator, IPermutationScrambleMoveOperator, IMoveMaker, ISingleObjectiveOperator { 34 34 public override bool CanChangeName { … … 49 49 50 50 [StorableConstructor] 51 protected ScrambleMoveMaker( bool deserializing) : base(deserializing) { }51 protected ScrambleMoveMaker(StorableConstructorFlag _) : base(_) { } 52 52 protected ScrambleMoveMaker(ScrambleMoveMaker original, Cloner cloner) : base(original, cloner) { } 53 53 public ScrambleMoveMaker() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Scramble/StochasticScrambleMultiMoveGenerator.cs
r16453 r16462 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Encodings.PermutationEncoding { 32 32 [Item("StochasticScrambleMultiMoveGenerator", "Randomly samples n from all possible scramble moves from a given permutation.")] 33 [Storable Class]33 [StorableType("ECC7549D-404B-459A-A01E-6E00A53E58F5")] 34 34 public class StochasticScrambleMultiMoveGenerator : ScrambleMoveGenerator, IMultiMoveGenerator, IStochasticOperator { 35 35 public ILookupParameter<IRandom> RandomParameter { … … 46 46 47 47 [StorableConstructor] 48 protected StochasticScrambleMultiMoveGenerator( bool deserializing) : base(deserializing) { }48 protected StochasticScrambleMultiMoveGenerator(StorableConstructorFlag _) : base(_) { } 49 49 protected StochasticScrambleMultiMoveGenerator(StochasticScrambleMultiMoveGenerator original, Cloner cloner) : base(original, cloner) { } 50 50 public StochasticScrambleMultiMoveGenerator() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/ExhaustiveSwap2MoveGenerator.cs
r16453 r16462 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Optimization; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Encodings.PermutationEncoding { 30 30 [Item("ExhaustiveSwap2MoveGenerator", "Generates all possible swap-2 moves from a given permutation.")] 31 [Storable Class]31 [StorableType("D88EEC45-27D1-4E4F-9D3B-FD7ED3C4892C")] 32 32 public class ExhaustiveSwap2MoveGenerator : Swap2MoveGenerator, IExhaustiveMoveGenerator { 33 33 [StorableConstructor] 34 protected ExhaustiveSwap2MoveGenerator( bool deserializing) : base(deserializing) { }34 protected ExhaustiveSwap2MoveGenerator(StorableConstructorFlag _) : base(_) { } 35 35 protected ExhaustiveSwap2MoveGenerator(ExhaustiveSwap2MoveGenerator original, Cloner cloner) : base(original, cloner) { } 36 36 public ExhaustiveSwap2MoveGenerator() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/StochasticSwap2MultiMoveGenerator.cs
r16453 r16462 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Encodings.PermutationEncoding { 30 30 [Item("StochasticSwap2MultiMoveGenerator", "Randomly samples n from all possible swap-2 moves from a given permutation.")] 31 [Storable Class]31 [StorableType("07B2AFDA-01BB-4317-9BFB-7D596CE43D1A")] 32 32 public class StochasticSwap2MultiMoveGenerator : Swap2MoveGenerator, IMultiMoveGenerator, IStochasticOperator { 33 33 public ILookupParameter<IRandom> RandomParameter { … … 44 44 45 45 [StorableConstructor] 46 protected StochasticSwap2MultiMoveGenerator( bool deserializing) : base(deserializing) { }46 protected StochasticSwap2MultiMoveGenerator(StorableConstructorFlag _) : base(_) { } 47 47 protected StochasticSwap2MultiMoveGenerator(StochasticSwap2MultiMoveGenerator original, Cloner cloner) : base(original, cloner) { } 48 48 public StochasticSwap2MultiMoveGenerator() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/StochasticSwap2SingleMoveGenerator.cs
r16453 r16462 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Encodings.PermutationEncoding { 30 30 [Item("StochasticSwap2SingleMoveGenerator", "Randomly samples a single from all possible swap-2 moves from a given permutation.")] 31 [Storable Class]31 [StorableType("A3F2B5E5-CB79-46FA-8336-69C54F354C1B")] 32 32 public class StochasticSwap2SingleMoveGenerator : Swap2MoveGenerator, IStochasticOperator, ISingleMoveGenerator { 33 33 public ILookupParameter<IRandom> RandomParameter { … … 36 36 37 37 [StorableConstructor] 38 protected StochasticSwap2SingleMoveGenerator( bool deserializing) : base(deserializing) { }38 protected StochasticSwap2SingleMoveGenerator(StorableConstructorFlag _) : base(_) { } 39 39 protected StochasticSwap2SingleMoveGenerator(StochasticSwap2SingleMoveGenerator original, Cloner cloner) : base(original, cloner) { } 40 40 public StochasticSwap2SingleMoveGenerator() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/Swap2Move.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 { 27 27 [Item("Swap2Move", "Item that describes a swap-2 move.")] 28 [Storable Class]28 [StorableType("50250010-F7BF-4F72-9093-D9F5FE01B8BF")] 29 29 public class Swap2Move : TwoIndexMove { 30 30 [StorableConstructor] 31 protected Swap2Move( bool deserializing) : base(deserializing) { }31 protected Swap2Move(StorableConstructorFlag _) : base(_) { } 32 32 protected Swap2Move(Swap2Move original, Cloner cloner) : base(original, cloner) { } 33 33 public Swap2Move() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/Swap2MoveAbsoluteAttribute.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 { 27 27 [Item("Swap2MoveAbsoluteAttribute", "Specifies the tabu attributes for a swap-2 move on an absolute position permutation.")] 28 [Storable Class]28 [StorableType("BE525C05-D1EB-4A87-9282-CF6B88E0D667")] 29 29 public class Swap2MoveAbsoluteAttribute : PermutationMoveAttribute { 30 30 [Storable] … … 38 38 39 39 [StorableConstructor] 40 protected Swap2MoveAbsoluteAttribute( bool deserializing) : base(deserializing) { }40 protected Swap2MoveAbsoluteAttribute(StorableConstructorFlag _) : base(_) { } 41 41 protected Swap2MoveAbsoluteAttribute(Swap2MoveAbsoluteAttribute original, Cloner cloner) 42 42 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/Swap2MoveGenerator.cs
r16453 r16462 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Encodings.PermutationEncoding { 30 30 [Item("Swap2MoveGenerator", "Base class for all swap-2 move generators.")] 31 [Storable Class]31 [StorableType("A509FD36-5472-4664-BCB7-D1E4C4449614")] 32 32 public abstract class Swap2MoveGenerator : SingleSuccessorOperator, IPermutationSwap2MoveOperator, IMoveGenerator { 33 33 public override bool CanChangeName { … … 45 45 46 46 [StorableConstructor] 47 protected Swap2MoveGenerator( bool deserializing) : base(deserializing) { }47 protected Swap2MoveGenerator(StorableConstructorFlag _) : base(_) { } 48 48 protected Swap2MoveGenerator(Swap2MoveGenerator original, Cloner cloner) : base(original, cloner) { } 49 49 public Swap2MoveGenerator() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/Swap2MoveHardTabuCriterion.cs
r16453 r16462 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Encodings.PermutationEncoding { … … 34 34 35 35 If the aspiration condition is activated, a move will not be considered tabu against a move in the tabu list if it leads to a better solution than the quality recorded with the move in the tabu list.")] 36 [Storable Class]36 [StorableType("5A8C0CDE-2545-46B2-A764-1F20597D4FF7")] 37 37 public class Swap2MoveHardTabuCriterion : SingleSuccessorOperator, IPermutationSwap2MoveOperator, ITabuChecker { 38 38 public override bool CanChangeName { … … 67 67 68 68 [StorableConstructor] 69 protected Swap2MoveHardTabuCriterion( bool deserializing) : base(deserializing) { }69 protected Swap2MoveHardTabuCriterion(StorableConstructorFlag _) : base(_) { } 70 70 protected Swap2MoveHardTabuCriterion(Swap2MoveHardTabuCriterion original, Cloner cloner) : base(original, cloner) { } 71 71 public Swap2MoveHardTabuCriterion() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/Swap2MoveMaker.cs
r16453 r16462 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Encodings.PermutationEncoding { 31 31 [Item("Swap2MoveMaker", "Peforms a swap-2 move on a given permutation and updates the quality.")] 32 [Storable Class]32 [StorableType("A5781DC7-E9F0-4926-A3BF-A43EE893E4F9")] 33 33 public class Swap2MoveMaker : SingleSuccessorOperator, IPermutationSwap2MoveOperator, IMoveMaker, ISingleObjectiveOperator { 34 34 public override bool CanChangeName { … … 49 49 50 50 [StorableConstructor] 51 protected Swap2MoveMaker( bool deserializing) : base(deserializing) { }51 protected Swap2MoveMaker(StorableConstructorFlag _) : base(_) { } 52 52 protected Swap2MoveMaker(Swap2MoveMaker original, Cloner cloner) : base(original, cloner) { } 53 53 public Swap2MoveMaker() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/Swap2MoveRelativeAttribute.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 { 27 27 [Item("Swap2MoveRelativeAttribute", "Specifies the tabu attributes for a swap-2 move on a relative position permutation.")] 28 [Storable Class]28 [StorableType("826E9F84-344E-48F3-ADC8-E1AFF52AADBF")] 29 29 public class Swap2MoveRelativeAttribute : PermutationMoveAttribute { 30 30 [Storable] … … 34 34 35 35 [StorableConstructor] 36 protected Swap2MoveRelativeAttribute( bool deserializing) : base(deserializing) { }36 protected Swap2MoveRelativeAttribute(StorableConstructorFlag _) : base(_) { } 37 37 protected Swap2MoveRelativeAttribute(Swap2MoveRelativeAttribute original, Cloner cloner) 38 38 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/Swap2MoveSoftTabuCriterion.cs
r16453 r16462 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Encodings.PermutationEncoding { … … 34 34 35 35 If the aspiration condition is activated, a move will not be considered tabu against a move in the tabu list if it leads to a better solution than the quality recorded with the move in the tabu list.")] 36 [Storable Class]36 [StorableType("71881921-009B-4F82-BF3D-90AB1447D79A")] 37 37 public class Swap2MoveSoftTabuCriterion : SingleSuccessorOperator, IPermutationSwap2MoveOperator, ITabuChecker { 38 38 public override bool CanChangeName { … … 67 67 68 68 [StorableConstructor] 69 protected Swap2MoveSoftTabuCriterion( bool deserializing) : base(deserializing) { }69 protected Swap2MoveSoftTabuCriterion(StorableConstructorFlag _) : base(_) { } 70 70 protected Swap2MoveSoftTabuCriterion(Swap2MoveSoftTabuCriterion original, Cloner cloner) : base(original, cloner) { } 71 71 public Swap2MoveSoftTabuCriterion() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/Swap2MoveTabuMaker.cs
r16453 r16462 24 24 using HeuristicLab.Optimization.Operators; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Encodings.PermutationEncoding { 29 29 [Item("Swap2MoveTabuMaker", "Declares a given swap-2 move as tabu, by adding its attributes to the tabu list and also store the solution quality or the move quality (whichever is better).")] 30 [Storable Class]30 [StorableType("A6548572-AF42-46FF-9B8C-E00EB9B92DE4")] 31 31 public class Swap2MoveTabuMaker : TabuMaker, IPermutationSwap2MoveOperator { 32 32 public ILookupParameter<Permutation> PermutationParameter { … … 38 38 39 39 [StorableConstructor] 40 protected Swap2MoveTabuMaker( bool deserializing) : base(deserializing) { }40 protected Swap2MoveTabuMaker(StorableConstructorFlag _) : base(_) { } 41 41 protected Swap2MoveTabuMaker(Swap2MoveTabuMaker original, Cloner cloner) : base(original, cloner) { } 42 42 public Swap2MoveTabuMaker() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeIndexMove.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 { 27 27 [Item("ThreeIndexMove", "A move on a permutation that is specified by 3 indices.")] 28 [Storable Class]28 [StorableType("0F9A8E7D-0198-4FBF-B6BA-D1B537F4B4D9")] 29 29 public class ThreeIndexMove : Item { 30 30 [Storable] … … 38 38 39 39 [StorableConstructor] 40 protected ThreeIndexMove( bool deserializing) : base(deserializing) { }40 protected ThreeIndexMove(StorableConstructorFlag _) : base(_) { } 41 41 protected ThreeIndexMove(ThreeIndexMove original, Cloner cloner) 42 42 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeOpt/ExhaustiveInsertionMoveGenerator.cs
r16453 r16462 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Optimization; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Encodings.PermutationEncoding { 31 31 [Item("ExhaustiveInsertionMoveGenerator", "Generates all possible insertion moves (3-opt) from a given permutation.")] 32 [Storable Class]32 [StorableType("D3E672A7-97F5-4E21-B151-F7CE465A4DBB")] 33 33 public class ExhaustiveInsertionMoveGenerator : TranslocationMoveGenerator, IExhaustiveMoveGenerator { 34 34 [StorableConstructor] 35 protected ExhaustiveInsertionMoveGenerator( bool deserializing) : base(deserializing) { }35 protected ExhaustiveInsertionMoveGenerator(StorableConstructorFlag _) : base(_) { } 36 36 protected ExhaustiveInsertionMoveGenerator(ExhaustiveInsertionMoveGenerator original, Cloner cloner) : base(original, cloner) { } 37 37 public ExhaustiveInsertionMoveGenerator() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeOpt/StochasticSingleInsertionMoveGenerator.cs
r16453 r16462 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Encodings.PermutationEncoding { 32 32 [Item("StochasticInsertionMultiMoveGenerator", "Generates all possible insertion moves (3-opt) from a few numbers in a given permutation.")] 33 [Storable Class]33 [StorableType("27AFEE18-D94C-467C-AB45-F81ABB879B16")] 34 34 public class StochasticInsertionMultiMoveGenerator : TranslocationMoveGenerator, IMultiMoveGenerator, IStochasticOperator { 35 35 public ILookupParameter<IRandom> RandomParameter { … … 46 46 47 47 [StorableConstructor] 48 protected StochasticInsertionMultiMoveGenerator( bool deserializing) : base(deserializing) { }48 protected StochasticInsertionMultiMoveGenerator(StorableConstructorFlag _) : base(_) { } 49 49 protected StochasticInsertionMultiMoveGenerator(StochasticInsertionMultiMoveGenerator original, Cloner cloner) : base(original, cloner) { } 50 50 public StochasticInsertionMultiMoveGenerator() : base() { -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeOpt/StochasticTranslocationMultiMoveGenerator.cs
r16453 r16462 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Encodings.PermutationEncoding { 30 30 [Item("StochasticTranslocationMultiMoveGenerator", "Randomly samples n from all possible translocation and insertion moves (3-opt) from a given permutation.")] 31 [Storable Class]31 [StorableType("CEC3FF43-3DE6-4977-BCE7-4CEB20BA97EE")] 32 32 public class StochasticTranslocationMultiMoveGenerator : TranslocationMoveGenerator, IStochasticOperator, IMultiMoveGenerator { 33 33 public ILookupParameter<IRandom> RandomParameter { … … 44 44 45 45 [StorableConstructor] 46 protected StochasticTranslocationMultiMoveGenerator( bool deserializing) : base(deserializing) { }46 protected StochasticTranslocationMultiMoveGenerator(StorableConstructorFlag _) : base(_) { } 47 47 protected StochasticTranslocationMultiMoveGenerator(StochasticTranslocationMultiMoveGenerator original, Cloner cloner) : base(original, cloner) { } 48 48 public StochasticTranslocationMultiMoveGenerator() : base() { -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeOpt/StochasticTranslocationSingleMoveGenerator.cs
r16453 r16462 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Encodings.PermutationEncoding { 30 30 [Item("StochasticTranslocationSingleMoveGenerator", "Randomly samples one from all possible translocation and insertion moves (3-opt) from a given permutation.")] 31 [Storable Class]31 [StorableType("E084E519-132B-4D01-ABDF-1B5B2976219E")] 32 32 public class StochasticTranslocationSingleMoveGenerator : TranslocationMoveGenerator, IStochasticOperator, ISingleMoveGenerator { 33 33 public ILookupParameter<IRandom> RandomParameter { … … 36 36 37 37 [StorableConstructor] 38 protected StochasticTranslocationSingleMoveGenerator( bool deserializing) : base(deserializing) { }38 protected StochasticTranslocationSingleMoveGenerator(StorableConstructorFlag _) : base(_) { } 39 39 protected StochasticTranslocationSingleMoveGenerator(StochasticTranslocationSingleMoveGenerator original, Cloner cloner) : base(original, cloner) { } 40 40 public StochasticTranslocationSingleMoveGenerator() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeOpt/TranslocationMove.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 { 27 27 [Item("TranslocationMove", "A move that changes three edges by performing a translocation.")] 28 [Storable Class]28 [StorableType("D8C65083-9375-4665-8A90-1A9EAD3EDA97")] 29 29 public class TranslocationMove : ThreeIndexMove { 30 30 [StorableConstructor] 31 protected TranslocationMove( bool deserializing) : base(deserializing) { }31 protected TranslocationMove(StorableConstructorFlag _) : base(_) { } 32 32 protected TranslocationMove(TranslocationMove original, Cloner cloner) : base(original, cloner) { } 33 33 public TranslocationMove() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeOpt/TranslocationMoveAbsoluteAttribute.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 { 27 27 [Item("TranslocationMoveAbsoluteAttribute", "Specifies the tabu attributes for a translocation and insertion move (3-opt) on absolute permutation encodings.")] 28 [Storable Class]28 [StorableType("6E434731-DD9F-4CCD-A929-C6522EA4A301")] 29 29 public class TranslocationMoveAbsoluteAttribute : PermutationMoveAttribute { 30 30 [Storable] … … 36 36 37 37 [StorableConstructor] 38 protected TranslocationMoveAbsoluteAttribute( bool deserializing) : base(deserializing) { }38 protected TranslocationMoveAbsoluteAttribute(StorableConstructorFlag _) : base(_) { } 39 39 protected TranslocationMoveAbsoluteAttribute(TranslocationMoveAbsoluteAttribute original, Cloner cloner) 40 40 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeOpt/TranslocationMoveGenerator.cs
r16453 r16462 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Encodings.PermutationEncoding { 30 30 [Item("TranslocationMoveGenerator", "Base class for move generators that produce translocation moves (3-opt).")] 31 [Storable Class]31 [StorableType("1569B595-0381-44D9-932B-72769C55ABC5")] 32 32 public abstract class TranslocationMoveGenerator : SingleSuccessorOperator, IPermutationTranslocationMoveOperator, IMoveGenerator { 33 33 public override bool CanChangeName { … … 45 45 46 46 [StorableConstructor] 47 protected TranslocationMoveGenerator( bool deserializing) : base(deserializing) { }47 protected TranslocationMoveGenerator(StorableConstructorFlag _) : base(_) { } 48 48 protected TranslocationMoveGenerator(TranslocationMoveGenerator original, Cloner cloner) : base(original, cloner) { } 49 49 public TranslocationMoveGenerator() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeOpt/TranslocationMoveHardTabuCriterion.cs
r16453 r16462 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Encodings.PermutationEncoding { … … 33 33 34 34 If the aspiration condition is activated, a move will not be considered tabu against a move in the tabu list if it leads to a better solution than the quality recorded with the move in the tabu list.")] 35 [Storable Class]35 [StorableType("FD8C3ED7-734F-4B90-9539-2367C62FA7EB")] 36 36 public class TranslocationMoveHardTabuCriterion : SingleSuccessorOperator, IPermutationTranslocationMoveOperator, ITabuChecker { 37 37 public override bool CanChangeName { … … 66 66 67 67 [StorableConstructor] 68 protected TranslocationMoveHardTabuCriterion( bool deserializing) : base(deserializing) { }68 protected TranslocationMoveHardTabuCriterion(StorableConstructorFlag _) : base(_) { } 69 69 protected TranslocationMoveHardTabuCriterion(TranslocationMoveHardTabuCriterion original, Cloner cloner) : base(original, cloner) { } 70 70 public TranslocationMoveHardTabuCriterion() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeOpt/TranslocationMoveMaker.cs
r16453 r16462 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Encodings.PermutationEncoding { 31 31 [Item("TranslocationMoveMaker", "Peforms a translocation or insertion move (3-opt) on a given permutation and updates the quality.")] 32 [Storable Class]32 [StorableType("B27DC2DD-4E4E-448A-B4BD-86EEABACBBC5")] 33 33 public class TranslocationMoveMaker : SingleSuccessorOperator, IPermutationTranslocationMoveOperator, IMoveMaker, ISingleObjectiveOperator { 34 34 public override bool CanChangeName { … … 49 49 50 50 [StorableConstructor] 51 protected TranslocationMoveMaker( bool deserializing) : base(deserializing) { }51 protected TranslocationMoveMaker(StorableConstructorFlag _) : base(_) { } 52 52 protected TranslocationMoveMaker(TranslocationMoveMaker original, Cloner cloner) : base(original, cloner) { } 53 53 public TranslocationMoveMaker() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeOpt/TranslocationMoveRelativeAttribute.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 { 27 27 [Item("TranslocationMoveRelativeAttribute", "Specifies the tabu attributes for a translocation and insertion move (3-opt) on relative permutation encodings.")] 28 [Storable Class]28 [StorableType("95F01C10-D383-4E5C-AC30-CB88E3263A00")] 29 29 public class TranslocationMoveRelativeAttribute : PermutationMoveAttribute { 30 30 [Storable] … … 42 42 43 43 [StorableConstructor] 44 protected TranslocationMoveRelativeAttribute( bool deserializing) : base(deserializing) { }44 protected TranslocationMoveRelativeAttribute(StorableConstructorFlag _) : base(_) { } 45 45 protected TranslocationMoveRelativeAttribute(TranslocationMoveRelativeAttribute original, Cloner cloner) 46 46 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeOpt/TranslocationMoveSoftTabuCriterion.cs
r16453 r16462 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Encodings.PermutationEncoding { … … 33 33 34 34 If the aspiration condition is activated, a move will not be considered tabu against a move in the tabu list if it leads to a better solution than the quality recorded with the move in the tabu list.")] 35 [Storable Class]35 [StorableType("391C33EC-E235-4331-8121-97298E0FAE49")] 36 36 public class TranslocationMoveSoftTabuCriterion : SingleSuccessorOperator, IPermutationTranslocationMoveOperator, ITabuChecker { 37 37 public override bool CanChangeName { … … 66 66 67 67 [StorableConstructor] 68 protected TranslocationMoveSoftTabuCriterion( bool deserializing) : base(deserializing) { }68 protected TranslocationMoveSoftTabuCriterion(StorableConstructorFlag _) : base(_) { } 69 69 protected TranslocationMoveSoftTabuCriterion(TranslocationMoveSoftTabuCriterion original, Cloner cloner) : base(original, cloner) { } 70 70 public TranslocationMoveSoftTabuCriterion() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeOpt/TranslocationMoveTabuMaker.cs
r16453 r16462 24 24 using HeuristicLab.Optimization.Operators; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Encodings.PermutationEncoding { 29 29 [Item("TranslocationMoveTabuMaker", "Declares a given translocation or insertion move (3-opt) as tabu, by adding its attributes to the tabu list.")] 30 [Storable Class]30 [StorableType("A5B9AC7B-3A83-4BF4-914A-A0FD17AE8A94")] 31 31 public class TranslocationMoveTabuMaker : TabuMaker, IPermutationTranslocationMoveOperator { 32 32 public ILookupParameter<Permutation> PermutationParameter { … … 38 38 39 39 [StorableConstructor] 40 protected TranslocationMoveTabuMaker( bool deserializing) : base(deserializing) { }40 protected TranslocationMoveTabuMaker(StorableConstructorFlag _) : base(_) { } 41 41 protected TranslocationMoveTabuMaker(TranslocationMoveTabuMaker original, Cloner cloner) : base(original, cloner) { } 42 42 public TranslocationMoveTabuMaker() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoIndexMove.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 { 27 27 [Item("TwoIndexMove", "A move on a permutation that is specified by 2 indices.")] 28 [Storable Class]28 [StorableType("B2415ECB-30EE-4FD6-96F6-1170B5BD85DE")] 29 29 public class TwoIndexMove : Item { 30 30 [Storable] … … 36 36 37 37 [StorableConstructor] 38 protected TwoIndexMove( bool deserializing) : base(deserializing) { }38 protected TwoIndexMove(StorableConstructorFlag _) : base(_) { } 39 39 protected TwoIndexMove(TwoIndexMove original, Cloner cloner) 40 40 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/ExhaustiveInversionMoveGenerator.cs
r16453 r16462 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Optimization; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Encodings.PermutationEncoding { 31 31 [Item("ExhaustiveInversionMoveGenerator", "Generates all possible inversion moves (2-opt) from a given permutation.")] 32 [Storable Class]32 [StorableType("7356F98C-404C-47B5-B290-EF4EE995D51C")] 33 33 public class ExhaustiveInversionMoveGenerator : InversionMoveGenerator, IExhaustiveMoveGenerator { 34 34 [StorableConstructor] 35 protected ExhaustiveInversionMoveGenerator( bool deserializing) : base(deserializing) { }35 protected ExhaustiveInversionMoveGenerator(StorableConstructorFlag _) : base(_) { } 36 36 protected ExhaustiveInversionMoveGenerator(ExhaustiveInversionMoveGenerator original, Cloner cloner) : base(original, cloner) { } 37 37 public ExhaustiveInversionMoveGenerator() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/InversionMove.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 { 27 27 [Item("InversionMove", "Item that describes an inversion move (2-opt).")] 28 [Storable Class]28 [StorableType("864C1259-8419-410F-8DD1-2C2751B1AF6B")] 29 29 public class InversionMove : TwoIndexMove { 30 30 [StorableConstructor] 31 protected InversionMove( bool deserializing) : base(deserializing) { }31 protected InversionMove(StorableConstructorFlag _) : base(_) { } 32 32 protected InversionMove(InversionMove original, Cloner cloner) : base(original, cloner) { } 33 33 public InversionMove() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/InversionMoveAbsoluteAttribute.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 { 27 27 [Item("InversionMoveAbsoluteAttribute", "Specifies the tabu attributes for an inversion move (2-opt) on an absolute position permutation.")] 28 [Storable Class]28 [StorableType("3C1B448F-5D8F-462F-9F2A-42CCDF4D596D")] 29 29 public class InversionMoveAbsoluteAttribute : PermutationMoveAttribute { 30 30 [Storable] … … 38 38 39 39 [StorableConstructor] 40 protected InversionMoveAbsoluteAttribute( bool deserializing) : base(deserializing) { }40 protected InversionMoveAbsoluteAttribute(StorableConstructorFlag _) : base(_) { } 41 41 protected InversionMoveAbsoluteAttribute(InversionMoveAbsoluteAttribute original, Cloner cloner) 42 42 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/InversionMoveGenerator.cs
r16453 r16462 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Encodings.PermutationEncoding { 30 30 [Item("InversionMoveGenerator", "Base class for all inversion (2-opt) move generators.")] 31 [Storable Class]31 [StorableType("FB20D0B5-4A65-4718-9A92-90C421034BCF")] 32 32 public abstract class InversionMoveGenerator : SingleSuccessorOperator, IPermutationInversionMoveOperator, IMoveGenerator { 33 33 public override bool CanChangeName { … … 45 45 46 46 [StorableConstructor] 47 protected InversionMoveGenerator( bool deserializing) : base(deserializing) { }47 protected InversionMoveGenerator(StorableConstructorFlag _) : base(_) { } 48 48 protected InversionMoveGenerator(InversionMoveGenerator original, Cloner cloner) : base(original, cloner) { } 49 49 public InversionMoveGenerator() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/InversionMoveHardTabuCriterion.cs
r16453 r16462 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Encodings.PermutationEncoding { … … 34 34 35 35 If the aspiration condition is activated, a move will not be considered tabu against a move in the tabu list if it leads to a better solution than the quality recorded with the move in the tabu list.")] 36 [Storable Class]36 [StorableType("E5212C75-4A9E-4F9F-920E-D76D11E72874")] 37 37 public class InversionMoveHardTabuCriterion : SingleSuccessorOperator, IPermutationInversionMoveOperator, ITabuChecker { 38 38 public override bool CanChangeName { … … 67 67 68 68 [StorableConstructor] 69 protected InversionMoveHardTabuCriterion( bool deserializing) : base(deserializing) { }69 protected InversionMoveHardTabuCriterion(StorableConstructorFlag _) : base(_) { } 70 70 protected InversionMoveHardTabuCriterion(InversionMoveHardTabuCriterion original, Cloner cloner) : base(original, cloner) { } 71 71 public InversionMoveHardTabuCriterion() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/InversionMoveMaker.cs
r16453 r16462 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Encodings.PermutationEncoding { 31 31 [Item("InversionMoveMaker", "Peforms an inversion move (2-opt) on a given permutation and updates the quality.")] 32 [Storable Class]32 [StorableType("9A0BCC19-9153-457B-A7E4-A16A51615739")] 33 33 public class InversionMoveMaker : SingleSuccessorOperator, IPermutationInversionMoveOperator, IMoveMaker, ISingleObjectiveOperator { 34 34 public override bool CanChangeName { … … 49 49 50 50 [StorableConstructor] 51 protected InversionMoveMaker( bool deserializing) : base(deserializing) { }51 protected InversionMoveMaker(StorableConstructorFlag _) : base(_) { } 52 52 protected InversionMoveMaker(InversionMoveMaker original, Cloner cloner) : base(original, cloner) { } 53 53 public InversionMoveMaker() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/InversionMoveRelativeAttribute.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 { 27 27 [Item("InversionMoveRelativeAttribute", "Specifies the tabu attributes for an inversion move (2-opt) on a relative position permutation.")] 28 [Storable Class]28 [StorableType("92CFBF00-0D01-4EBA-9CED-EA1483C842F7")] 29 29 public class InversionMoveRelativeAttribute : PermutationMoveAttribute { 30 30 [Storable] … … 38 38 39 39 [StorableConstructor] 40 protected InversionMoveRelativeAttribute( bool deserializing) : base(deserializing) { }40 protected InversionMoveRelativeAttribute(StorableConstructorFlag _) : base(_) { } 41 41 protected InversionMoveRelativeAttribute(InversionMoveRelativeAttribute original, Cloner cloner) 42 42 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/InversionMoveSoftTabuCriterion.cs
r16453 r16462 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Encodings.PermutationEncoding { … … 34 34 35 35 If the aspiration condition is activated, a move will not be considered tabu against a move in the tabu list if it leads to a better solution than the quality recorded with the move in the tabu list.")] 36 [Storable Class]36 [StorableType("5A5C8DDD-C22A-44CA-9261-BAFA79BB50BB")] 37 37 public class InversionMoveSoftTabuCriterion : SingleSuccessorOperator, IPermutationInversionMoveOperator, ITabuChecker { 38 38 public override bool CanChangeName { … … 67 67 68 68 [StorableConstructor] 69 protected InversionMoveSoftTabuCriterion( bool deserializing) : base(deserializing) { }69 protected InversionMoveSoftTabuCriterion(StorableConstructorFlag _) : base(_) { } 70 70 protected InversionMoveSoftTabuCriterion(InversionMoveSoftTabuCriterion original, Cloner cloner) : base(original, cloner) { } 71 71 public InversionMoveSoftTabuCriterion() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/InversionMoveTabuMaker.cs
r16453 r16462 24 24 using HeuristicLab.Optimization.Operators; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Encodings.PermutationEncoding { 29 29 [Item("InversionMoveTabuMaker", "Declares a given inversion move (2-opt) as tabu, by adding its attributes to the tabu list and also store the solution quality or the move quality (whichever is better).")] 30 [Storable Class]30 [StorableType("81928009-A474-418B-8FD6-834FE79B43C9")] 31 31 public class InversionMoveTabuMaker : TabuMaker, IPermutationInversionMoveOperator { 32 32 public ILookupParameter<Permutation> PermutationParameter { … … 38 38 39 39 [StorableConstructor] 40 protected InversionMoveTabuMaker( bool deserializing) : base(deserializing) { }40 protected InversionMoveTabuMaker(StorableConstructorFlag _) : base(_) { } 41 41 protected InversionMoveTabuMaker(InversionMoveTabuMaker original, Cloner cloner) : base(original, cloner) { } 42 42 public InversionMoveTabuMaker() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/StochasticInversionMultiMoveGenerator.cs
r16453 r16462 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Encodings.PermutationEncoding { 30 30 [Item("StochasticInversionMultiMoveGenerator", "Randomly samples n from all possible inversion moves (2-opt) from a given permutation.")] 31 [Storable Class]31 [StorableType("7CFC07A2-6610-4716-96BE-ABC84A6DA4C6")] 32 32 public class StochasticInversionMultiMoveGenerator : InversionMoveGenerator, IMultiMoveGenerator, IStochasticOperator { 33 33 public ILookupParameter<IRandom> RandomParameter { … … 44 44 45 45 [StorableConstructor] 46 protected StochasticInversionMultiMoveGenerator( bool deserializing) : base(deserializing) { }46 protected StochasticInversionMultiMoveGenerator(StorableConstructorFlag _) : base(_) { } 47 47 protected StochasticInversionMultiMoveGenerator(StochasticInversionMultiMoveGenerator original, Cloner cloner) : base(original, cloner) { } 48 48 public StochasticInversionMultiMoveGenerator() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/StochasticInversionSingleMoveGenerator.cs
r16453 r16462 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Encodings.PermutationEncoding { 30 30 [Item("StochasticInversionSingleMoveGenerator", "Randomly samples a single from all possible inversion moves (2-opt) from a given permutation.")] 31 [Storable Class]31 [StorableType("F7190264-4BE1-45A2-A908-E2C7869B4F1F")] 32 32 public class StochasticInversionSingleMoveGenerator : InversionMoveGenerator, IStochasticOperator, ISingleMoveGenerator { 33 33 public ILookupParameter<IRandom> RandomParameter { … … 36 36 37 37 [StorableConstructor] 38 protected StochasticInversionSingleMoveGenerator( bool deserializing) : base(deserializing) { }38 protected StochasticInversionSingleMoveGenerator(StorableConstructorFlag _) : base(_) { } 39 39 protected StochasticInversionSingleMoveGenerator(StochasticInversionSingleMoveGenerator original, Cloner cloner) : base(original, cloner) { } 40 40 public StochasticInversionSingleMoveGenerator() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Permutation.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.PermutationEncoding { 29 29 [Item("Permutation", "Represents a permutation of integer values.")] 30 [Storable Class]30 [StorableType("FBBCFA53-C1AE-4069-907B-99C720F5AC51")] 31 31 public class Permutation : IntArray { 32 32 [Storable] … … 45 45 46 46 [StorableConstructor] 47 protected Permutation( bool deserializing) : base(deserializing) { }47 protected Permutation(StorableConstructorFlag _) : base(_) { } 48 48 protected Permutation(Permutation original, Cloner cloner) 49 49 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/PermutationCrossover.cs
r16453 r16462 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Encodings.PermutationEncoding { … … 32 32 /// </summary> 33 33 [Item("PermutationCrossover", "A base class for permutation crossover operators.")] 34 [Storable Class]34 [StorableType("99A5AE01-4208-4002-8FCB-DC2231DE0F53")] 35 35 public abstract class PermutationCrossover : InstrumentedOperator, IPermutationCrossover, IStochasticOperator { 36 36 public override bool CanChangeName { … … 49 49 50 50 [StorableConstructor] 51 protected PermutationCrossover( bool deserializing) : base(deserializing) { }51 protected PermutationCrossover(StorableConstructorFlag _) : base(_) { } 52 52 protected PermutationCrossover(PermutationCrossover original, Cloner cloner) : base(original, cloner) { } 53 53 protected PermutationCrossover() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/PermutationEncoding.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("PermutationEncoding", "Describes a permutation encoding.")] 35 [Storable Class]35 [StorableType("E30E7507-44BA-4021-8F56-C3FC5569A6FE")] 36 36 public sealed class PermutationEncoding : Encoding<IPermutationCreator> { 37 37 #region encoding parameters … … 80 80 81 81 [StorableConstructor] 82 private PermutationEncoding( bool deserializing) : base(deserializing) { }82 private PermutationEncoding(StorableConstructorFlag _) : base(_) { } 83 83 [StorableHook(HookType.AfterDeserialization)] 84 84 private void AfterDeserialization() { -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/PermutationManipulator.cs
r16453 r16462 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Encodings.PermutationEncoding { … … 32 32 /// </summary> 33 33 [Item("PermutationManipulator", "A base class for permutation manipulation operators.")] 34 [Storable Class]34 [StorableType("436622C7-1F84-4A07-B77A-019DA2A2DFC9")] 35 35 public abstract class PermutationManipulator : InstrumentedOperator, IPermutationManipulator, IStochasticOperator { 36 36 public override bool CanChangeName { … … 46 46 47 47 [StorableConstructor] 48 protected PermutationManipulator( bool deserializing) : base(deserializing) { }48 protected PermutationManipulator(StorableConstructorFlag _) : base(_) { } 49 49 protected PermutationManipulator(PermutationManipulator original, Cloner cloner) : base(original, cloner) { } 50 50 protected PermutationManipulator() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/PermutationType.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.PermutationEncoding { 29 29 [Item("PermutationType", "Represents a certain type of permutation.")] 30 [Storable Class]30 [StorableType("B37C1815-5F82-4E46-BAE3-D71F801EFF46")] 31 31 public class PermutationType : ValueTypeValue<PermutationTypes> { 32 32 public static new Image StaticItemImage { … … 35 35 36 36 [StorableConstructor] 37 protected PermutationType( bool deserializing) : base(deserializing) { }37 protected PermutationType(StorableConstructorFlag _) : base(_) { } 38 38 protected PermutationType(PermutationType original, Cloner cloner) : base(original, cloner) { } 39 39 public PermutationType() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/ShakingOperators/PermutationShakingOperator.cs
r16453 r16462 28 28 using HeuristicLab.Optimization.Operators; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Fossil; 31 31 using HeuristicLab.PluginInfrastructure; 32 32 … … 36 36 /// </summary> 37 37 [Item("PermutationShakingOperator", "A shaking operator for VNS which uses available manipulation operators to perform the shaking.")] 38 [Storable Class]38 [StorableType("632B3164-EEE1-4DAC-BB91-651A1CE2EED1")] 39 39 public class PermutationShakingOperator : ShakingOperator<IPermutationManipulator>, IPermutationMultiNeighborhoodShakingOperator, IStochasticOperator { 40 40 … … 48 48 49 49 [StorableConstructor] 50 protected PermutationShakingOperator( bool deserializing) : base(deserializing) { }50 protected PermutationShakingOperator(StorableConstructorFlag _) : base(_) { } 51 51 protected PermutationShakingOperator(PermutationShakingOperator original, Cloner cloner) : base(original, cloner) { } 52 52 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/SimilarityCalculators/HammingSimilarityCalculator.cs
r16453 r16462 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Optimization.Operators; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Encodings.PermutationEncoding { 29 29 [Item("Hamming Similarity Calculator for Permutation", "An operator that performs similarity calculation between two permutation-encoded solutions.")] 30 [Storable Class]30 [StorableType("CD7CC097-C46E-42A5-82BF-E47CEB945B9B")] 31 31 public sealed class HammingSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator { 32 32 protected override bool IsCommutative { get { return true; } } 33 33 34 34 [StorableConstructor] 35 private HammingSimilarityCalculator( bool deserializing) : base(deserializing) { }35 private HammingSimilarityCalculator(StorableConstructorFlag _) : base(_) { } 36 36 private HammingSimilarityCalculator(HammingSimilarityCalculator original, Cloner cloner) : base(original, cloner) { } 37 37 public HammingSimilarityCalculator() : base() { }
Note: See TracChangeset
for help on using the changeset viewer.