Embodiments of the present application provide a
bus scheduling method based on
reinforcement learning, comprising the following steps: S110, initializing road
network data, and performing regional grid division on the road network; S120, dividing trajectory data according to time periods, and calculating
traffic flow of different regions in different time periods; S130, combining real-time ride request data, calculating and updating the
traffic flow; S140, when a
bus arrives at a
route endpoint, obtaining a current road network state from multiple dimensions; S150, based on a
reinforcement learning neural network, combining the updated
traffic flow obtained in step S130 and the road network state obtained in step S140, calculating feedback data of the
bus driving to different routes; and S160, repeating steps S130-S150, obtaining
reinforcement learning model parameters, and performing bus scheduling based on the trained reinforcement learning model. Through this method, the current road network state and traffic flow can be fully considered,
urban bus resources can be effectively utilized, bus operation efficiency can be improved, and urban
traffic congestion can be alleviated.