SlideShare a Scribd company logo
Introduction
In January 2014, Uitm student will start the semester break from 20 January until 20
February. We are a group of students are discussing to travel during our semester break. In
order to make sure that we have enough time to travel, a proper strategy must be including in
our preparation other than money. Our group have decided to visit Kelantan because there
are more beautiful places there to be visited. The journey will start at Seri Tujuh Beach at
Tumpat to the National Park at Kuala Koh.
From the beach, we have to find the shortest route to save our time and arrived
earlier to make other activities at Kuala Koh National Park. Our group discover for the route
from the beach to the National Park through some others place to be visited. For examples,
Kota Bharu Trade Centre, Bisikan Bayu Beach, Jeram Linang waterfall, Kelantan River,
Stong mountain, Berangkat mountain and Cintawangsa mountain. The difficulty that we have
to face is they want to still be able to generate the path with minimum cost. By choosing the
best method, we will find the shortest route from Seri Tujuh beach to National Park.
Objective
The main objective of the project is to find the shortest distance to travel from Seri Tujuh
beach to Kuala Koh National Park in Kelantan State.
Project scope
Regarding to the problem that we face before, the suitable map was purposed to find
the shortest distance. The project scope is in Malaysia which is Kelantan state. There are
many places to be visited in Kelantan that we have discovered such as Kota Bharu Trade
Centre, Bisikan Bayu Beach, Jeram Linang waterfall, Kelantan River, Stong Mountain,
Berangkat Mountain and Cintawangsa Mountain.
We need to pass through these places to arrive at our destination which is Kuala Koh
National Park. We may visit the place that will consider the shortest distance for us to reach
there. Then for the next other places to be visit, we also considered about the shortest
distance. The places that will give the shortest distance from the place that we were located
will be choosing.
Search method
In order to find the shortest distance from Seri Tujuh beach to Kuala Koh National
Park, the best method is by using A* algorithm. The method of A* algorithm is most famous
solution for this problem. Generally, the solution is the most efficient used in most cases and
give better implementation.
A* algorithm was selected due to the important properties which is will always return
the shortest path if a path exists to the destination. Other algorithms may find a path faster
but it is not necessarily the "best" path we can take. A* uses a heuristic to search nodes
considered more likely to lead to the destination first, allowing us to often find the best path
without having to search the entire map and making the algorithm much faster. Other than
that, A* is based on the idea that each node has some cost associated with it. If the costs for
all nodes are the same then the best path returned by A* will also be the shortest path but A*
can easily allow us to add different costs to moving through each node. This is because A*
uses an optimistic estimate of the cost of a path through every node that it considers
optimistic in that the true cost of a path through that node to the goal will be at least as great
as the estimate.
A* algorithm uses a best-first search and finds a least-cost path from a given
initial node to one goal node. As A* algorithm traverses the tree, it follows a path of the
lowest expected total cost or distance, keeping a sorted priority queue of alternate path
segments along the way. Cost function of node n that denoted by f (n) is to determine the
order in which the search visits nodes in the tree. The cost function ( f(n) = g(n) + h(n) ) is a
sum of two functions which are the past path-cost function, which is the known distance from
the starting node to the current node n denoted by g(n) and future path-cost function, which
is an heuristic estimate of the distance from n to the goal denoted by h(n).
Proposed map
Kelantan is rich Malay tourism centre with many beautiful places. In order to travel from one
place to another place, we need to know about the distance. The route that we have to
choose is started at Seri Tujuh beach and last with Kuala Koh National Park. The distance
from each place to another place was obtained from google maps for the actual distance. To
find the minimal cost which is shortest distance, the estimation distance from a place to the
goal denoted by h (n) is needed. We have estimated about the distance from the place we
are to reach at the goal. The places in the maps were denoted with the symbols. The
distance to source node was set to 0, and the distances to all other nodes to infinity. The h
(n) value and symbols of each places as followed:
Search tree
The distance was calculated using A* algorithm formula which is f (n) = g (n) + h (n). G (n)
refers to the distance travel from one place to another place and h (n) refers to the distance
travel from one place to reach goal. The shortest distance that gives the smallest value was
selected as the best solution. Below is the search tree for the maps from Seri Tujuh Beach to
Kuala Koh National Park. Below is the search tree for the maps from Seri Tujuh Beach to
Kuala Koh National Park.
Shortest route
The proposed shortest route (with minimal cost)
Cost of the route
The proposed cost of the route (in related unit)
Conclusion
Reference
http://en.wikipedia.org/wiki/A*_search_algorithm
http://www.world-islam.com

More Related Content

PPTX
Application of traffic light
PPTX
Traffic light controller
DOCX
Business plan (air umbrella)
PPT
Poster
DOCX
Dijkstra algorithm
DOCX
Application of least square method
PPTX
Comparative study of fish harvesting
PPTX
Business idea
Application of traffic light
Traffic light controller
Business plan (air umbrella)
Poster
Dijkstra algorithm
Application of least square method
Comparative study of fish harvesting
Business idea

More from are you (16)

DOCX
Effective determinants of corporate nano
DOCX
Govida chocolate
PDF
Yourprezi
DOCX
Skrip Arabic (الكتابة العربية)
PPTX
Report ent600
DOCX
Analysis of parallel algorithms for energy consumption
DOCX
Mgt project
PPTX
MyBride Presentation
PPTX
Prezi
PPTX
Levi's jeans presentation
PPTX
Portable Printer
PPTX
Air craft control system of parallel processing
PPTX
Application of Parallel Processing
DOCX
Mybride gallery
PPTX
Atm
PPTX
Levi's jeans
Effective determinants of corporate nano
Govida chocolate
Yourprezi
Skrip Arabic (الكتابة العربية)
Report ent600
Analysis of parallel algorithms for energy consumption
Mgt project
MyBride Presentation
Prezi
Levi's jeans presentation
Portable Printer
Air craft control system of parallel processing
Application of Parallel Processing
Mybride gallery
Atm
Levi's jeans
Ad

Recently uploaded (20)

PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Cell Structure & Organelles in detailed.
PPTX
PPH.pptx obstetrics and gynecology in nursing
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
Classroom Observation Tools for Teachers
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Cell Structure & Organelles in detailed.
PPH.pptx obstetrics and gynecology in nursing
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Anesthesia in Laparoscopic Surgery in India
BÀI TẬP BỔ TRỢ 4 KỸ NĂNG TIẾNG ANH 9 GLOBAL SUCCESS - CẢ NĂM - BÁM SÁT FORM Đ...
Final Presentation General Medicine 03-08-2024.pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
TR - Agricultural Crops Production NC III.pdf
Classroom Observation Tools for Teachers
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Abdominal Access Techniques with Prof. Dr. R K Mishra
Saundersa Comprehensive Review for the NCLEX-RN Examination.pdf
Microbial diseases, their pathogenesis and prophylaxis
Microbial disease of the cardiovascular and lymphatic systems
Physiotherapy_for_Respiratory_and_Cardiac_Problems WEBBER.pdf
human mycosis Human fungal infections are called human mycosis..pptx
Ad

A* algorithm

  • 1. Introduction In January 2014, Uitm student will start the semester break from 20 January until 20 February. We are a group of students are discussing to travel during our semester break. In order to make sure that we have enough time to travel, a proper strategy must be including in our preparation other than money. Our group have decided to visit Kelantan because there are more beautiful places there to be visited. The journey will start at Seri Tujuh Beach at Tumpat to the National Park at Kuala Koh. From the beach, we have to find the shortest route to save our time and arrived earlier to make other activities at Kuala Koh National Park. Our group discover for the route from the beach to the National Park through some others place to be visited. For examples, Kota Bharu Trade Centre, Bisikan Bayu Beach, Jeram Linang waterfall, Kelantan River, Stong mountain, Berangkat mountain and Cintawangsa mountain. The difficulty that we have to face is they want to still be able to generate the path with minimum cost. By choosing the best method, we will find the shortest route from Seri Tujuh beach to National Park. Objective The main objective of the project is to find the shortest distance to travel from Seri Tujuh beach to Kuala Koh National Park in Kelantan State.
  • 2. Project scope Regarding to the problem that we face before, the suitable map was purposed to find the shortest distance. The project scope is in Malaysia which is Kelantan state. There are many places to be visited in Kelantan that we have discovered such as Kota Bharu Trade Centre, Bisikan Bayu Beach, Jeram Linang waterfall, Kelantan River, Stong Mountain, Berangkat Mountain and Cintawangsa Mountain. We need to pass through these places to arrive at our destination which is Kuala Koh National Park. We may visit the place that will consider the shortest distance for us to reach there. Then for the next other places to be visit, we also considered about the shortest distance. The places that will give the shortest distance from the place that we were located will be choosing.
  • 3. Search method In order to find the shortest distance from Seri Tujuh beach to Kuala Koh National Park, the best method is by using A* algorithm. The method of A* algorithm is most famous solution for this problem. Generally, the solution is the most efficient used in most cases and give better implementation. A* algorithm was selected due to the important properties which is will always return the shortest path if a path exists to the destination. Other algorithms may find a path faster but it is not necessarily the "best" path we can take. A* uses a heuristic to search nodes considered more likely to lead to the destination first, allowing us to often find the best path without having to search the entire map and making the algorithm much faster. Other than that, A* is based on the idea that each node has some cost associated with it. If the costs for all nodes are the same then the best path returned by A* will also be the shortest path but A* can easily allow us to add different costs to moving through each node. This is because A* uses an optimistic estimate of the cost of a path through every node that it considers optimistic in that the true cost of a path through that node to the goal will be at least as great as the estimate. A* algorithm uses a best-first search and finds a least-cost path from a given initial node to one goal node. As A* algorithm traverses the tree, it follows a path of the lowest expected total cost or distance, keeping a sorted priority queue of alternate path segments along the way. Cost function of node n that denoted by f (n) is to determine the order in which the search visits nodes in the tree. The cost function ( f(n) = g(n) + h(n) ) is a sum of two functions which are the past path-cost function, which is the known distance from the starting node to the current node n denoted by g(n) and future path-cost function, which is an heuristic estimate of the distance from n to the goal denoted by h(n).
  • 4. Proposed map Kelantan is rich Malay tourism centre with many beautiful places. In order to travel from one place to another place, we need to know about the distance. The route that we have to choose is started at Seri Tujuh beach and last with Kuala Koh National Park. The distance from each place to another place was obtained from google maps for the actual distance. To find the minimal cost which is shortest distance, the estimation distance from a place to the goal denoted by h (n) is needed. We have estimated about the distance from the place we are to reach at the goal. The places in the maps were denoted with the symbols. The distance to source node was set to 0, and the distances to all other nodes to infinity. The h (n) value and symbols of each places as followed:
  • 5. Search tree The distance was calculated using A* algorithm formula which is f (n) = g (n) + h (n). G (n) refers to the distance travel from one place to another place and h (n) refers to the distance travel from one place to reach goal. The shortest distance that gives the smallest value was selected as the best solution. Below is the search tree for the maps from Seri Tujuh Beach to Kuala Koh National Park. Below is the search tree for the maps from Seri Tujuh Beach to Kuala Koh National Park.
  • 6. Shortest route The proposed shortest route (with minimal cost) Cost of the route The proposed cost of the route (in related unit) Conclusion Reference http://en.wikipedia.org/wiki/A*_search_algorithm http://www.world-islam.com