Predictive trajectory planning for autonomous vehicles at intersections using reinforcement learning