Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/12/16 18:02:28 (8 years ago)
Author:
gkronber
Message:

#1966: removed interface IRegularPacking shape (=> all our packing shapes are regular)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking.3D/3.3/CuboidPackingShape.cs

    r13608 r14043  
    3232  [Item("CuboidPackingShape", "Represents the cuboid measures (width, height, depth) of a three-dimensional cuboidic bin-packing object.")]
    3333  [StorableClass]
    34   public abstract class CuboidPackingShape : PackingShape<ThreeDimensionalPacking>, IRegularPackingShape, IComparable<CuboidPackingShape> {
     34  public abstract class CuboidPackingShape : PackingShape<ThreeDimensionalPacking>, IComparable<CuboidPackingShape> {
    3535    public IFixedValueParameter<IntValue> HeightParameter {
    3636      get { return (IFixedValueParameter<IntValue>)Parameters["Height"]; }
     
    110110    }
    111111
    112     public int CompareTo(object obj) {
     112    public override int CompareTo(object obj) {
    113113      var other = (CuboidPackingShape)obj;
    114114      if (other != null) return CompareTo(other);
     
    179179    }
    180180
    181     public void ApplyHorizontalOrientation() {
     181    public override void ApplyHorizontalOrientation() {
    182182      if (Width > Depth) {
    183183        var aux = Width;
Note: See TracChangeset for help on using the changeset viewer.