Property | Type | Description | |
---|---|---|---|
$boxes | DVDoug\BoxPacker\BoxList | List of box sizes available to pack items into |
Method | Description | |
---|---|---|
__construct ( DVDoug\BoxPacker\BoxList $boxList ) | Constructor | |
redistributeWeight ( DVDoug\BoxPacker\PackedBoxList $originalBoxes ) : DVDoug\BoxPacker\PackedBoxList | Given a solution set of packed boxes, repack them to achieve optimum weight distribution |
public __construct ( DVDoug\BoxPacker\BoxList $boxList ) | ||
$boxList | DVDoug\BoxPacker\BoxList |
public redistributeWeight ( DVDoug\BoxPacker\PackedBoxList $originalBoxes ) : DVDoug\BoxPacker\PackedBoxList | ||
$originalBoxes | DVDoug\BoxPacker\PackedBoxList | |
return | DVDoug\BoxPacker\PackedBoxList |