Dear all,
I am doing a project on a travel planner, and so need to write a servlet which can calculate the shortest route between 2 stations, which may or may not be going through an intermediate station. So I will be reading 2 or 3 values from a form, ie.
From, To, Via.
I am thinking of using Dikstra's algorithm.
I have looked at some books but I don't know how to apply it to my case.
I appreciate any help that i can get.
Thanks,
Katie