Informed Search (Week 4) Flashcards
1
Q
What are two types of models of the world?
A
- Simulation: It takes a real world environment and copies it into program
- Emulation: It connects program with real world environment
2
Q
Types of Informed Search
A
- Heuristics
- Greedy Search
- A* Search
3
Q
Properties of Informed Search Algorithm
A
- Useful in large space
- Time efficient
- It operates on heuristics function
4
Q
What is a heuristic function
A
- A heuristic function estimates how close an agent is to the goal state
- It finds most promising path
- Input : Current State Output: Estimation of how close agent is to goal
- It value is always positive
- Represented by h(n)
5
Q
What is Greedy Search properties?
A
- Node to node search
- Expands the node that seems closest to the goal in each step (i.e. Forward Search)
- It takes node cost in consideration
- Not time consuming
6
Q
How does A* Search work?
A
- It combines UCS and Greedy Search
- Maximises efficiency/accuracy and chances of success
7
Q
What are costs of UCS, Greedy search and A* Search?
A
- UCS: It orders by path cost i.e. backward cost g(n)
- Greedy Search: It orders by goal proximity i.e. forward cost h(n)
-
A* Search: It orders by sum of both costs i.e. f(n)= g(n)+h(n)
.: g=edge cost
h=node cost
8
Q
Is A* optimal or complete?
A
- Its both because it searches for shorter paths first.
- If estimated cost by heuristic is more than actual cost than it will not be optimal.