diff options
Diffstat (limited to 'path.h')
| -rw-r--r-- | path.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -0,0 +1,12 @@ +#ifndef ASTAR_H_ +#define ASTAR_H_ + +#include "structs.h" +#include "map.h" + +Path breadth_first_search_path_4dir(Map map, size_t width, size_t height, Position start, Position end); + +Path astar_path_4dir(Map map, size_t width, size_t height, Position start, Position end); +size_t manhattan_distance(Position a, Position b); + +#endif /* ASTAR_H_ */ |
