The shortest course from one place to another