# AI Search: A* Admissibility, Heuristics & Alpha-Beta Minimax Pruning
Exam: UGC NET Computer Science & Applications (Code 87) (UGC NET CS)
Subject: Unit 10: Artificial Intelligence & Soft Computing
Canonical URL: https://gateandnet.com/exams/ugc-net-cs/net-artificial-intelligence/astar-admissibility-and-alpha-beta-pruning

> Evaluation function f(n) = g(n) + h(n), admissibility vs consistency, and best-case O(b^(d/2)) alpha-beta leaf inspection.

## Heuristic Dominance & Consistency (Monotonicity)

- **Consistent (Monotonic) Heuristic:** $h(n) \le c(n, a, n') + h(n')$ (triangle inequality). Every consistent heuristic is admissible, and makes **Graph-Search A*** optimal without reopening closed nodes!
- **Dominance:** If $h_2(n) \ge h_1(n)$ for all $n$ (and both are admissible), $h_2$ **dominates** $h_1$ and expands fewer or equal nodes (e.g., Manhattan Distance dominates Misplaced Tiles in the 8-Puzzle!).


## Solved Practice Questions & PYQs

### [UGC NET CS AI PYQ | MCQ]
In a game tree with uniform branching factor $b$ and depth $d$, if moves are ordered **optimally** for **Alpha-Beta Pruning**, the asymptotic number of leaf nodes evaluated reduces from $\mathcal{O}(b^d)$ to:
**Correct Answer:** B
**Solution:** With best-first move ordering, Alpha-Beta pruning evaluates $\mathcal{O}(b^{d/2})$ leaves, effectively allowing the search to look **twice as deep** in the same time!
