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

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