- 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/Analyzers/BestKnapsackSolutionAnalyzer.cs
r4513 r4722 21 21 22 22 using System.Linq; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Data; … … 35 36 [Item("BestKnapsackSolutionAnalyzer", "An operator for analyzing the best solution for a Knapsack problem.")] 36 37 [StorableClass] 37 class BestKnapsackSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer {38 public class BestKnapsackSolutionAnalyzer : SingleSuccessorOperator, IAnalyzer { 38 39 public LookupParameter<BoolValue> MaximizationParameter { 39 40 get { return (LookupParameter<BoolValue>)Parameters["Maximization"]; } … … 67 68 } 68 69 70 [StorableConstructor] 71 protected BestKnapsackSolutionAnalyzer(bool deserializing) : base(deserializing) { } 72 protected BestKnapsackSolutionAnalyzer(BestKnapsackSolutionAnalyzer original, Cloner cloner) : base(original, cloner) { } 69 73 public BestKnapsackSolutionAnalyzer() 70 74 : base() { … … 80 84 Parameters.Add(new LookupParameter<DoubleValue>("BestKnownQuality", "The quality of the best known solution.")); 81 85 Parameters.Add(new LookupParameter<BinaryVector>("BestKnownSolution", "The best known solution.")); 86 } 87 88 public override IDeepCloneable Clone(Cloner cloner) { 89 return new BestKnapsackSolutionAnalyzer(this, cloner); 82 90 } 83 91
Note: See TracChangeset
for help on using the changeset viewer.