Sign in to follow this  
mortiz01

Memory Complexity of LRTA*

Recommended Posts

I wondering if anyone has used or researched LRTA* (or simply just RTA*) and could tell me about the memory complexity of it. From my own research into it(I haven't got around to using it in a project yet) It's extremely high since from what I understand you have to store a table of heuristic values. On a 64 x 64 graph for example (4096 nodes) assuming each heuristic value is represented by float that would mean, if my calculations are correct, you'd need 67 megs of memory per agent. The reason for this is assuming you can travel from one node to any other on the graph, each of the 4096 nodes would need to contain a value for the 4096 other nodes. Is there any way to improve this?

Share this post


Link to post
Share on other sites
If your graph is fullly connected, yes. If you are doing pathfinding on a 2d map then no. In the LRTA you just need the cost of going through that point. So if you use a box layout, that is four values an element. If you allow diagonals that is 8 values an element. Or if you want to be cheap one per element actually works.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this