An eco-driving algorithm for trains through distributing energy: A Q-Learning approach. (March 2022)