From Lavish Software Wiki
Revision as of 18:27, 6 March 2006 by Lax (talk | contribs)
(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to navigation Jump to search


What is a Pathfinder?

A pathfinder is a system of finding the shortest path from one location to another. LavishNav currently provides two systems that are useful in different circumstances.


A* is generally the pathfinder of choice when there are no overlapping coordinate systems. In other words, if there is more than one 0,0,0 (or some other location) in the possible path, A* is not going to be preferable. This is because A* uses the distance from the goal in its estimation of the shortest path in order to find the shortest directed path to the goal.

Unlike Dijkstra's, this pathfinder is only optimized such that subsequent searches are not optimized unless both the start and destination locations remain the same. This is because the stored information is based on a path directed toward the previous destination.


Dijkstra's is the pathfinder of choice when there are overlaps in the coordinate system, or when looking for the shortest path (or distance) to many different locations.

This pathfinder is optimized such that subsequent searches with the same starting location can use the same information without recalculating for regions that have already been processed, and therefore it is highly efficient to continue to use the same starting location.

See Also