- Timestamp:
- 07/07/19 23:40:10 (5 years ago)
- Location:
- stable
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Encodings.PermutationEncoding
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/ExhaustiveInversionMoveGenerator.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Optimization; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 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() { } -
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/InversionMove.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 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() { } -
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/InversionMoveAbsoluteAttribute.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 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) { -
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/InversionMoveGenerator.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 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() -
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/InversionMoveHardTabuCriterion.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 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() -
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/InversionMoveMaker.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 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() -
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/InversionMoveRelativeAttribute.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 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) { -
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/InversionMoveSoftTabuCriterion.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;29 using HEAL.Attic; 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() -
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/InversionMoveTabuMaker.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 24 24 using HeuristicLab.Optimization.Operators; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 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() -
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/StochasticInversionMultiMoveGenerator.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 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() -
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/StochasticInversionSingleMoveGenerator.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 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()
Note: See TracChangeset
for help on using the changeset viewer.