Shortest Path Problem Definition