문제

Where can I find an A* implementation in C?

I was looking around but it seems my google-fu is not strong enough. I've started writing my own implementation, but then I remembered Stack Overflow and I thought I should ask here first. It seems a bit complicated to write a real A* implementation - I was tempted to just write an implementation of Dijkstra's algorithm for a binary grid, since that's all I really need, but I feel like I want to have a C A* implementation in my repertoire.

도움이 되었습니까?

해결책

Your google-fu is indeed weak, young padawan :-)

Try googling for astar c.

The first and second links are actual code implementations (the first under a liberal MIT licence, no idea about the second).

다른 팁

here you can find the pseudocode: http://en.wikipedia.org/wiki/A*

to find the right code for you just search after: astar graph search algorithm C

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top