Changeset 16956 for branches/2457_ExpertSystem/HeuristicLab.Encodings.PermutationEncoding/3.3/SimilarityCalculators/HammingSimilarityCalculator.cs
- Timestamp:
- 05/15/19 13:36:51 (5 years ago)
- Location:
- branches/2457_ExpertSystem/HeuristicLab.Encodings.PermutationEncoding
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2457_ExpertSystem/HeuristicLab.Encodings.PermutationEncoding
- Property svn:mergeinfo changed
-
branches/2457_ExpertSystem/HeuristicLab.Encodings.PermutationEncoding/3.3/SimilarityCalculators/HammingSimilarityCalculator.cs
r15256 r16956 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 7Heuristic 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. … … 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Optimization.Operators; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Encodings.PermutationEncoding { 29 29 [Item("Hamming Similarity Calculator for Permutation", "An operator that performs similarity calculation between two permutation-encoded solutions.")] 30 [Storable Class]30 [StorableType("CD7CC097-C46E-42A5-82BF-E47CEB945B9B")] 31 31 public sealed class HammingSimilarityCalculator : SingleObjectiveSolutionSimilarityCalculator { 32 32 protected override bool IsCommutative { get { return true; } } 33 33 34 34 [StorableConstructor] 35 private HammingSimilarityCalculator( bool deserializing) : base(deserializing) { }35 private HammingSimilarityCalculator(StorableConstructorFlag _) : base(_) { } 36 36 private HammingSimilarityCalculator(HammingSimilarityCalculator original, Cloner cloner) : base(original, cloner) { } 37 37 public HammingSimilarityCalculator() : base() { }
Note: See TracChangeset
for help on using the changeset viewer.