Check out this demo: PathFinding.js
Typical pathfinding demo right?
Check out “Jump Point Search”.
Here’s a reference I found on it: Jump Point Search | Shortest Path
My thread title isn’t entirely accurate but I just wanted to catch your attention on this.
As A* is an optimization on plain Dijkstra’s, Jump Point Search itself is an optimization on A*.
Taking from the link I gave, here’s the search space for typical A*:
Here’s A* with Rectangular Symmetry Reduction. You’ll notice a reduced search space it has to look into to get the path.
Now here’s A* with Jump Point Search. Those few red squares are all it needed to get that path.
Now I’m sure this won’t be applicable to every situation, but I think Jump Point Search is really good for its purposes.


