- 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/Swap2/ExhaustiveSwap2MoveGenerator.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.Core; 26 26 using HeuristicLab.Optimization; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Attic; 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() { } -
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/StochasticSwap2MultiMoveGenerator.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("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() -
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/StochasticSwap2SingleMoveGenerator.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("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() -
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/Swap2Move.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("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() { } -
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/Swap2MoveAbsoluteAttribute.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("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) { -
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/Swap2MoveGenerator.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("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() -
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/Swap2MoveHardTabuCriterion.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("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() -
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/Swap2MoveMaker.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("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() -
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/Swap2MoveRelativeAttribute.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("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) { -
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/Swap2MoveSoftTabuCriterion.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("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() -
stable/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Swap2/Swap2MoveTabuMaker.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("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()
Note: See TracChangeset
for help on using the changeset viewer.