- Timestamp:
- 07/07/19 23:40:10 (5 years ago)
- Location:
- stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Problems.Knapsack/3.3/SimilarityCalculators/KnapsackSimilarityCalculator.cs
r15584 r17097 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 21 21 22 22 using System; 23 using HEAL.Attic; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; … … 37 38 [NonDiscoverableType] 38 39 [Obsolete("Please use the HammingSimilarityCalculator in the HeuristicLab.Encodings.BinaryVector plugin.")] 40 [StorableType("27FD4466-6FDC-4420-A606-100FC0CDABF6")] 39 41 internal sealed class KnapsackSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator { 40 42 protected override bool IsCommutative { get { return true; } } 41 43 42 private KnapsackSimilarityCalculator(bool deserializing) : base(deserializing) { } 44 [StorableConstructor] 45 private KnapsackSimilarityCalculator(StorableConstructorFlag _) : base(_) { } 43 46 private KnapsackSimilarityCalculator(KnapsackSimilarityCalculator original, Cloner cloner) : base(original, cloner) { } 44 47 public KnapsackSimilarityCalculator() : base() { }
Note: See TracChangeset
for help on using the changeset viewer.