Match List-I with List-II: List-I List-II (a) Greedy best-first (i) Minimal cost (p)+h(p) (b) Lowest cost-first (ii) Minimal h(p) (c) A* algorithm (iii) Minimal cost (p) Choose the correct option from those given below:
(a)-(ii); (b)-(iii); (c)-(i)
Different search algorithms used in Artificial Intelligence employ various strategies to explore the state space and find a solution path. These strategies are often guided by an evaluation function that determines the priority of expanding a node.
Let's analyze each algorithm and its corresponding evaluation function:
Greedy best-first search is an informed search algorithm. It expands the node that is estimated to be closest to the goal. This estimation is provided by a heuristic function, denoted as \(h(p)\), which estimates the cost from the current node \(p\) to the nearest goal state. The algorithm's priority is based solely on this heuristic value.
Lowest cost-first search, also known as Uniform Cost Search, is an uninformed search algorithm. It expands the node with the lowest path cost from the start node. The path cost to reach a node \(p\) from the start node is denoted as \(g(p)\). This algorithm prioritizes nodes based on the accumulated cost to reach them.
The A* algorithm is an informed search algorithm that combines aspects of both uniform cost search and greedy best-first search. It evaluates nodes based on the sum of the cost to reach the node from the start node (\(g(p)\)) and the estimated cost from the node to the goal state (\(h(p)\)). The evaluation function for A* is \(f(p) = g(p) + h(p)\), and the algorithm expands the node with the lowest \(f(p)\) value.
Based on the evaluation functions discussed above, we can match the algorithms in List-I with the criteria in List-II:
Therefore, the correct matching is (a)-(ii), (b)-(iii), (c)-(i).
| List-I (Algorithm) | List-II (Evaluation Criteria) | Corresponding Formula |
|---|---|---|
| (a) Greedy best-first | (ii) Minimal \(h(p)\) | \(\min(h(p))\) |
| (b) Lowest cost-first | (iii) Minimal cost \(g(p)\) | \(\min(g(p))\) |
| (c) A* algorithm | (i) Minimal cost \(g(p)\) + \(h(p)\) | \(\min(g(p) + h(p))\) |
The final correct option is the one that provides the mapping (a)-(ii); (b)-(iii); (c)-(i).
| Algorithm Name | Type | Evaluation Function | Focus |
|---|---|---|---|
| Greedy Best-First Search | Informed | Heuristic cost to goal \(h(p)\) | Estimated distance to goal |
| Lowest Cost-First Search (Uniform Cost Search) | Uninformed | Path cost from start \(g(p)\) | Actual cost incurred so far |
| A* Algorithm | Informed | Sum of path cost and heuristic \(f(p) = g(p) + h(p)\) | Total estimated cost (past + future) |
Understanding the evaluation function is key to understanding how these search algorithms behave:
These properties highlight why the evaluation function choice is critical for the performance, completeness, and optimality of a search algorithm.
A text is made up of the characters A, B, C, D, E each occurring with the probability 0.08, 0.40, 0.25, 0.15 and 0.12 respectively. The optimal coding technique will have the average length of:
Which among the following statement(s) is(are) FALSE?
A. Greedy best‐first search is not optimal but is often efficient.
B. A* is complete and optimal provided h(n) is admissible or consistent.
C. Recursive best‐first search is efficient in terms of time complexity but poor in terms of space complexity.
D. h(n) = 0 is an admissible heuristic for the 8‐puzzle.
Suppose there are six files F1, F2, F3, F4, F5, F6 with corresponding sizes 150 KB, 225 KB, 75 KB, 60 KB, 275 KB and 65 KB respectively. The files are to be stored on a sequential device in such a way that optimizes access time. In what order should the files be stored?
A text is made up of the characters a, b, c, d, e each occurring with the probability 0.11, 0.40, 0.16, 0.09 and 0.24 respectively. The optimal Huffman coding technique will have the average length of :
If b is the branching factor and m is the maximum depth of the search tree, what is the space complexity of greedy search ?