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

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