Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Scramble
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Scramble
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Scramble/ScrambleMove.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.PermutationEncoding { 27 27 [Item("ScrambleMove", "Item that describes a scramble move.")] 28 [Storable Class]28 [StorableType("DBE9C007-10AA-4B8A-8092-23C9ACBA411A")] 29 29 public sealed class ScrambleMove : Item { 30 30 [Storable] … … 34 34 35 35 [StorableConstructor] 36 private ScrambleMove( bool deserializing) : base(deserializing) { }36 private ScrambleMove(StorableConstructorFlag _) : base(_) { } 37 37 private ScrambleMove(ScrambleMove original, Cloner cloner) 38 38 : base(original, cloner) { -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Scramble/ScrambleMoveGenerator.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.PermutationEncoding { 30 30 [Item("ScrambleMoveGenerator", "Base class for all scramble move generators.")] 31 [Storable Class]31 [StorableType("053A3BFC-F5F1-4893-B5E8-BCB452D18FC1")] 32 32 public abstract class ScrambleMoveGenerator : SingleSuccessorOperator, IPermutationScrambleMoveOperator, IMoveGenerator { 33 33 public override bool CanChangeName { … … 42 42 43 43 [StorableConstructor] 44 protected ScrambleMoveGenerator( bool deserializing) : base(deserializing) { }44 protected ScrambleMoveGenerator(StorableConstructorFlag _) : base(_) { } 45 45 protected ScrambleMoveGenerator(ScrambleMoveGenerator original, Cloner cloner) : base(original, cloner) { } 46 46 public ScrambleMoveGenerator() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Scramble/ScrambleMoveMaker.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.PermutationEncoding { 31 31 [Item("ScrambleMoveMaker", "Peforms a scramble move on a given permutation and updates the quality.")] 32 [Storable Class]32 [StorableType("5DC6735A-F109-4D86-98CF-B8CCB648D3D3")] 33 33 public class ScrambleMoveMaker : SingleSuccessorOperator, IPermutationScrambleMoveOperator, IMoveMaker, ISingleObjectiveOperator { 34 34 public override bool CanChangeName { … … 49 49 50 50 [StorableConstructor] 51 protected ScrambleMoveMaker( bool deserializing) : base(deserializing) { }51 protected ScrambleMoveMaker(StorableConstructorFlag _) : base(_) { } 52 52 protected ScrambleMoveMaker(ScrambleMoveMaker original, Cloner cloner) : base(original, cloner) { } 53 53 public ScrambleMoveMaker() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/Scramble/StochasticScrambleMultiMoveGenerator.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.Encodings.PermutationEncoding { 32 32 [Item("StochasticScrambleMultiMoveGenerator", "Randomly samples n from all possible scramble moves from a given permutation.")] 33 [Storable Class]33 [StorableType("ECC7549D-404B-459A-A01E-6E00A53E58F5")] 34 34 public class StochasticScrambleMultiMoveGenerator : ScrambleMoveGenerator, IMultiMoveGenerator, IStochasticOperator { 35 35 public ILookupParameter<IRandom> RandomParameter { … … 46 46 47 47 [StorableConstructor] 48 protected StochasticScrambleMultiMoveGenerator( bool deserializing) : base(deserializing) { }48 protected StochasticScrambleMultiMoveGenerator(StorableConstructorFlag _) : base(_) { } 49 49 protected StochasticScrambleMultiMoveGenerator(StochasticScrambleMultiMoveGenerator original, Cloner cloner) : base(original, cloner) { } 50 50 public StochasticScrambleMultiMoveGenerator()
Note: See TracChangeset
for help on using the changeset viewer.