Using shared automated vehicles to deliver public transport