- Timestamp:
- 06/02/13 04:26:26 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.BinPacking/HeuristicLab.Problems.BinPacking/3.3/Shapes/CuboidPackingShape.cs
r9440 r9563 130 130 //Using "Clustered-Area-Height"-comparison as descr 131 131 132 int result = this.MultipliedMeasures.CompareTo(other.MultipliedMeasures); 132 int result = (this.Width * this.Depth).CompareTo (other.Width * other.Depth); 133 134 if (result == 0) 135 result = this.MultipliedMeasures.CompareTo(other.MultipliedMeasures); 133 136 //if (result == 0) { 134 137 // result = this.Depth.CompareTo(other.Depth) + this.Width.CompareTo(other.Width); 135 138 // if (result == 0) { 136 139 // result = this.Width.CompareTo(other.Width); 137 138 140 if (result == 0) 141 result = this.Height.CompareTo(other.Height); 139 142 // } 140 143 //}
Note: See TracChangeset
for help on using the changeset viewer.