We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 948e5d7 commit e801d34Copy full SHA for e801d34
md/Tree-Search-and-Graph-Search.md
@@ -5,7 +5,7 @@
5
6
__function__ GRAPH-SEARCH(_problem_) __returns__ a solution, or failure
7
 _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
+ _reached_ ← a table of {_state_: _node_}; initially empty
9
 _solution_ ← failure
10
 __while__ _frontier_ is not empty __and__ _solution_ can possibly be improved __do__
11
   _parent_ ← some node that we choose to remove from _frontier_
0 commit comments