Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: New Pathfinding Algorithms: RSR and JPS  (Read 1841 times)

woundless

  • Escaped Lunatic
    • View Profile
New Pathfinding Algorithms: RSR and JPS
« on: February 07, 2012, 02:13:06 am »

http://aigamedev.com/open/tutorial/symmetry-in-pathfinding/

Via roguelikedeveloper

I thought this was a neat read. I don't know how well it would work with dwarf fortress. Symmetry seems like it would happen a lot, but having to re-bake for RSR when the map changes might not be plausible. I think both of them are for uniform cost grids as well, so the traffic areas would probably hinder them. I guess it could be used for monsters that ignore traffic areas.

It seems to be pretty fast though, so I thought I'd share.
Logged

zilpin

  • Bay Watcher
  • 437 forever!
    • View Profile
Re: New Pathfinding Algorithms: RSR and JPS
« Reply #1 on: February 07, 2012, 10:41:15 am »

Good read!
The Jump Point Search algorithm seems to have promise.
Logged

Footkerchief

  • Bay Watcher
  • The Juffo-Wup is strong in this place.
    • View Profile
Re: New Pathfinding Algorithms: RSR and JPS
« Reply #2 on: February 07, 2012, 01:30:16 pm »

There's already a thread about Jump Point Search.  There are also dozens of threads that discuss pathfinding algorithms in general.
Logged