It is just "Graph theory" in mathematical terms.
Each road, depending on motorway, B road etc. carry some weightage.
The algorithm selects the shortest/fastest route based on how these weightages are assigned to each roads.
But the algorighm is only as good as data available to it. If map is wrong, then it can calculate wrong direction.
Last edited by: movilogo on Tue 19 Apr 11 at 16:23
|