lipinggm / tlb

Automatically exported from code.google.com/p/tlb
0 stars 0 forks source link

Replace all Collections.sort using implicit comparator to explicit one #39

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Right now, for balancing, we sort based on time. However, this is bad because 
it takes away repeatability from the process of balancing. 

We need to break ties in case of same values using the test case name or 
something so that the process is repeatable.

Original issue reported on code.google.com by itspa...@gmail.com on 17 Jan 2011 at 9:04

GoogleCodeExporter commented 9 years ago

Original comment by itspa...@gmail.com on 18 Jan 2011 at 3:44

GoogleCodeExporter commented 9 years ago
Right now, I use the test name while comparing two TestFile and the Bucket size 
while comparing Buckets in order to break the ties. With this, breaking ties 
will become a repeatable process.

Original comment by itspa...@gmail.com on 19 Jan 2011 at 2:39