๐ -> 04/07/25: Lecture 4. Formulating a Problem as Search & Uninformed Search
[Lecture Slide Link]
๐ค Vocab
โ Unit and Larger Context
Outline
Formulating a Problem as Search
- Tree Search vs Graph Search (AIMA 3.3)
- Evaluating Search Algorithms (AIMA 3.3)
Uninformed Search - Uninformed Search vs Informed Search (AIMA 3.4)
- Four Search Algorithms (BFS, UCS, DFS, Iterative Deepening) (AIMA 3.4)
- Comparison of Search Algorithms (AIMA 3.4)
โ๏ธ -> Scratch Notes
Problems with tree search:
Paths with repeated states are non optimal (finding node A again in the tree)
Two typical solutions:
- Ignore if likelihood of repetition is very low. Do a tree-like search
- Do a graph search, keep a list of reached/visited states. Dependent on all states fitting easily in memory.
Graph Search:
Separation property of graph search
Graph Search: no state occurs on more than one path
During the search, states are in one of three disjoint subsets:
- Expanded node (visited and explored)
- Nodes in the frontier (reached but not expanded)
- Functionally, has to do with being in the queue to be explored
- Nodes that have not been reached
Graph search algorithm is the same as tree search, with the addition of the explored set
Evaluating search algorithms
- Completeness - If there is a solution, is the algo guaranteed to find it?
- Sometimes this can be do to time complexity, a DFS algorithm might get stuck in an infinite loop if poorly implemented
- Cost Optimality - Will the algorithm find the optimal/lowest cost solution?
- Time Complexity - How much time to find a solution
- Space Complexity - How much space is needed to find a solution?
More notations for our analysis:
b (branching factor) - Maximum number of successors of a search node
d (depth) - Number of actions in optimal solution
m (maximum depth) - Maximum actions on any path
๐งช -> Refresh the Info
Did you generally find the overall content understandable or compelling or relevant or not, and why, or which aspects of the reading were most novel or challenging for you and which aspects were most familiar or straightforward?)
Did a specific aspect of the reading raise questions for you or relate to other ideas and findings youโve encountered, or are there other related issues you wish had been covered?)
๐ -> Links
Resources
- Put useful links here
Connections
- Link all related words
