Home Forums Programming How to Boost A* by 40-50% Reply To: How to Boost A* by 40-50%

#20090
Anonymous
Inactive

well like promised heres the code for this algorithm.(if anyone wants it).

its pretty clean i think, not highly optimised, (i use stl vectors, so i suggest if anyone is to use it, convert these to arrays). Probably a few more optimisation could be made.

Also i threw in a sample map, but no doubt anyone who uses it will have their own map format, so it should be easy to change to plugin in theirs.

heres the link, its on the top of the page.

http://student.cs.ucc.ie/~pb2/work.html

peter

p.s. ill try to post a map builder soon, which automates the creation of these maps.