Simulated Annealing (Intelligent Search)
Simulated Annealing: Example of Rolling Ball
Valley with minimum energy state
High energy state
A little higher energy state
than the valley
Simulated Annealing
Simulated Annealing
Procedure Simulated Annealing
Begin
Pop stack-top element
If stack-top element is the goal, announce it and exit.
Else
Procedure Simulated Annealing
End
Until the stack is empty
End
Assignment
Heuristic Search
Heuristic Search
Heuristic Search for OR Graphs
Procedure Best First Search
Begin
Return n along with the path from the starting node and exit
Else
Remove n from L and add all children of n to the list L with their labeled paths from the starting node.
End While
End
**How to define f is not explicitly mentioned in the algorithm
Reach G from A Using Best First Search
A
B
C
D
F
E
H
G
A->G 40
B->G 32
C->G 25
D->G 35
E->G 19
F->G 17
H->G 10
G->G 0
7
11
14
25
15
8
10
20
9
10
A* Algorithm
A* Algorithm
Reach G from A Using A*
A
B
C
D
F
E
H
G
A->G 40
B->G 32
C->G 25
D->G 35
E->G 19
F->G 17
H->G 10
G->G 0
7
11
14
25
15
8
10
20
9
10
Another Example
A
C
B
F
D
E
G
A->G 14
B->G 12
C->G 11
D->G 6
E->G 4
F->G 11
G->G 0
3
4
7
10
12
16
5
5
2
Another Example
Procedure A*
Refer to Geeksforgeeks
https://www.geeksforgeeks.org/a-search-algorithm/
A* Algorithm
AO* Search Algorithm
Problem Reduction In Artificial Intelligence
Example: Goal: Acquire TV Set
Alternative 1: Either steal a TV Set
or
Alternative 2: Earn some money and buy a TV Set
Carefully look at the arcs
AO* Search Algorithm in AI
AO* Search Algorithm in AI
Search an AND-OR Graph
Try Yourself