Changeset 9729 for branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers
- Timestamp:
- 07/20/13 13:15:49 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Analysis.AlgorithmBehavior/HeuristicLab.Analysis.AlgorithmBehavior.Analyzers/3.3/SolutionsCaching/PermutationWrapperEqualityComparer.cs
r9723 r9729 22 22 using System.Collections.Generic; 23 23 using HeuristicLab.Encodings.PermutationEncoding; 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 24 25 using HeuristicLab.PluginInfrastructure; 25 26 26 27 namespace HeuristicLab.Analysis.AlgorithmBehavior.Analyzers { 27 28 [NonDiscoverableType] 29 [StorableClass] 28 30 public class PermutationWrapperEqualityComparer : EqualityComparer<PermutationWrapper> { 29 31 PermutationEqualityComparer peComp = new PermutationEqualityComparer(); 32 33 public PermutationWrapperEqualityComparer() { } 34 35 [StorableConstructor] 36 protected PermutationWrapperEqualityComparer(bool deserializing) { 37 if (deserializing) { 38 peComp = new PermutationEqualityComparer(); 39 } 40 } 30 41 31 42 public override bool Equals(PermutationWrapper x, PermutationWrapper y) {
Note: See TracChangeset
for help on using the changeset viewer.