Uninformed Search Methods Flashcards
Give some examples of problems formulated as a state space search.
8-puzzle Route finding problem 8-queens problem Making a timetable Production scheduling Grammatical parsing Interpretation of sensory data Modelling from measured data Finding scientific theories that account for experimental data
What is an uninformed search? Give some examples.
Systematically searching a complete graph, unguided, e.g. depth-first, breadth-first, iterative deepening, bi-directional search.
How do you evaluate a search strategy?
Completeness: does it always find a solution if one exists?
Time complexity: number of nodes generated.
Space complexity: maximum number of nodes in memory.
Optimality: does it always find a least-cost solution?
What is depth-first search?
Describe its properties in terms of completeness, time complexity, space complexity, and optimality.
Start at the root. Explore each branch as far as possible before backtracking or finding the solution.
Completeness: no, susceptible to infinite loops
Time complexity: high as in the worst case visits all states
Space complexity: low as it remembers only one path at a time
Optimality: no, not guaranteed to find shortest solution first
What is breadth-first search?
Describe its properties in terms of completeness, time complexity, space complexity, and optimality.
Completes one level before moving on to the next level. Guaranteed to find shortest solution first.
Completeness: yes
Time complexity: high as in the worst case visits all states
Space complexity: high as it remembers all paths
Optimality: yes
What is iterative deepening?
Describe its properties in terms of completeness, time complexity, space complexity, and optimality.
Start with a small MaxDepth and increase MaxDepth until a solution is found, with depth-first search.
Completeness: yes
Time complexity: high as in the worst case visits all states
Space complexity: low as it remembers only one path each time
Optimality: yes as it finds the shortest solution first
What is a bidirectional search?
Search progress from both start and goal states. using standard search techniques.
What is a backward search?
Search from goal state to start state. New goal condition satisfied by start node. Only applicable if goal node(s) known.