Channel BannerChannel Banner
A60q6dcoCjwA60q6dcoCjw

The hidden beauty of the A* algorithm

1,037,286
Socialcounts.OrgEnter Fullscreen (f)
33,880
likes
514
comments
daily view 0
monthly view 0

Share

Live Analytics

Comments 0

The hidden beauty of the A* algorithm Analytics Table

Income Estimates for The hidden beauty of the A* algorithm

Based on this YouTube video's total view count of 1.03M views and industry-standard rates, the estimated total earning is $726 - $2.07K through ad revenue. Historical data is not yet available to calculate daily, weekly, or monthly averages.

About The hidden beauty of the A* algorithm

Explore The hidden beauty of the A* algorithm with 1,037,286 views, 33,880 likes, and 514 comments. Experience the impact of this video content that has captured audience attention.

00:00 Intro 01:38 Change the lengths! 06:34 What is a good potential? 12:31 Implementation 16:20 Bonus Tom Sláma's video: https://youtu.be/umszOeerdsU Patreon: https://www.patreon.com/Polylog Website: https://polylog.cc Github: https://github.com/polylog-cs/Astar/tree/main Blog: https://vasekrozhon.wordpress.com/2024/09/04/the-hidden-beauty-of-the-a-algorithm/ Some related stuff: -- One thing I did not mention is that Dijkstra's algorithm is designed to solve the problem of finding the shortest path from the start node to all other nodes of the graph. It does this job very well, in almost linear time, so there is not much to improve there. It is the problem of finding the shortest path between two nodes where A* usually improves upon Dijkstra. -- Here is a link to another example of A* run from Sarajevo to east Italy. You can see how the algorithm quickly reaches the first city, Tirana, but then it gets stuck because of the Adriatic sea. So it searches along its coastline until it finds Italy. After that it confidently runs through Italy until it finds the destination. https://github.com/polylog-cs/Astar/blob/main/Explore.mp4 -- If your heuristic is not consistent, but at least admissible, A* will still return the correct answer, though its time complexity may be exponential in the network size. -- IDA* is a popular algorithm that relates to iterative deepening depth first search the same way as A* relates to Dijkstra/breadth first search. -- A perhaps simplest application of potential reweighting technique is the Johnson’s algorithm: https://en.wikipedia.org/wiki/Johnson%27s_algorithm -- See also this codeforces blog post that collects some applications of potentials in competitive programming. https://codeforces.com/blog/entry/95823 -- The underlying reason why potentials are often so useful is that they are dual to the concept of distances in the sense of linear programming duality. Problems: -- Prove that heuristics from the video are consistent. -- Prove that the maximum of two consistent heuristics is still consistent. (Thus, if you have two incomparable heuristics, you should combine them this way. ) -- Prove that for any heuristic that is consistent, equal to zero for the goal state and otherwise nonnegative, A* always explores less states than Dijkstra. That is, apart for the time spent on computing the heuristic, A* is never worse than Dijkstra in the problem of finding the shortest path between two points. Big thanks to: Richard Hladik, Matěj Konečný, Martin Mareš, Yannic Maus, Jan Petr, Vojtěch Rozhoň, Hanka Rozhoňová, Tom Sláma Links in the video: maps.google.com https://geojson.io/ https://public.opendatasoft.com/explore/dataset/europe-road/export/?refine.icc=BE https://stackoverflow.com/questions/29470253/astar-explanation-of-name Credits: To make this video, we used manim, a Python library: https://docs.manim.community/en/stable/ The color palette we use is solarized: https://ethanschoonover.com/solarized/ music: Thannoid by Blue Dot Sessions: https://app.sessions.blue/browse/track/126782 music: Also sprach Zarathustra from Strauss from wikimedia commons image of the scroll: https://www.pxfuel.com/en/desktop-wallpaper-aadkb images of the cities are from wikimedia commons

About YouTube Real-Time View Count

With SocialCounts.org’s view counter, track your YouTube video’s live view count and YouTube likes count in real time with fast, reliable updates.

Watch every YouTube video live view count rise with our real-time YouTube views tracker—built for accuracy and minimal delay.

Follow YouTube real time views as they happen, using our dedicated view counter for YouTube videos.

Get up-to-date live view count on YouTube and see real-time growth with SocialCounts.org’s smart tracking tools.

Embed Widget

Parameters:

  • fullscreen=true - Fullscreen counter
  • graph=true - Live graph chart
  • counter=0/1/2 - Select counter (0=likes, 1=views, 2=comments)
URL

Click to copy the embed URL to your clipboard