Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Problems.PTSP/3.3/Moves/TwoPointFiveOpt
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Problems.PTSP/3.3/Moves/TwoPointFiveOpt
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Problems.PTSP/3.3/Moves/TwoPointFiveOpt/ExhaustiveTwoPointFiveMoveGenerator.cs
r16453 r16462 27 27 using HeuristicLab.Encodings.PermutationEncoding; 28 28 using HeuristicLab.Optimization; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Fossil; 30 30 31 31 namespace HeuristicLab.Problems.PTSP { 32 32 [Item("Exhaustive 2.5-MoveGenerator", "Generates all possible inversion and shift moves (2.5-opt) from a given permutation.")] 33 [Storable Class]33 [StorableType("DF95E561-1F47-4845-A58D-CEF32B14461B")] 34 34 public sealed class ExhaustiveTwoPointFiveMoveGenerator : TwoPointFiveMoveGenerator, IExhaustiveMoveGenerator { 35 35 36 36 [StorableConstructor] 37 private ExhaustiveTwoPointFiveMoveGenerator( bool deserializing) : base(deserializing) { }37 private ExhaustiveTwoPointFiveMoveGenerator(StorableConstructorFlag _) : base(_) { } 38 38 private ExhaustiveTwoPointFiveMoveGenerator(ExhaustiveTwoPointFiveMoveGenerator original, Cloner cloner) : base(original, cloner) { } 39 39 public ExhaustiveTwoPointFiveMoveGenerator() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.PTSP/3.3/Moves/TwoPointFiveOpt/PTSPAnalyticalTwoPointFiveMoveEvaluator.cs
r16453 r16462 26 26 using HeuristicLab.Encodings.PermutationEncoding; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Problems.PTSP { 31 31 [Item("PTSP Analytical 2.5-MoveEvaluator", "Operator that evaluates 2.5-p-opt moves of PTSP by a full solution evaluation.")] 32 [Storable Class]32 [StorableType("59729BB5-2026-44E8-8C19-EBCC2303103C")] 33 33 public class PTSPAnalyticalTwoPointFiveMoveEvaluator : AnalyticalPTSPMoveEvaluator, ITwoPointFiveMoveOperator { 34 34 … … 38 38 39 39 [StorableConstructor] 40 protected PTSPAnalyticalTwoPointFiveMoveEvaluator( bool deserializing) : base(deserializing) { }40 protected PTSPAnalyticalTwoPointFiveMoveEvaluator(StorableConstructorFlag _) : base(_) { } 41 41 protected PTSPAnalyticalTwoPointFiveMoveEvaluator(PTSPAnalyticalTwoPointFiveMoveEvaluator original, Cloner cloner) : base(original, cloner) { } 42 42 public PTSPAnalyticalTwoPointFiveMoveEvaluator() -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.PTSP/3.3/Moves/TwoPointFiveOpt/PTSPEstimatedTwoPointFiveMoveEvaluator.cs
r16453 r16462 26 26 using HeuristicLab.Encodings.PermutationEncoding; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Problems.PTSP { 31 31 [Item("PTSP Estimated 2.5-MoveEvaluator", "Operator that evaluates 2.5-p-opt moves of PTSP")] 32 [Storable Class]32 [StorableType("3E67BDD5-5A80-46F7-A7D6-9A67595CFD8C")] 33 33 public class PTSPEstimatedTwoPointFiveMoveEvaluator : EstimatedPTSPMoveEvaluator, ITwoPointFiveMoveOperator { 34 34 … … 38 38 39 39 [StorableConstructor] 40 protected PTSPEstimatedTwoPointFiveMoveEvaluator( bool deserializing) : base(deserializing) { }40 protected PTSPEstimatedTwoPointFiveMoveEvaluator(StorableConstructorFlag _) : base(_) { } 41 41 protected PTSPEstimatedTwoPointFiveMoveEvaluator(PTSPEstimatedTwoPointFiveMoveEvaluator original, Cloner cloner) : base(original, cloner) { } 42 42 public PTSPEstimatedTwoPointFiveMoveEvaluator() -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.PTSP/3.3/Moves/TwoPointFiveOpt/StochasticTwoPointFiveMultiMoveGenerator.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.Problems.PTSP { 31 31 [Item("Stochastic 2.5-MultiMoveGenerator", "Randomly samples n from all possible inversion and shift moves (2.5-opt) from a given permutation.")] 32 [Storable Class]32 [StorableType("C84AA7B3-887A-4E75-9237-60011BAEBCC6")] 33 33 public sealed class StochasticTwoPointFiveMultiMoveGenerator : TwoPointFiveMoveGenerator, IMultiMoveGenerator, IStochasticOperator { 34 34 public ILookupParameter<IRandom> RandomParameter { … … 45 45 46 46 [StorableConstructor] 47 private StochasticTwoPointFiveMultiMoveGenerator( bool deserializing) : base(deserializing) { }47 private StochasticTwoPointFiveMultiMoveGenerator(StorableConstructorFlag _) : base(_) { } 48 48 private StochasticTwoPointFiveMultiMoveGenerator(StochasticTwoPointFiveMultiMoveGenerator original, Cloner cloner) : base(original, cloner) { } 49 49 public StochasticTwoPointFiveMultiMoveGenerator() -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.PTSP/3.3/Moves/TwoPointFiveOpt/StochasticTwoPointFiveSingleMoveGenerator.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.Problems.PTSP { 31 31 [Item("Stochastic 2.5-SingleMoveGenerator", "Randomly samples a single from all possible inversion and shift moves (2.5-opt) from a given permutation.")] 32 [Storable Class]32 [StorableType("A3D496C5-3BB5-4263-8F33-0DAFFCAC1BAF")] 33 33 public sealed class StochasticTwoPointFiveSingleMoveGenerator : TwoPointFiveMoveGenerator, IStochasticOperator, ISingleMoveGenerator { 34 34 public ILookupParameter<IRandom> RandomParameter { … … 37 37 38 38 [StorableConstructor] 39 private StochasticTwoPointFiveSingleMoveGenerator( bool deserializing) : base(deserializing) { }39 private StochasticTwoPointFiveSingleMoveGenerator(StorableConstructorFlag _) : base(_) { } 40 40 private StochasticTwoPointFiveSingleMoveGenerator(StochasticTwoPointFiveSingleMoveGenerator original, Cloner cloner) : base(original, cloner) { } 41 41 public StochasticTwoPointFiveSingleMoveGenerator() -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.PTSP/3.3/Moves/TwoPointFiveOpt/TwoPointFiveMove.cs
r16453 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Encodings.PermutationEncoding; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Problems.PTSP { 28 28 [Item("2.5-Move", "Represents a 2.5-move.")] 29 [Storable Class]29 [StorableType("CAC6762D-DFF1-4B66-BAC7-FBCED4A52305")] 30 30 public sealed class TwoPointFiveMove : Item { 31 31 [Storable] … … 39 39 40 40 [StorableConstructor] 41 public TwoPointFiveMove() : this(-1, -1, null, true) { } 42 private TwoPointFiveMove(bool deserializing) : base(deserializing) { } 41 private TwoPointFiveMove(StorableConstructorFlag _) : base(_) { } 43 42 private TwoPointFiveMove(TwoPointFiveMove original, Cloner cloner) 44 43 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.PTSP/3.3/Moves/TwoPointFiveOpt/TwoPointFiveMoveGenerator.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 31 31 namespace HeuristicLab.Problems.PTSP { 32 32 [Item("TwoPointFiveMoveGenerator", "Base class for all inversion and shift (2.5-opt) move generators.")] 33 [Storable Class]33 [StorableType("955C469C-4D77-4168-A428-03C39BACF9AD")] 34 34 public abstract class TwoPointFiveMoveGenerator : SingleSuccessorOperator, ITwoPointFiveMoveOperator, IMoveGenerator { 35 35 public override bool CanChangeName { … … 45 45 46 46 [StorableConstructor] 47 protected TwoPointFiveMoveGenerator( bool deserializing) : base(deserializing) { }47 protected TwoPointFiveMoveGenerator(StorableConstructorFlag _) : base(_) { } 48 48 protected TwoPointFiveMoveGenerator(TwoPointFiveMoveGenerator original, Cloner cloner) : base(original, cloner) { } 49 49 protected TwoPointFiveMoveGenerator() -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.PTSP/3.3/Moves/TwoPointFiveOpt/TwoPointFiveMoveMaker.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.Problems.PTSP { 32 32 [Item("TwoPointFiveMoveMaker", "Peforms an inversion and shift (2.5-opt) on a given permutation and updates the quality.")] 33 [Storable Class]33 [StorableType("6D5923B3-47CA-47AF-8C93-9BA7134BE5BA")] 34 34 public class TwoPointFiveMoveMaker : SingleSuccessorOperator, ITwoPointFiveMoveOperator, IMoveMaker { 35 35 public override bool CanChangeName { … … 51 51 52 52 [StorableConstructor] 53 protected TwoPointFiveMoveMaker( bool deserializing) : base(deserializing) { }53 protected TwoPointFiveMoveMaker(StorableConstructorFlag _) : base(_) { } 54 54 protected TwoPointFiveMoveMaker(TwoPointFiveMoveMaker original, Cloner cloner) : base(original, cloner) { } 55 55 public TwoPointFiveMoveMaker()
Note: See TracChangeset
for help on using the changeset viewer.