A Cost Function Approach to the Prediction of Passenger Distribution at the Subway Platform. (1st October 2018)