Skip to content

Commit dd182db

Browse files
authored
Fixes a typo
1 parent 2c2ec49 commit dd182db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

A-Star/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ On the first step we expand the root node on the left (blue). We set the cost `g
1616

1717
![Step 1](Images/step1.png)
1818

19-
We put the first not in the closed list (light blue) so that we don't try expanding it again if there were to be loops in the graph. Next we take the node on the open list with the smallest value of `g + h` where `g` is the current cost (0) plus the edge cost (1). Since all nodes in the open list have the same value we choose the top one.
19+
We put the first node in the closed list (light blue) so that we don't try expanding it again if there were to be loops in the graph. Next we take the node on the open list with the smallest value of `g + h` where `g` is the current cost (0) plus the edge cost (1). Since all nodes in the open list have the same value we choose the top one.
2020

2121
![Step 2](Images/step2.png)
2222

0 commit comments

Comments
 (0)