Multi-stage optimal design of road networks for automated vehicles with elastic multi-class demand