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.3D/3.3/MoveEvaluators/PackingMoveEvaluator3DGV.cs

    r14049 r14128  
    3030  [Item("GroupingVectorMoveEvaluator3D", "Class for evaluating packing moves for 3dimensional problems.")]
    3131  [StorableClass]
    32   public class PackingMoveEvaluator3DGV : PackingMoveEvaluator<PackingPosition, PackingShape, PackingItem>, ISingleObjectiveMoveEvaluator, IGroupingVectorMoveOperator, I3DOperator {
     32  public class PackingMoveEvaluator3DGV<M> : PackingMoveEvaluator<PackingPosition, PackingShape, PackingItem, M>, ISingleObjectiveMoveEvaluator, IGroupingVectorMoveOperator, I3DOperator
     33  where M: class, IItem {
    3334    [StorableConstructor]
    3435    protected PackingMoveEvaluator3DGV(bool deserializing) : base(deserializing) { }
    35     protected PackingMoveEvaluator3DGV(PackingMoveEvaluator3DGV original, Cloner cloner)
     36    protected PackingMoveEvaluator3DGV(PackingMoveEvaluator3DGV<M> original, Cloner cloner)
    3637      : base(original, cloner) {
    3738    }
    3839    public override IDeepCloneable Clone(Cloner cloner) {
    39       return new PackingMoveEvaluator3DGV(this, cloner);
     40      return new PackingMoveEvaluator3DGV<M>(this, cloner);
    4041    }
    4142    public PackingMoveEvaluator3DGV()
Note: See TracChangeset for help on using the changeset viewer.