Ignore:
Timestamp:
07/20/16 14:02:36 (5 years ago)
Author:
gkronber
Message:

#1966: refactoring of bin packing implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.2D/3.3/MoveEvaluators/PackingMoveEvaluator2DPS.cs

    r14049 r14128  
    2929  [Item("PackingSequenceMoveEvaluator2D", "Class for evaluating packing moves for 2dimensional problems.")]
    3030  [StorableClass]
    31   public class PackingMoveEvaluator2DPS : PackingMoveEvaluator<PackingPosition, PackingShape, PackingItem>, ISingleObjectiveMoveEvaluator, IPackingSequenceMoveOperator, I2DOperator {
     31  public class PackingMoveEvaluator2DPS<T> : PackingMoveEvaluator<PackingPosition, PackingShape, PackingItem, T>, ISingleObjectiveMoveEvaluator, IPackingSequenceMoveOperator, I2DOperator
     32  where T : class, IItem {
    3233    [StorableConstructor]
    3334    protected PackingMoveEvaluator2DPS(bool deserializing) : base(deserializing) { }
    34     protected PackingMoveEvaluator2DPS(PackingMoveEvaluator2DPS original, Cloner cloner)
     35    protected PackingMoveEvaluator2DPS(PackingMoveEvaluator2DPS<T> original, Cloner cloner)
    3536      : base(original, cloner) {
    3637    }
    3738    public override IDeepCloneable Clone(Cloner cloner) {
    38       return new PackingMoveEvaluator2DPS(this, cloner);
     39      return new PackingMoveEvaluator2DPS<T>(this, cloner);
    3940    }
    4041    public PackingMoveEvaluator2DPS()
Note: See TracChangeset for help on using the changeset viewer.