Packs the biggest object into the emptiest bin.
Definition at line 164 of file packing.py.
Inherits lalburst.packing.Packer.
Public Member Functions | |
def | pack (self, size, obj) |
Pack an object of given size into the bins. More... | |
def | packlist (self, size_object_pairs) |
Pack a list of (size, object) tuples into the bins. More... | |
![]() | |
def | __init__ (self, bins) |
Set the list of bins on which we shall operate. More... | |
def | pack (self, size, obj) |
Pack an object of given size into the bins. More... | |
def | packlist (self, size_object_pairs) |
Pack a list of (size, object) tuples into the bins. More... | |
Additional Inherited Members | |
![]() | |
bins | |
def lalburst.packing.BiggestIntoEmptiest.pack | ( | self, | |
size, | |||
obj | |||
) |
Pack an object of given size into the bins.
Reimplemented from lalburst.packing.Packer.
Definition at line 165 of file packing.py.
def lalburst.packing.BiggestIntoEmptiest.packlist | ( | self, | |
size_object_pairs | |||
) |
Pack a list of (size, object) tuples into the bins.
Default implementation invokes self.pack() on each pair in the the order given.
Reimplemented from lalburst.packing.Packer.
Definition at line 168 of file packing.py.