Changeset 3419
- Timestamp:
- 04/19/10 21:21:38 (15 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Crossovers/MultiPermutationCrossover.cs
r3418 r3419 20 20 #endregion 21 21 22 using System;23 22 using HeuristicLab.Collections; 24 using HeuristicLab.Common;25 23 using HeuristicLab.Core; 26 24 using HeuristicLab.Operators; … … 28 26 using HeuristicLab.Parameters; 29 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 30 using HeuristicLab.PluginInfrastructure;31 using System.Collections.Generic;32 28 33 29 namespace HeuristicLab.Encodings.PermutationEncoding.Crossovers { 34 public class PermutationMultiCrossover : MultiCrossover<IPermutationCrossover>, IPermutationCrossover { 30 [Item("MultiPermutationCrossover", "Randomly selects and applies one of its crossovers every time it is called.")] 31 [StorableClass] 32 public class MultiPermutationCrossover : MultiCrossover<IPermutationCrossover>, IPermutationCrossover { 35 33 public override bool CanChangeName { 36 34 get { return false; } … … 45 43 46 44 [StorableConstructor] 47 private PermutationMultiCrossover(bool deserializing) : base(deserializing) { }48 public PermutationMultiCrossover()45 private MultiPermutationCrossover(bool deserializing) : base(deserializing) { } 46 public MultiPermutationCrossover() 49 47 : base() { 50 48 Parameters.Add(new SubScopesLookupParameter<Permutation>("Parents", "The parent permutations which should be crossed."));
Note: See TracChangeset
for help on using the changeset viewer.