File: README

package info (click to toggle)
pcb-rnd 3.1.7b-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 33,108 kB
  • sloc: ansic: 213,400; yacc: 6,241; sh: 4,698; awk: 3,016; makefile: 2,254; lex: 1,166; python: 519; xml: 261; lisp: 154; tcl: 67; perl: 34; javascript: 6; ruby: 5
file content (30 lines) | stat: -rw-r--r-- 720 bytes parent folder | download | duplicates (5)
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