Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/04/15 23:58:27 (10 years ago)
Author:
abeham
Message:

#2319:

  • Removed LargestGroupFirstCrossover (slow and not mentioned in the literature)
  • Added manipulators
  • Added multi-operators
Location:
branches/LinearLinkage/HeuristicLab.Encodings.LinearLinkageEncoding/3.3/ShakingOperators
Files:
1 deleted
1 moved

Legend:

Unmodified
Added
Removed
  • branches/LinearLinkage/HeuristicLab.Encodings.LinearLinkageEncoding/3.3/ShakingOperators/LLEShakingOperator.cs

    r12285 r12286  
    3434  /// A shaking operator for VNS.
    3535  /// </summary>
    36   [Item("Split Group Shaking Operator", "A shaking operator for VNS which uses split group manipulators to perform the shaking.")]
     36  [Item("LLE Shaking Operator", "A shaking operator for VNS which LLE manipulators to perform the shaking.")]
    3737  [StorableClass]
    38   public class SplitGroupShakingOperator : ShakingOperator<ILinearLinkageManipulator>, IStochasticOperator, ILinearLinkageShakingOperator {
     38  public class LLEShakingOperator : ShakingOperator<ILinearLinkageManipulator>, IStochasticOperator, ILinearLinkageShakingOperator {
    3939
    4040    public ILookupParameter<IRandom> RandomParameter {
     
    5151
    5252    [StorableConstructor]
    53     protected SplitGroupShakingOperator(bool deserializing) : base(deserializing) { }
    54     protected SplitGroupShakingOperator(SplitGroupShakingOperator original, Cloner cloner) : base(original, cloner) { }
    55     public SplitGroupShakingOperator()
     53    protected LLEShakingOperator(bool deserializing) : base(deserializing) { }
     54    protected LLEShakingOperator(LLEShakingOperator original, Cloner cloner) : base(original, cloner) { }
     55    public LLEShakingOperator()
    5656      : base() {
    5757      Parameters.Add(new LookupParameter<LinearLinkage>("LLE", "The encoding to shake."));
    5858      Parameters.Add(new LookupParameter<IRandom>("Random", "The random number generator that will be used for stochastic shaking operators."));
    59       for (var i = 1; i < 6; i++) Operators.Add(new SplitGroupManipulator(i));
     59      for (var i = 1; i < 4; i++) {
     60        Operators.Add(new MoveItemManipulator(i * 2));
     61        Operators.Add(new SwapItemManipulator(i * 2));
     62        Operators.Add(new SplitGroupManipulator(i * 2));
     63        Operators.Add(new MergeGroupManipulator(i * 2));
     64      }
    6065    }
    6166
    6267    public override IDeepCloneable Clone(Cloner cloner) {
    63       return new SplitGroupShakingOperator(this, cloner);
     68      return new LLEShakingOperator(this, cloner);
    6469    }
    6570
Note: See TracChangeset for help on using the changeset viewer.