diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2024-02-25 20:19:48 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2024-02-25 20:19:48 +0100 |
commit | fec03e6f11b267dc90646c3c4d5458571ec74b7a (patch) | |
tree | 168a61097e11b9afaaea33c2968731aefe4dd956 | |
parent | fc7f0985610afdf38d9bf88de8126788c25e97fa (diff) | |
download | kit-fec03e6f11b267dc90646c3c4d5458571ec74b7a.zip |
comments
-rw-r--r-- | source/kit/astar.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/source/kit/astar.h b/source/kit/astar.h index f1758fc..b4a5909 100644 --- a/source/kit/astar.h +++ b/source/kit/astar.h @@ -1,5 +1,8 @@ -// A* graph search algorithm +// ================================================================ // +// A* graph search algorithm +// +// ================================================================ // TODO // - Nearest: save the nearest node when the search is failed or not @@ -156,6 +159,12 @@ static s32 astar_path(astar_state_t *state, i64 *size, i64 *path) { #endif +// ================================================================ +// +// Algorithm template +// +// ================================================================ + #ifdef ASTAR_TEMPLATE #ifdef __cplusplus |