A* (A Star) Search Algorithm - Computerphile

A* (A Star) Search Algorithm - Computerphile

Computerphile

7 лет назад

1,203,722 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@davidmakowka922
@davidmakowka922 - 03.03.2022 23:25

Super sneaky is from now on totally technical term 😂

Ответить
@amrito9580
@amrito9580 - 08.03.2022 15:55

who are you talking to

Ответить
@footballbaby945
@footballbaby945 - 21.03.2022 19:35

thank you teacher

Ответить
@jonathanarendt8884
@jonathanarendt8884 - 30.03.2022 17:36

Okay, what about if you went from Node C to Node E? By my understanding the algorithm would take you via C, L, J, K, E, however, it appears the fastest travel would actually be C, S, B, H, G. It seems like that would be like starting on one end of a city and having to reach the other, and Google Maps is telling you the fastest way to go is straight through the middle of the city, however there's a motorway that travels around the city and is much faster.

Ответить
@vitaliypenkov
@vitaliypenkov - 25.04.2022 01:10

Love the content, but it's extremely super difficult to stay focused with camera jumping on and off the paper with the graph. I feel a little bit dizzy every 3 minutes, so had to take often breaks

Ответить
@resul6800
@resul6800 - 17.05.2022 22:12

more I watch this video less I understand A* search

Ответить
@zenec_
@zenec_ - 07.06.2022 14:53

makes no sense to me.. help XD

Ответить
@tomWil245
@tomWil245 - 09.06.2022 20:13

Thanks!!! Extraordinary clear. Loved the heuristic device!

Ответить
@AdrianMunteanu92
@AdrianMunteanu92 - 29.06.2022 09:26

I would like a video about the D* algorithm, please.

Ответить
@Alex-vb9pj
@Alex-vb9pj - 26.08.2022 03:20

are u a lecturer in nottingham uni?

Ответить
@glennchoi897
@glennchoi897 - 29.09.2022 05:01

Excellent explanation. I noticed D, and played it twice to make sure it is a mistake. And, then I read the description. Thank you for putting the video up.

Ответить
@cseteacher23
@cseteacher23 - 05.10.2022 22:13

Too fast British accent! I could hardly follow two consecutive sentences.

Ответить
@olsen99q
@olsen99q - 15.10.2022 17:33

This example is not admissible (as well as not consistent), right? because the heuristic of 10 overestimates the actual resulting path cost of 9. Is that correct?

Ответить
@mugambindwiga163
@mugambindwiga163 - 22.10.2022 18:52

You got coffee, Mike?
Really?
Not tea?
Really?

Ответить
@matthewgeorge5750
@matthewgeorge5750 - 09.11.2022 18:53

Brilliant

Ответить
@jasonschattman2336
@jasonschattman2336 - 04.01.2023 07:58

Excessively verbose and in need of an editor. Get your cards in order and ready to use before filming, not during.

Ответить
@anonymousvevo8697
@anonymousvevo8697 - 18.01.2023 18:33

i think you mad a mistake regarding D, where f(n) is 14 not 12, thanks

Ответить
@kebman
@kebman - 28.01.2023 13:10

This explanation is great in that it explains what the machine does. Meanwhile I also like the intuition given in polylog's video.

Ответить
@rameshkumargovindaraju4504
@rameshkumargovindaraju4504 - 07.02.2023 00:26

brilliant. thank you for this lecture. So much better than what I had heard thus far.

Ответить
@camo736
@camo736 - 25.05.2023 20:49

your face looks like someone punched from the left

Ответить
@maximiliankalff9096
@maximiliankalff9096 - 08.08.2023 09:12

support ist kein mord

Ответить
@vinitvsankhe
@vinitvsankhe - 21.09.2023 22:52

One neat trick is to "prefer" one metric over another and use power notation to calculate overall heuristic. E.g. a node with distance 7 but weight 2, we added them as 7+2 = 9. But instead of that if we prefer shorter distance over smaller weight then weight should be the base raised to the power of distance.

So this way we can choose easily between two nodes that would otherwise yield the same heuristic if we add them but with the new rule if one node is with weight of 2 and distance of 7 (2^7=128) and another has distance of 2 and weight of 7 (7^2 = 49) ... we chose the later as 49 < 128 because we preferred the one closer to the end node.

Google maps often use this trick.

Ответить
@jinbai4867
@jinbai4867 - 23.09.2023 05:25

How to find a better heuristics is fun, you could try different ones. It is very interesting.

Ответить
@sarahebal4391
@sarahebal4391 - 27.09.2023 08:32

well explained dr Pound, sir in my problem I need to determine a set of feasible paths to use in multi-path routing but the main issue is the cost of edges and nodes in the graph it has a quadratic relation to the flow which is unknown in the first place so how can I so how can solve it, please!

Ответить
@Emanuel-oz1kw
@Emanuel-oz1kw - 03.10.2023 21:11

Great content and excellent editing!

Ответить
@parmesanzero7678
@parmesanzero7678 - 15.10.2023 18:52

Ah, the accent from which America stole all of its hard R’s.

Ответить
@egor.okhterov
@egor.okhterov - 25.11.2023 22:47

I am here after Q* from OpenAI 😂

Ответить
@jondoe22575
@jondoe22575 - 29.11.2023 15:39

Of course this pops up on my suggestions after talk of Q* is blowing up. Lol

Ответить
@Himanshubishnoi-qg6yg
@Himanshubishnoi-qg6yg - 01.12.2023 08:47

please try to delete the accent so everyone can understand

Ответить
@gnupph
@gnupph - 09.01.2024 22:11

lol tape measuring inches

Ответить
@Sindoku
@Sindoku - 22.01.2024 09:50

His calculation for "D" in A* was off. D was S + B + D (0 + 2 + 4) or 6, and it had a heuristic of 8, so that is 14. He wrote down 12 in black. Not a major deal breaker here obviously, but just pointing it out b/c that's what us programmers do :). Thanks so much for the video!

Ответить
@gonzooxx
@gonzooxx - 15.02.2024 16:44

If the distance between G and E is set to 15. This could happen, if this route was crossing a mountain, whit lots of bending roads up and down a mountain. It could be close in term of the euclidean distance, but the route could be much longer, both in time, fuel consumption and km/miles. So again if the distance between nodes G and E is set to 15, then this algorithm is not finding the shortest path. Because it will still find this route S -> B -> H -> G -> E even though there is a shorter route, which is S -> C -> L -> J -> K -> E. This happens because G is on the top of the 'ordered list of combined length', just before it finds the solution going to E, which is heavily penalized on the last stretch between G and E. So to mitigate this problem the algorithm should continue, to search after a shorter route, after finding the first solution. All nodes witch is being evaluated, after finding the first 'shortest path', should not be inserted again or deleted into/from the 'combined length sorted list', if the combined length calculated, is longer than the first found 'shortest path'. Then continue until the 'combined length sorted list' is empty. 'shortest path' could be lowered many times.

Ответить
@kahnfatman
@kahnfatman - 18.02.2024 02:26

Genii are left handed.

Ответить
@vivekpadman5248
@vivekpadman5248 - 25.02.2024 09:59

I guess distance here isn't the scale distance but the number of nodes coming in the middle 😅 or am I wrong?

Ответить
@peanut7945
@peanut7945 - 02.03.2024 13:05

This new office episode looks great

Ответить
@lasindunuwanga5292
@lasindunuwanga5292 - 19.03.2024 06:30

doesnt understand a word he says!

Ответить
@egg1645
@egg1645 - 08.04.2024 21:37

Student here, thank you! This is a really clean explanation and you clearly really love A star :)

Ответить
@daviddugar3483
@daviddugar3483 - 16.05.2024 16:49

He made a mistake when he expanded D from point B. He should get a heuristic value 14 not 12 (because 2 + 4 + 8, while he just added up 4 + 8 to get the value)

Ответить
@leoncatak8295
@leoncatak8295 - 15.06.2024 23:06

Peregrine ? 🙂

Ответить
@d4m4s74
@d4m4s74 - 25.06.2024 14:02

Just rewatched this because I need to solve a maze and didn't understand how a* works.
Time to do some programming

Ответить
@SebastianSkadisson
@SebastianSkadisson - 06.07.2024 15:30

Imagine video games without A* by Peter Hart, Nils Nilsson, and Bertram Raphael - it would just be NPCs running into walls and obstacles.

Ответить
@monilcharola6873
@monilcharola6873 - 11.08.2024 00:42

Why did not I refer this elegent video of your's when I was back in college. I have feared this A* algo till this day, because of the heuristic function, and literally nobody has been able to explain it in this simple manner. Thanks for the video, much appreciated!

Ответить
@pedroinaciorodriguespontes
@pedroinaciorodriguespontes - 08.09.2024 20:45

Thanks, from Brasil

Ответить
@SpermaStadt
@SpermaStadt - 21.09.2024 18:31

Always happy when studying for an exam, and Computerphile has made a video about the topic

Ответить
@karangupta3394
@karangupta3394 - 24.09.2024 14:31

great and fascinating explanation of a star.

Ответить
@PooryaArdestani
@PooryaArdestani - 19.10.2024 12:09

I think you calculate the 'd' node value wrong
it should be 14 instead of 12

Ответить
@prateeksaraswat1
@prateeksaraswat1 - 19.12.2024 03:18

2024 Advent of Code brought me here. ❤

Ответить