Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves/OneBitflipMove/ExhaustiveOneBitflipMoveGenerator.cs
r16453 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Optimization; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 27 27 namespace HeuristicLab.Encodings.BinaryVectorEncoding { 28 28 [Item("ExhaustiveBitflipMoveGenerator", "Generates all possible one bitflip moves from a given binaryVector.")] 29 [Storable Class]29 [StorableType("15F17361-2334-434A-904D-EF9426DEF32F")] 30 30 public sealed class ExhaustiveOneBitflipMoveGenerator : OneBitflipMoveGenerator, IExhaustiveMoveGenerator { 31 31 [StorableConstructor] 32 private ExhaustiveOneBitflipMoveGenerator( bool deserializing) : base(deserializing) { }32 private ExhaustiveOneBitflipMoveGenerator(StorableConstructorFlag _) : base(_) { } 33 33 private ExhaustiveOneBitflipMoveGenerator(ExhaustiveOneBitflipMoveGenerator original, Cloner cloner) : base(original, cloner) { } 34 34 public ExhaustiveOneBitflipMoveGenerator() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves/OneBitflipMove/OneBitflipMove.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.BinaryVectorEncoding { 27 27 [Item("OneBitflipMove", "Item that describes a one bitflip move.")] 28 [Storable Class]28 [StorableType("BFF3ABCF-9C7B-41F8-8861-B2164D92FD89")] 29 29 public class OneBitflipMove : OneIndexMove { 30 30 [StorableConstructor] 31 protected OneBitflipMove( bool deserializing) : base(deserializing) { }31 protected OneBitflipMove(StorableConstructorFlag _) : base(_) { } 32 32 protected OneBitflipMove(OneBitflipMove original, Cloner cloner) : base(original, cloner) { } 33 33 public OneBitflipMove() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves/OneBitflipMove/OneBitflipMoveAttribute.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.BinaryVectorEncoding { 27 27 [Item("OneBitflipMoveAttribute", "Describes the attributes (move quality and index) of a single bitflip move.")] 28 [Storable Class]28 [StorableType("D5CD3F76-E016-417F-B916-7666683A42D7")] 29 29 public class OneBitflipMoveAttribute : Item { 30 30 [Storable] … … 34 34 35 35 [StorableConstructor] 36 protected OneBitflipMoveAttribute( bool deserializing) : base(deserializing) { }36 protected OneBitflipMoveAttribute(StorableConstructorFlag _) : base(_) { } 37 37 protected OneBitflipMoveAttribute(OneBitflipMoveAttribute original, Cloner cloner) 38 38 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves/OneBitflipMove/OneBitflipMoveGenerator.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.BinaryVectorEncoding { 30 30 [Item("OneBitflipMoveGenerator", "Base class for all one bitflip move generators.")] 31 [Storable Class]31 [StorableType("600CE405-5ADC-471A-966B-27965190AF73")] 32 32 public abstract class OneBitflipMoveGenerator : SingleSuccessorOperator, IOneBitflipMoveOperator, IMoveGenerator { 33 33 public override bool CanChangeName { … … 45 45 46 46 [StorableConstructor] 47 protected OneBitflipMoveGenerator( bool deserializing) : base(deserializing) { }47 protected OneBitflipMoveGenerator(StorableConstructorFlag _) : base(_) { } 48 48 protected OneBitflipMoveGenerator(OneBitflipMoveGenerator original, Cloner cloner) : base(original, cloner) { } 49 49 public OneBitflipMoveGenerator() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves/OneBitflipMove/OneBitflipMoveMaker.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.BinaryVectorEncoding { 31 31 [Item("OneBitflipMoveMaker", "Peforms a one bitflip move on a given BitVector and updates the quality.")] 32 [Storable Class]32 [StorableType("13029FD8-4A99-4EA6-A4AA-8877B86582B8")] 33 33 public class OneBitflipMoveMaker : SingleSuccessorOperator, IOneBitflipMoveOperator, IMoveMaker, ISingleObjectiveOperator { 34 34 public override bool CanChangeName { … … 49 49 50 50 [StorableConstructor] 51 protected OneBitflipMoveMaker( bool deserializing) : base(deserializing) { }51 protected OneBitflipMoveMaker(StorableConstructorFlag _) : base(_) { } 52 52 protected OneBitflipMoveMaker(OneBitflipMoveMaker original, Cloner cloner) : base(original, cloner) { } 53 53 public OneBitflipMoveMaker() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves/OneBitflipMove/OneBitflipMoveTabuChecker.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.BinaryVectorEncoding { 31 31 [Item("OneBitflipMoveTabuChecker", "Prevents peforming a one bitflip move again.")] 32 [Storable Class]32 [StorableType("27523531-D19E-47ED-9397-F7457D41B85B")] 33 33 public class OneBitflipMoveTabuChecker : SingleSuccessorOperator, IOneBitflipMoveOperator, ITabuChecker { 34 34 public override bool CanChangeName { … … 63 63 64 64 [StorableConstructor] 65 protected OneBitflipMoveTabuChecker( bool deserializing) : base(deserializing) { }65 protected OneBitflipMoveTabuChecker(StorableConstructorFlag _) : base(_) { } 66 66 protected OneBitflipMoveTabuChecker(OneBitflipMoveTabuChecker original, Cloner cloner) : base(original, cloner) { } 67 67 public OneBitflipMoveTabuChecker() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves/OneBitflipMove/OneBitflipMoveTabuMaker.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.BinaryVectorEncoding { 29 29 [Item("OneBitflipMoveTabuMaker", "Declares a given one bitflip move as tabu, by adding its attributes to the tabu list. It also removes the oldest entry in the tabu list when its size is greater than tenure.")] 30 [Storable Class]30 [StorableType("F0C4D51D-EF93-426D-8D94-867BE0DBE1F6")] 31 31 public class OneBitflipMoveTabuMaker : TabuMaker, IOneBitflipMoveOperator { 32 32 public ILookupParameter<BinaryVector> BinaryVectorParameter { … … 38 38 39 39 [StorableConstructor] 40 protected OneBitflipMoveTabuMaker( bool deserializing) : base(deserializing) { }40 protected OneBitflipMoveTabuMaker(StorableConstructorFlag _) : base(_) { } 41 41 protected OneBitflipMoveTabuMaker(OneBitflipMoveTabuMaker original, Cloner cloner) : base(original, cloner) { } 42 42 public OneBitflipMoveTabuMaker() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves/OneBitflipMove/StochasticOneBitflipMultiMoveGenerator.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.BinaryVectorEncoding { 31 31 [Item("StochasticOneBitflipMultiMoveGenerator", "Randomly samples n from all possible one bitflip moves from a given BinaryVector.")] 32 [Storable Class]32 [StorableType("11A9E43A-6291-4F9D-90AB-DC205923EE68")] 33 33 public class StochasticOneBitflipMultiMoveGenerator : OneBitflipMoveGenerator, IStochasticOperator, IMultiMoveGenerator { 34 34 public ILookupParameter<IRandom> RandomParameter { … … 45 45 46 46 [StorableConstructor] 47 protected StochasticOneBitflipMultiMoveGenerator( bool deserializing) : base(deserializing) { }47 protected StochasticOneBitflipMultiMoveGenerator(StorableConstructorFlag _) : base(_) { } 48 48 protected StochasticOneBitflipMultiMoveGenerator(StochasticOneBitflipMultiMoveGenerator original, Cloner cloner) : base(original, cloner) { } 49 49 public StochasticOneBitflipMultiMoveGenerator() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves/OneBitflipMove/StochasticOneBitflipSingleMoveGenerator.cs
r16453 r16462 24 24 using HeuristicLab.Optimization; 25 25 using HeuristicLab.Parameters; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Encodings.BinaryVectorEncoding { 29 29 [Item("StochasticOneBitflipSingleMoveGenerator", "Randomly samples a single from all possible one bitflip moves from a given BinaryVector.")] 30 [Storable Class]30 [StorableType("9EFDBD19-B9AF-4820-8DA9-EE04370D7D8B")] 31 31 public class StochasticOneBitflipSingleMoveGenerator : OneBitflipMoveGenerator, IStochasticOperator, ISingleMoveGenerator { 32 32 public ILookupParameter<IRandom> RandomParameter { … … 35 35 36 36 [StorableConstructor] 37 protected StochasticOneBitflipSingleMoveGenerator( bool deserializing) : base(deserializing) { }37 protected StochasticOneBitflipSingleMoveGenerator(StorableConstructorFlag _) : base(_) { } 38 38 protected StochasticOneBitflipSingleMoveGenerator(StochasticOneBitflipSingleMoveGenerator original, Cloner cloner) : base(original, cloner) { } 39 39 public StochasticOneBitflipSingleMoveGenerator() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Moves/OneIndexMove.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.BinaryVectorEncoding { 27 27 [Item("OneIndexMove", "A move on a binary vector that is specified by 1 index")] 28 [Storable Class]28 [StorableType("C7948F7F-EC47-4752-9E18-9299123189D1")] 29 29 public class OneIndexMove : Item { 30 30 [Storable] … … 34 34 35 35 [StorableConstructor] 36 protected OneIndexMove( bool deserializing) : base(deserializing) { }36 protected OneIndexMove(StorableConstructorFlag _) : base(_) { } 37 37 protected OneIndexMove(OneIndexMove original, Cloner cloner) 38 38 : base(original, cloner) {
Note: See TracChangeset
for help on using the changeset viewer.