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/PackingMoveEvaluator2DGV.cs

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