Reinforcement-learning environment interface.