Every major dense city that is piloting self-driving cars has been modeling around most of the scenarios you've described