Search Problem Flashcards
Search problem in AI
In AI, a search problem refers to the process of finding a solution or path from an initial state to a goal state, based on certain conditions or constraints. It is fundamental in areas like planning, pathfinding, and decision-making
Components of search problem
Another name of Uninformed search
Blind search
Uninformed search
Uninformed search (also called blind search) refers to search algorithms that explore a search space without any additional knowledge about the goal beyond the information available in the problem definition. These algorithms operate without domain-specific heuristics, meaning they do not use any guidance to prioritize certain paths over others.
Common uninformed search algorithms
Breadth-First Search (BFS)
Depth-First Search (DFS)
Uniform Cost Search (UCS)
Depth-Limited Search (DLS)
Iterative Deepening Depth-First Search (IDDFS)
Backtracking search
It has to search every leaf node, every possible solution then he can only came to know that which is optimal or minimum cost path
Two parameters in backtracking search
b: actions per state
D: Depth of the actions
Memory complexity of backtracking. Also reason
O(D)
Here D is Depth of the actions i.e. depth of tree
It needs to keep the history of actions taken for the solution
Time complexity of backtracking. Also reason
O(bᴰ)
[Here b: actions per state, D: Depth of the actions]
It needs to reach all leaf nodes to get the solution (very huge)
Cost of backtracking
Any cost
Algorithm of backtracking search