Uniformed/Informed searches Flashcards
What are the uninformed searches?
DFS, DFS + Iterative Deepening, BFS
What are the informed searches?
Best FS, Hill Climbing, Branch and Bound Techniques, A* Algo, Simulated annealing, Tabu Search
Why do we generate state space at run time?
What is a state space?
A set of descriptions of states
Should a tree or graph be used when a state can be visited more than once?
graph
How do search algorithms for trees differ from search algorithms for graphs?
Graphs need to cater for possible loops and cycles
What are the types of problems?
Problem that only need a representation
Problem that require a yes or no response indicating whether a solution can be found or not.
Problems that require a solution path
How does DFS work?
go to the left and down as far as possible, backtrack to split and then go right down as far as possible
How does BFS work?
Go down in layers, start from left to right on each layer
How does DFS with iterative deepening work?
Only go down to the level that has been specified, If level has been reached go to next nodes and dont continue further down
How is BFS better than DFS?
BFS is guaranteed to find the shortest path from the start to the goal
DFS may get lost in search and hence a depth-bound may have to be imposed on a dfs
Why is BFS bad?
Has a bad branching factor (lead to combinatorial explosion)
When is DFS more efficient?
When the search space has many branches (+ branches = + branching factor)
What is the criteria to decide which search to use?
How important is it to find the shortest path to goal.
branching, time and resources
Average length of paths to a goal node
How does Heuristic searches choose which node to visit?
It uses the domain-specific knowledge to choose
What is a weak search method?
A search method that include the use of domain knowledge in the form of a heuristic.