This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=begin | |
Original problem url: http://rubylearning.com/blog/2010/01/26/rpcfn-fair-distribution-6/ | |
The goal of this class is to schedule printing jobs between printing machines (presses) | |
Jobs should be distributed "in such a manner that (a) all t-shirts are printed in the least amount of time, | |
and (b) the distribution of work across machines is as fair as possible (i.e. the standard deviation | |
of the time each machine spends working is minimized)." | |
Usage: |
NewerOlder