Commit bd5db6de authored by Justin Borromeo's avatar Justin Borromeo
Browse files

WIP

parent 460e2549
......@@ -41,7 +41,7 @@ def packingPenalty(partitions, full_array):
percentage_partition_area_unpacked) + 0.00001
BIN_WASTAGE_CONSTANT = 40000
BIN_OVERFLOW_CONSTANT = 0
BIN_OVERFLOW_CONSTANT = 40000
"""
Returns a penalty float, which is a function of percentage of space wasted in
......
class PackingResult:
def __init__(self, topology, partition_count, png_path, latency):
self.topology = topology
self.partition_count = partition_count
self.png_path = png_path
self.latency = latency
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment