AIML
AIML
AIML
• Breadth-first Search
• Depth-first Search
• Depth-limited Search
• Iterative deepening depth-first search
• Uniform cost search
• Bidirectional Search
INFORMED SEARCH
• Greedy best-first search
• A* search
• Memory-bounded heuristic search
Heuristics function
• Used in Informed Search.
• Finds the most promising path.
• It guaranteed to find a good solution in
reasonable time.
• It is represented by h(n)
• The cost of an optimal path between the pair
of states.
• The value of the heuristic function is always
positive.
Heuristic value
• A heuristic is consistent if for every node n,
every successor n' of n generated by any
action a,
• h(n) ≤ c(n,a,n') + h(n')
Admissible heuristics
E.g., for the 8-puzzle:
h1(S) = 8
h2(S) = 3+1+2+2+2+3+3+2 = 18
Pure Heuristic Search
Arad