Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Here is a table of algorithms, the figure, name of the algorithm in the book and
| 3 | Problem | `Problem` | [`search.py`][search] | Done | |
| 3 | Node | `Node` | [`search.py`][search] | Done | |
| 3 | Queue | `Queue` | [`utils.py`][utils] | Done | |
| 3.1 | Simple-Problem-Solving-Agent | `SimpleProblemSolvingAgent` | [`search.py`][search] | | |
| 3.1 | Simple-Problem-Solving-Agent | `SimpleProblemSolvingAgent` | [`search.py`][search] | | Included |
| 3.2 | Romania | `romania` | [`search.py`][search] | Done | Included |
| 3.7 | Tree-Search | `tree_search` | [`search.py`][search] | Done | |
| 3.7 | Graph-Search | `graph_search` | [`search.py`][search] | Done | |
Expand Down
133 changes: 92 additions & 41 deletions search.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion search.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ class SimpleProblemSolvingAgentProgram:
"""Abstract framework for a problem-solving agent. [Figure 3.1]"""

def __init__(self, initial_state=None):
"""State is an sbstract representation of the state
"""State is an abstract representation of the state
of the world, and seq is the list of actions required
to get to a particular state from the initial state(root)."""
self.state = initial_state
Expand Down