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.2D/3.3/RectangularPackingShape.cs

    r13606 r14043  
    3333  [Item("RectangularPackingShape", "Represents the rectangular measures (width, height) of a two-dimensional bin-packing object.")]
    3434  [StorableClass]
    35   public abstract class RectangularPackingShape : PackingShape<TwoDimensionalPacking>, IRegularPackingShape, IComparable<RectangularPackingShape> {
     35  public abstract class RectangularPackingShape : PackingShape<TwoDimensionalPacking>, IComparable<RectangularPackingShape> {
    3636    public int Height {
    3737      get { return ((IFixedValueParameter<IntValue>)Parameters["Height"]).Value.Value; }
     
    7373    }
    7474
    75     public int CompareTo(object obj) {
     75    public override int CompareTo(object obj) {
    7676      var other = obj as RectangularPackingShape;
    7777      if (other != null) return CompareTo(other);
     
    118118    }
    119119
    120     public void ApplyHorizontalOrientation() {
     120    public override void ApplyHorizontalOrientation() {
    121121      if (Width < Height) {
    122122        var aux = Width;
Note: See TracChangeset for help on using the changeset viewer.