Comparative Shortest Path Algorithm