Changeset 15217 for stable/HeuristicLab.Problems.Knapsack
- Timestamp:
- 07/12/17 21:02:01 (7 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 14412,14475-14476,14659-14660,14663,14912,15050,15067,15069,15079,15162,15166,15172-15173
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.Knapsack/3.3/KnapsackProblem.cs
r14186 r15217 251 251 Operators.Add(new KnapsackPathRelinker()); 252 252 Operators.Add(new KnapsackSimultaneousPathRelinker()); 253 Operators.Add(new KnapsackSimilarityCalculator());253 Operators.Add(new HammingSimilarityCalculator()); 254 254 Operators.Add(new QualitySimilarityCalculator()); 255 Operators.Add(new NoSimilarityCalculator());256 255 257 256 Operators.Add(new BestKnapsackSolutionAnalyzer()); -
stable/HeuristicLab.Problems.Knapsack/3.3/SimilarityCalculators/KnapsackSimilarityCalculator.cs
r14186 r15217 25 25 using HeuristicLab.Encodings.BinaryVectorEncoding; 26 26 using HeuristicLab.Optimization.Operators; 27 using HeuristicLab.PluginInfrastructure; 27 28 28 29 namespace HeuristicLab.Problems.Knapsack { … … 34 35 /// </remarks> 35 36 [Item("KnapsackSimilarityCalculator", "An operator that performs similarity calculation between two knapsack solutions. The operator calculates the similarity based on the number of elements the two solutions have in common.")] 36 public sealed class KnapsackSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator { 37 [NonDiscoverableType] 38 [Obsolete("Please use the HammingSimilarityCalculator in the HeuristicLab.Encodings.BinaryVector plugin.")] 39 internal sealed class KnapsackSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator { 37 40 protected override bool IsCommutative { get { return true; } } 38 41
Note: See TracChangeset
for help on using the changeset viewer.