Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeOpt
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeOpt
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
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()
Note: See TracChangeset
for help on using the changeset viewer.