Even Distribution

Bob Sneidar bobsneidar at iotecdigital.com
Fri Apr 17 10:19:32 EDT 2020


Assign the jobs round robin if all other things are equal. 

Bob S


> On Apr 16, 2020, at 7:23 PM, Skip Kimpel via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> I have 15 "jobs" that need to be assigned to 7 "drivers". How would you
> evenly distribute the jobs to the drivers?  In this case one of the drivers
> would have 3 jobs while the others have two.
> 
> Obviously, the number of drivers and number of jobs would fluctuate.
> 
> This has been my mind twister for the night thus far :)
> 
> SKIP





More information about the use-livecode mailing list