1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
libusearch - microlib for searching/graph traversal
This library provides a minimalistic implementation of the A* algorithm,
following the structure and naming of the related wikipedia article
(to save on the documentation):
https://en.wikipedia.org/w/index.php?title=A*_search_algorithm&oldid=986803280
There are two ways to compile the lib with your project:
1. as inline functions (to save a few calls):
#define USRCH_INLINE static inline
#include <libusearch/a_star_api.h>
#include <libusearch/a_star_impl.h>
No linking needed.
2. as a static library:
#include <libusearch/a_star_api.h>
And then link to libusearch.a
API documentation: commends in a_star_api.h.
Example: tester.c
|