Changeset 4667 for branches/CloningRefactoring/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/InversionMoveSoftTabuCriterion.cs
- Timestamp:
- 10/29/10 17:37:02 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/CloningRefactoring/HeuristicLab.Encodings.PermutationEncoding/3.3/Moves/TwoOpt/InversionMoveSoftTabuCriterion.cs
r4068 r4667 27 27 using HeuristicLab.Parameters; 28 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 using HeuristicLab.Common; 29 30 30 31 namespace HeuristicLab.Encodings.PermutationEncoding { … … 65 66 } 66 67 68 [StorableConstructor] 69 protected InversionMoveSoftTabuCriterion(bool deserializing) : base(deserializing) { } 70 protected InversionMoveSoftTabuCriterion(InversionMoveSoftTabuCriterion original, Cloner cloner) : base(original, cloner) { } 67 71 public InversionMoveSoftTabuCriterion() 68 72 : base() { … … 74 78 Parameters.Add(new ValueLookupParameter<BoolValue>("Maximization", "True if the problem is a maximization problem, else if it is a minimization problem.")); 75 79 Parameters.Add(new LookupParameter<DoubleValue>("MoveQuality", "The quality of the current move.")); 80 } 81 82 public override IDeepCloneable Clone(Cloner cloner) { 83 return new InversionMoveSoftTabuCriterion(this, cloner); 76 84 } 77 85
Note: See TracChangeset
for help on using the changeset viewer.