Open shengwu opened 9 years ago
Maybe try having the elevators go opposite directions. Or better detection of when an elevator is full.
d930c6db245ef8b31a48ca05a5c4baecd9e74789 starts the elevators at random floors which helps. Maybe there could be a way for an elevator to say "I got this" - a third array of booleans?
Maybe instead of picking up the farthest person who wants to go the other direction, it should go to the furthest floor and maybe people will have appeared by then. It seems like a a lot of people are left waiting on the top or ground floors.
Or just a few designated elevators can behave like this.
Inter-elevator coordination possibly a bad idea: https://clarkmoody.com/Moody_AgentBasedElevatorControl.pdf
Maybe idle elevators should go to floor 0 (this helps pass challenge 17)
Like for challenge 10, we have a huge elevator and a four-person elevator. How should the huge elevator behave vs. the smaller elevator?