Line | |
---|
1 | using HEAL.Attic;
|
---|
2 | #region License Information
|
---|
3 | /* HeuristicLab
|
---|
4 | * Copyright (C) Joseph Helm and Heuristic and Evolutionary Algorithms Laboratory (HEAL)
|
---|
5 | *
|
---|
6 | * This file is part of HeuristicLab.
|
---|
7 | *
|
---|
8 | * HeuristicLab is free software: you can redistribute it and/or modify
|
---|
9 | * it under the terms of the GNU General Public License as published by
|
---|
10 | * the Free Software Foundation, either version 3 of the License, or
|
---|
11 | * (at your option) any later version.
|
---|
12 | *
|
---|
13 | * HeuristicLab is distributed in the hope that it will be useful,
|
---|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
16 | * GNU General Public License for more details.
|
---|
17 | *
|
---|
18 | * You should have received a copy of the GNU General Public License
|
---|
19 | * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
|
---|
20 | */
|
---|
21 | #endregion
|
---|
22 |
|
---|
23 | namespace HeuristicLab.Problems.BinPacking {
|
---|
24 | [StorableType("a0f46e8d-d18f-43c4-8b7d-66db0659b230")]
|
---|
25 | // a packing item is one of the items that needs to be located in one of the packing bins (containers)
|
---|
26 | public interface IPackingItem : IPackingShape {
|
---|
27 | double Weight { get; set; }
|
---|
28 | int Material { get; set; }
|
---|
29 | /// <summary>
|
---|
30 | /// Returns true if the "other" item can be stacked on this item.
|
---|
31 | /// </summary>
|
---|
32 | /// <param name="other"></param>
|
---|
33 | /// <returns></returns>
|
---|
34 | bool SupportsStacking(IPackingItem other);
|
---|
35 | }
|
---|
36 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.