Reinforcement Learning Under Space And Time Constraints