• Increase font size
  • Default font size
  • Decrease font size

A* search algorithm

The algorithm is widely used in path-finding and graph traversal problems. It is an extension of Edsger Dijkstra's algorithm (1959). A* achieves better performance (with respect to time) by using heuristic function.

 

Peter Hart, Nils Nilsson and Bertram Raphael of Stanford Research Institute (now SRI International) described the algorithm in 1968.

It is a best-search first algorithm (best-search first alg. is estimating the promise of node n by a function f(n) tha is actually "heuristic evaluation function" f(n), so f(n) = h(n) ).

A* algorithm uses f(n) as well but it consits of two parts:

1. cost function to the node = known distance from the starting node to the current node 'n' - usually denoted g(n)

2. a future path-cost, which is an admissible "heuristic estimate" of the distance from the current node 'n' to the goal - usually denoted h(n)

Then f(n) = g(n) + h(n)

 

Demo

The demo below demonstrates how A* algorithm works. There are 2 grey rectangles. The left one is the start position and the right one is the position we want to get. Obviously there are also obstacles between them so the algorithm has to find the way around them.

 

 

Comments  

 
0 #84 Danielkam 2018-07-06 13:52
Предлагаем приобрести мелким и крупным оптом сумки http://www.mix-bags.ru , которые нашей компанией доставляются в любые регионы России. Мы реализуем сумки собственного производства. Нацелены на крупный товарооборот, при этом неизменно предлагаем покупателям качественную продукцию и максимально возможный ассортимент.
http://www.mix-bags.ru - http://s019.radikal.ru/i625/1709/33/099565e2c040.jpg
Quote
 
 
0 #83 KIRAHona 2018-07-01 21:02
To determine internal swelling is difficult enough, therefore, consequently, they influence the body for a long time, which threatens the normal fetus. Fluids are dangerous because they break blood circulation. Similar picture leads to the strengthening of negative tendencies feeding and the breath baby, created hypoxia.
Fighting such a pathology should be done with the help of correction feeding and special procedures so that fluid does not stay tissues. If the woman is resting, then under the feet better put a cushion or pillow to improve the blood circulation of tired legs. Do not long time to sit or stand, as this leads to stagnation in the body. It is recommended that the knee-elbow position several times a day in order to increase blood flow.
how to relieve breast pain during pregnancy
Quote
 
 
0 #82 grow Faster 2018-05-21 04:48
We stumbled over here from a different web page and thought I should cheeck hings
out. I lie what I see so i am just following you. Look forward to going over your web page again.

Look into my page - grow Faster: https://bit.ly/2Is2FRs
Quote
 
 
0 #81 Long Eyelashes 2018-05-20 20:16
Fabulous, what a webssite it is! This blog gives helpful facts to us, keep it up.


Feel free to surf to my web-site: Long Eyelashes: https://bit.ly/2Is2FRs
Quote
 
 
0 #80 Long Eyelashes 2018-05-20 19:25
Its such ass you read mmy mind! You seem tto know so much aapproximately this, like yoou wrote the book in it oor something.
I think that yyou just can do with a few % to pressure the message house
a ittle bit, however other than that, thhat is great blog.
A great read. I'll definitely be back.

Visit my site ... Long
Eyelashes: https://bit.ly/2Is2FRs
Quote
 
 
0 #79 Grow Faster 2018-05-20 09:34
Howdy, I think your website could be having browser compatibility issues.
When I look at your web site in Safari, it looks fine however when opening inn I.E., it's
got some overlapping issues. I merely wanted to give you a quick
heads up! Aside from that, wonderful blog!

My blog post Grow Faster: https://bit.ly/2Is2FRs
Quote
 
 
0 #78 Eyelashes Growth 2018-05-19 23:46
Hi to all, it's genuinely a pleasant for me too go
to see this website, it consists of valuable Information.

Here is my webpage ... Eyelashes Growth: https://bit.ly/2Is2FRs
Quote
 
 
0 #77 eyelashes growth 2018-05-19 22:37
If somne one desires expert view regarding blogging afterward i propose him/her to pay a visit this website,
Keep up the nice job.

Here iss my blog post; eyelashes growth: https://bit.ly/2Is2FRs
Quote
 
 
0 #76 long eyelashes 2018-05-19 15:26
I would lie to thank you for the efforts you have putt in writing this blog.

I'm hoping to see the same high-grade content from you later on as
well. In fact, your creative writing abilities has motiivated
me to get my own site now ;)

Look at my web page: long eyelashes: https://bit.ly/2Is2FRs
Quote
 
 
0 #75 eyelashes Ticker 2018-05-19 03:28
Very quickly this site will be famous amid all blogging aand site-building visitors, due to it's good posts

Stop by my web-site ... eyelashes Ticker: https://bit.ly/2Is2FRs
Quote
 

Add comment

No bad words.


Security code
Refresh


New articles

Differential Equations - Simple spring model Machine Learning and Robotics
Read More 1917 Hits
Kalman Filter implementation Machine Learning and Robotics
Read More 2728 Hits
Inverse kinematics Machine Learning and Robotics
Read More 3466 Hits
gpsim tutorial Machine Learning and Robotics
Read More 8554 Hits

Most read content

New articles

Differential Equations - Simple spring model Machine Learning and Robotics
Read More 1917 Hits
Kalman Filter implementation Machine Learning and Robotics
Read More 2728 Hits
Inverse kinematics Machine Learning and Robotics
Read More 3466 Hits
gpsim tutorial Machine Learning and Robotics
Read More 8554 Hits
Design by i-cons.ch / etosha-namibia.ch