This article helps the starter of AI course to learn the objective and implementation of Uninformed Search Strategies (Blind Search) which use only information available in the problem definition. Uninformed Search includes the Following Algorithms:

v Breadth First Search (BFS)

v Uniform Cost Search (UCS)

v Depth First Search (DFS)

v Depth Limited Search (DLS)

v Iterative Deepening Search (IDS)

v Bidirectional Search (BS)

This article covers several Search strategies that come under the heading of Uninformed Search. The term means that the strategies have no additional information about States beyond that provided in the problem definition. All they can do is generate successors and distinguish a goal state from a non-goal state. All

**.***Search Strategies are distinguished by the order in which nodes are expanded*To go ahead in these series I will use some AI Terminologies such as the Following:

A problem can be defined by four components:

v

**that the problem starts in.***Initial State:*v

*Goal*

State **that the problem ends in.***:*v Finding Goal State .

**that lead to***sequences of actions*v

**Cost to solve problem.***A path Cost:*Together the initial state, goal state, actions and path cost define the

**of the problem (the set of all states reachable from the initial state by any sequence of actions). The***state space***in the state space is a sequence of states connected by a sequence of actions. A***path***to the problem is an action sequence that leads from the initial state to the goal state.***solution*The process of looking a sequence of actions that reaches the goal is called

A small part of the 8-puzzel problem state space

**. A search algorithm takes a problem as input and returns a solution in the form of an action sequences. The search starts from the initial state which represents the root node in the problem search space. The***search***and the***branches are actions***in the problem state space.***nodes corresponding to the states*Example:

Note:

**=number of steps from initial state to this state.**

*Depth*A collection of nodes that are generated but not yet expanded is called the fringe; each element of

**is a leaf node (i.e. with no successors in tree)***fringe*Let's start to explain the first two algorithms of blind search:

v

**is a simple strategy in which the root node is expanded first, then all the successors of the root node are expanded next, then their successors, and so on. Fringe is a FIFO queue.***Breadth First Search (BFS):*v

**modifies BFS by always expanding the lowest cost node on the fringe using path cost function g(n) (i.e. the cost of the path from the initial state to the node n). Nodes maintained on queue in order of increasing path cost.***Uniform Cost Search (UCS):*v

**always expands the deepest node in the current fringe of the search tree. Fringe is a LIFO queue (Stack).***Depth First Search (DFS):*v

**the embarrassing failure of DFS in infinite state spaces can be alleviated by supplying DFS with a predetermined depth limit***Depth Limited Search (DLS):**l***.that is nodes at depth****are treated as if they have no successors.***l*v

**is a general strategy often used in combination with depth first tree search that finds the best depth limit. It does this by gradually increasing limit first 0, then 1, then 2, and so on until goal is found.***Iterative Deepening Depth First Search (IDS):*v

**the idea behind bidirectional search is to simultaneously search both forward from the initial state and backward from the goal state, and stop when the two searches meet in the middle. Here there are two fringes, one that maintains nodes forward and other that maintains nodes backward. Each fringe is implemented as LIFO or FIFO depends on the search strategy used in the search (i.e. Forward=BFS ,Backward=DFS)***Bidirectional Search (BS):*
## No comments:

## Post a Comment