Train Station, Reinforcement Learning, Machine Learning, Editors Pick, Thoughts And Theory.
going up at floor 0 and down at floor 3. The reward of function is defined as -(occupancy+sum_i floor_i^{up/down}), that is, the total number of the demands insider and outside of the elevator. In other words, the only situation for which the reward is 0 is when no passengers are waiting in the