Skip to content

Commit

Permalink
for post release: updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
harisankar95 committed Feb 13, 2024
1 parent 433d0b8 commit 6ab1ab9
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
23 changes: 17 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,25 @@ The following diagram illustrates the process:

```mermaid
graph TD;
find_path["find_path"] --> init_find["init_find (re)set global values and open list"];
style find_path stroke:#333,stroke-width:2px
style init_find stroke:#333,stroke-width:2px
style while_open_list_not_empty stroke:#333,stroke-width:2px
style check_neighbors stroke:#333,stroke-width:2px
style pop_node stroke:#333,stroke-width:2px
style find_neighbors stroke:#333,stroke-width:2px
style process_node stroke:#333,stroke-width:2px
style return_empty_list stroke:#333,stroke-width:2px
style return_path stroke:#333,stroke-width:2px
find_path["find_path"] --> init_find["init_find\n(re)set global values\nand open list"];
init_find --> while_open_list_not_empty["while open_list not empty"];
while_open_list_not_empty --> check_neighbors["check_neighbors (for the node with min 'f' value in open list)"];
check_neighbors --> pop_node["pop_node (node with min 'f' value)"];
pop_node --> find_neighbors["find_neighbors (get neighbors)"];
find_neighbors --> process_node["process_node (calculate new cost for each neighbor)"];
while_open_list_not_empty --> check_neighbors["check_neighbors\n(for node with min 'f' value)"];
check_neighbors --> pop_node["pop_node\n(node with min 'f' value)"];
pop_node --> find_neighbors["find_neighbors\n(get neighbors)"];
find_neighbors --> process_node["process_node\n(calculate new cost)"];
process_node --> while_open_list_not_empty;
while_open_list_not_empty -- "open list empty" --> done["done"];
while_open_list_not_empty -- "open list empty" --> return_empty_list["return empty list"];
while_open_list_not_empty -- "path found" --> return_path["return path"];
```

</div>
Expand Down
2 changes: 1 addition & 1 deletion pathfinding3d/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.1
0.7.1.post1

0 comments on commit 6ab1ab9

Please sign in to comment.