- 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.Problems.Knapsack/3.3/Evaluators/KnapsackEvaluator.cs
r4513 r4722 21 21 22 22 using System; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Data; … … 68 69 } 69 70 71 [StorableConstructor] 72 protected KnapsackEvaluator(bool deserializing) : base(deserializing) { } 73 protected KnapsackEvaluator(KnapsackEvaluator original, Cloner cloner) : base(original, cloner) { } 70 74 public KnapsackEvaluator() 71 75 : base() { … … 79 83 Parameters.Add(new LookupParameter<IntArray>("Values", "The values of the items.")); 80 84 Parameters.Add(new LookupParameter<DoubleValue>("Penalty", "The penalty value for each unit of overweight.")); 85 } 86 87 public override IDeepCloneable Clone(Cloner cloner) { 88 return new KnapsackEvaluator(this, cloner); 81 89 } 82 90
Note: See TracChangeset
for help on using the changeset viewer.