Changeset 16723 for branches/2521_ProblemRefactoring/HeuristicLab.Encodings.LinearLinkageEncoding/3.4/Moves/Swap
- Timestamp:
- 03/28/19 16:54:20 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring
- Property svn:mergeinfo changed
-
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.LinearLinkageEncoding/3.4/Moves/Swap/ExhaustiveSwap2MoveGenerator.cs
r16692 r16723 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.LinearLinkageEncoding { 31 31 [Item("ExhaustiveSwap2MoveGenerator", "Generates all possible swap-2 moves from a given lle grouping.")] 32 [Storable Class]32 [StorableType("1D050D36-3197-4931-9806-F8119A60E8B6")] 33 33 public class ExhaustiveSwap2MoveGenerator : Swap2MoveGenerator, IExhaustiveMoveGenerator { 34 34 [StorableConstructor] 35 protected ExhaustiveSwap2MoveGenerator( bool deserializing) : base(deserializing) { }35 protected ExhaustiveSwap2MoveGenerator(StorableConstructorFlag _) : base(_) { } 36 36 protected ExhaustiveSwap2MoveGenerator(ExhaustiveSwap2MoveGenerator original, Cloner cloner) : base(original, cloner) { } 37 37 public ExhaustiveSwap2MoveGenerator() : base() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.LinearLinkageEncoding/3.4/Moves/Swap/StochasticSwap2MultiMoveGenerator.cs
r16692 r16723 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.LinearLinkageEncoding { 30 30 [Item("StochasticSwap2MultiMoveGenerator", "Randomly samples n from all possible swap-2 moves from a given lle grouping.")] 31 [Storable Class]31 [StorableType("156E5EAE-D929-41CE-844E-7DECE09CB74B")] 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/2521_ProblemRefactoring/HeuristicLab.Encodings.LinearLinkageEncoding/3.4/Moves/Swap/StochasticSwap2SingleMoveGenerator.cs
r16692 r16723 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.LinearLinkageEncoding { 31 31 [Item("StochasticSwap2SingleMoveGenerator", "Randomly samples a single from all possible swap-2 moves from a given lle grouping.")] 32 [Storable Class]32 [StorableType("381C1F6F-A61C-4886-A2A1-348445DF2C84")] 33 33 public class StochasticSwap2SingleMoveGenerator : Swap2MoveGenerator, IStochasticOperator, ISingleMoveGenerator { 34 34 public ILookupParameter<IRandom> RandomParameter { … … 37 37 38 38 [StorableConstructor] 39 protected StochasticSwap2SingleMoveGenerator( bool deserializing) : base(deserializing) { }39 protected StochasticSwap2SingleMoveGenerator(StorableConstructorFlag _) : base(_) { } 40 40 protected StochasticSwap2SingleMoveGenerator(StochasticSwap2SingleMoveGenerator original, Cloner cloner) : base(original, cloner) { } 41 41 public StochasticSwap2SingleMoveGenerator() -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.LinearLinkageEncoding/3.4/Moves/Swap/Swap2Move.cs
r16692 r16723 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.LinearLinkageEncoding { 27 27 [Item("Swap2Move", "Item that describes a swap-2 move.")] 28 [Storable Class]28 [StorableType("AEB203A4-03AD-4F86-B200-B0FA8253BCFF")] 29 29 public class Swap2Move : Item { 30 30 [Storable] … … 36 36 37 37 [StorableConstructor] 38 protected Swap2Move( bool deserializing) : base(deserializing) { }38 protected Swap2Move(StorableConstructorFlag _) : base(_) { } 39 39 protected Swap2Move(Swap2Move original, Cloner cloner) : base(original, cloner) { } 40 40 public Swap2Move() : this(-1, -1, null) { } -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.LinearLinkageEncoding/3.4/Moves/Swap/Swap2MoveGenerator.cs
r16692 r16723 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.LinearLinkageEncoding { 30 30 [Item("Swap2MoveGenerator", "Base class for all swap-2 move generators.")] 31 [Storable Class]31 [StorableType("E7319AAA-7D34-444A-9B63-8A5CF1F010B5")] 32 32 public abstract class Swap2MoveGenerator : SingleSuccessorOperator, ILinearLinkageSwap2MoveOperator, IMoveGenerator { 33 33 public override bool CanChangeName { … … 42 42 43 43 [StorableConstructor] 44 protected Swap2MoveGenerator( bool deserializing) : base(deserializing) { }44 protected Swap2MoveGenerator(StorableConstructorFlag _) : base(_) { } 45 45 protected Swap2MoveGenerator(Swap2MoveGenerator original, Cloner cloner) : base(original, cloner) { } 46 46 public Swap2MoveGenerator() -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.LinearLinkageEncoding/3.4/Moves/Swap/Swap2MoveMaker.cs
r16692 r16723 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. … … 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;30 using HEAL.Attic; 31 31 32 32 namespace HeuristicLab.Encodings.LinearLinkageEncoding { 33 33 [Item("Swap2MoveMaker", "Peforms a swap-2 move on a given grouping and updates the quality.")] 34 [Storable Class]34 [StorableType("2A1F7169-5DD5-4FB6-A25C-BBC4C06BB15A")] 35 35 public class Swap2MoveMaker : SingleSuccessorOperator, ILinearLinkageSwap2MoveOperator, IMoveMaker, ISingleObjectiveOperator { 36 36 public override bool CanChangeName { … … 51 51 52 52 [StorableConstructor] 53 protected Swap2MoveMaker( bool deserializing) : base(deserializing) { }53 protected Swap2MoveMaker(StorableConstructorFlag _) : base(_) { } 54 54 protected Swap2MoveMaker(Swap2MoveMaker original, Cloner cloner) : base(original, cloner) { } 55 55 public Swap2MoveMaker()
Note: See TracChangeset
for help on using the changeset viewer.