News for hackers. Stuff that matters.
Re:So You Think You Can Program an Elevator by platz on Tuesday January 12, 2016 @05:53PM (#10891041)
Also, there might be more than one criteria to optimize for.. shortest travel time? fewest moves?
Re:So You Think You Can Program an Elevator by rodgerd on Tuesday January 12, 2016 @11:06PM (#10892261)
> Also, there might be more than one criteria to optimize for.. shortest travel time? fewest moves?

More fundamentally: do you optimise for the users of the service (lift passengers) or for the person paying for it (building owner)? Because I can imagine very different drivers there.

Re:So You Think You Can Program an Elevator by smaddox on Tuesday January 12, 2016 @06:14PM (#10891157)
Indeed. This seems like a good use case for a cost/utility function. Very long wait times should be very high cost, while short wait times should be disproportionately low cost, etc.