Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/04/11 23:15:21 (13 years ago)
Author:
abeham
Message:

#1494

  • Made ULX crossover sealed
  • PermutationEqualityComparer
    • Now derives from EqualityComparer<Permutation>
    • Fixed the GetHashCode function to return the same hash value when the objects are equal according to the equals function
    • Created a unit test to test this comparer
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Crossovers/UniformLikeCrossover.cs

    r6342 r6507  
    2929  [Item("UniformLikeCrossover", "The ULX crossover tries to maintain the position in the permutation. It randomly chooses from left to right one of its parents' alleles at each position. Missing entries are then filled randomly later. It is described in Tate, D. M. and Smith, A. E. 1995. A genetic approach to the quadratic assignment problem. Computers & Operations Research, vol. 22, pp. 73-83.")]
    3030  [StorableClass]
    31   public class UniformLikeCrossover : PermutationCrossover {
     31  public sealed class UniformLikeCrossover : PermutationCrossover {
    3232    [StorableConstructor]
    3333    protected UniformLikeCrossover(bool deserializing) : base(deserializing) { }
Note: See TracChangeset for help on using the changeset viewer.