state와 cost에 대한 정보가 있음. -> 정보에 따라 변하는 규칙 -> 더 효율적임
Evaulation Function :
= initial부터 node n까지의 비용(거리)
= node n부터 goal까지의 비용(거리) (추정치 Heuristic)
frontier : Priority Queue
- 이 작은 것이 우선
Goal state이지만 optimal하지 않은 노드 가 frontier에 있다고 하자. 그러면
optimal solution path를 진행중인 노드 이 frontier에 있는 상태일 것이다.
(이 node가 진행하다 보면 Goal state이면서 optimal한 node가 생성될 것이다.)
이 때, 이 실제 cost보다 크지 않으면
따라서, 항상 이므로 node 는 generate 되지 않는다.
→ uniform cost
→ breadth-first
→ greedy best-fisrt![]