A Algorithm
A Algorithm
TOPIC: A* Algorithm
Outlines
• Prerequisite
• A* Algorithm
• Working
• Algorithm
• Conclusion
IT504
2
Outlines
• Exercise
• Student Effective Learning Outcomes
• References
IT504
2
Prerequisite of topic
IT504 4
A* Algorithm-
5
IT504 SELO: 1,2 Reference No.: R1, R2
Working-
6
IT504 SELO: 1,2 Reference No.: R1, R2
functions
7
IT504 SELO: 1,2 Reference No.: R1, R2
Algorithm-
Step-03:
Remove node n with the smallest value of f(n) from OPEN and
move it to list CLOSED.
If node n is a goal state, return success and exit.
Step-04:
Expand node n. 9
IT504 SELO: 1,2 Reference No.: R1, R2
CTD….
Step-05:
Go back to Step-02.
10
IT504 SELO: 1,2 Reference No.: R1, R2
Problem-01:
Find the most cost-effective path to reach the final state from
initial state using A* Algorithm.
Consider g(n) = Depth of node and h(n) = Number of misplaced
tiles.
11
IT504 SELO: 1,2 Reference No.: R1, R2
EXAMPLE
12
IT504 SELO: 1,2 Reference No.: R1, R2
EXAMPLE
13
IT504 SELO: 1,2 Reference No.: R1, R2
Ctd….
14
IT504 SELO: 1,2 Reference No.: R1, R2
CONCLUSION
15
IT504 SELO: 1,2 Reference No.: R1, R2
Learning Outcomes
1.Ability to solve problems through application of
theoretical and practical concept.
2. Students learned about the intelligent algorithms.
3.Advantage A* algorithm over best first sarch.
IT504 16
Student Effective Learning Outcomes
1. Ability to solve problems through application of theoretical and
practical concept.
2. Life long learning ability.
3.Application of concepts of topic & it’s taxonomical
applications.
4. Ability to be a life long self learner.
5. Ability to understand subject related concepts clearly along
with contemporary issues.
IT504 17
References
BOOKS:
1 .Rich E and Knight K, “Artificial Intelligence”, TMH, New Delhi.
2 .Nelsson N.J., “Principles of Artificial Intelligence”, Springer
Verlag,Berlin
3.Artificial Intelligence and Expert System, Gopal Krishna , Janakirama
IT504 18
IT504 19