Ignore:
Timestamp:
04/19/10 21:21:38 (12 years ago)
Author:
abeham
Message:

added item attribute and storable attribute and renamed permutation multi crossover #976

File:
1 moved

Legend:

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

    r3418 r3419  
    2020#endregion
    2121
    22 using System;
    2322using HeuristicLab.Collections;
    24 using HeuristicLab.Common;
    2523using HeuristicLab.Core;
    2624using HeuristicLab.Operators;
     
    2826using HeuristicLab.Parameters;
    2927using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    30 using HeuristicLab.PluginInfrastructure;
    31 using System.Collections.Generic;
    3228
    3329namespace 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 {
    3533    public override bool CanChangeName {
    3634      get { return false; }
     
    4543
    4644    [StorableConstructor]
    47     private PermutationMultiCrossover(bool deserializing) : base(deserializing) { }
    48     public PermutationMultiCrossover()
     45    private MultiPermutationCrossover(bool deserializing) : base(deserializing) { }
     46    public MultiPermutationCrossover()
    4947      : base() {
    5048      Parameters.Add(new SubScopesLookupParameter<Permutation>("Parents", "The parent permutations which should be crossed."));
Note: See TracChangeset for help on using the changeset viewer.