Skip to content

Commit e801d34

Browse files
authored
Update Tree-Search-and-Graph-Search.md
1 parent 948e5d7 commit e801d34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

md/Tree-Search-and-Graph-Search.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
__function__ GRAPH-SEARCH(_problem_) __returns__ a solution, or failure
77
 _frontier_ ← a queue initially containing one path, for the _problem_'s initial state
8-
 _reached_ ← a table of {_state_: the best path that reached _state_}; initially empty
8+
 _reached_ ← a table of {_state_: _node_}; initially empty
99
 _solution_ ← failure
1010
 __while__ _frontier_ is not empty __and__ _solution_ can possibly be improved __do__
1111
   _parent_ ← some node that we choose to remove from _frontier_

0 commit comments

Comments
 (0)