Changeset 4722 for trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeOpt/StochasticSingleInsertionMoveGenerator.cs
- Timestamp:
- 11/06/10 01:56:04 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:mergeinfo changed
/branches/CloningRefactoring (added) merged: 4656-4693,4696-4697,4711-4714,4718-4719
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/ThreeOpt/StochasticSingleInsertionMoveGenerator.cs
r4068 r4722 22 22 using System; 23 23 using System.Collections.Generic; 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; 25 26 using HeuristicLab.Data; … … 44 45 } 45 46 46 public StochasticInsertionMultiMoveGenerator() { 47 [StorableConstructor] 48 protected StochasticInsertionMultiMoveGenerator(bool deserializing) : base(deserializing) { } 49 protected StochasticInsertionMultiMoveGenerator(StochasticInsertionMultiMoveGenerator original, Cloner cloner) : base(original, cloner) { } 50 public StochasticInsertionMultiMoveGenerator() : base() { 47 51 Parameters.Add(new LookupParameter<IRandom>("Random", "The random number generator to use.")); 48 52 Parameters.Add(new ValueLookupParameter<IntValue>("SampleSize", "The number of moves to generate.")); 53 } 54 55 public override IDeepCloneable Clone(Cloner cloner) { 56 return new StochasticInsertionMultiMoveGenerator(this, cloner); 49 57 } 50 58
Note: See TracChangeset
for help on using the changeset viewer.