Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/03/17 18:41:01 (7 years ago)
Author:
gkronber
Message:

#2520 work in progress to support loading/saving of all samples

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceOverhaul/HeuristicLab.Problems.Knapsack/3.3/SimilarityCalculators/KnapsackSimilarityCalculator.cs

    r12070 r14713  
    2525using HeuristicLab.Encodings.BinaryVectorEncoding;
    2626using HeuristicLab.Optimization.Operators;
     27using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2728
    2829namespace HeuristicLab.Problems.Knapsack {
     
    3435  /// </remarks>
    3536  [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.")]
     37  [StorableType("E335A90A-13BB-48C6-9BD3-4D183E8EB370")]
    3638  public sealed class KnapsackSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator {
    3739    protected override bool IsCommutative { get { return true; } }
Note: See TracChangeset for help on using the changeset viewer.