Skip to content

Commit 000215c

Browse files
authored
some formating
1 parent 82646ac commit 000215c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,12 @@ print('operations:', runs, 'path length:', len(path))
9696
print(grid.grid_str(path=path, start=start, end=end))
9797
```
9898

99-
While running the pathfinding algorithm it might set values on the nodes. Depending on your path finding algorithm things like calculated distances or visited flags might be stored on them. So if you want to run the algorithm again you need to clean the grid first (see `Grid.cleanup`). Please note that because cleanup looks at all nodes of the grid it might be an operation that can take a bit of time!
100-
10199
Take a look at the _`test/`_ folder for more examples.
102100

101+
Rerun the algorithm
102+
--------------------
103+
While running the pathfinding algorithm it might set values on the nodes. Depending on your path finding algorithm things like calculated distances or visited flags might be stored on them. So if you want to run the algorithm again you need to clean the grid first (see `Grid.cleanup`). Please note that because cleanup looks at all nodes of the grid it might be an operation that can take a bit of time!
104+
103105
implementation details
104106
----------------------
105107
All pathfinding algorithms in this library are inheriting the Finder class. It has some common functionality that can be overwritten by the implementation of a path finding algorithm.

0 commit comments

Comments
 (0)