A* search

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 พ.ค. 2012
  • Professor Abbeel steps through A* search examples.

ความคิดเห็น • 97

  • @ro1942
    @ro1942 3 ปีที่แล้ว +7

    This is the best explanation / visualisation of A* I have come across on TH-cam - you use clear language and a clear example - Thank you Pieter Abbeel!

  • @dance2die
    @dance2die 7 ปีที่แล้ว +1

    I watched 4 A* related videos and I was able to understand the best with this video! Thank you, Professor Abbeel!

  • @dontusehername
    @dontusehername 6 ปีที่แล้ว +2

    I liked how you expanded each node in a tree structure, makes a world of difference!

  • @huansu7594
    @huansu7594 9 ปีที่แล้ว +1

    That's the one perfect explanation that I've been looking for! Explain from all aspects and the most important thing is explaining why. I will keep following.

  • @Murphyalex
    @Murphyalex 9 ปีที่แล้ว +1

    That was a really, really good explanation. Went into just the right amount of repetitions of the working out for it to really sink in.

  • @ABCEE1000
    @ABCEE1000 7 ปีที่แล้ว +1

    You are the man Mr.Pieter , Thank you so much and carry on please

  • @windyalessia7729
    @windyalessia7729 8 ปีที่แล้ว +3

    Thank you, thank you brother pieter!! , I was struggling figuring out this on internet will all those complex maths till I found your video.

  • @effy1219
    @effy1219 5 ปีที่แล้ว

    this is the most clearest one on youtube the hand writing pattern here is very neat and easy to use.

  • @RachitParihar
    @RachitParihar 8 ปีที่แล้ว +2

    Simply amazing !!!
    Keep on posting such tutorials.

    • @RachitParihar
      @RachitParihar 3 ปีที่แล้ว

      @Zechariah Justice yeah for me as well thanks

  • @arjunshah6273
    @arjunshah6273 8 ปีที่แล้ว +2

    excellent tutorial sir! thanks a lot. I had spent so much time on this topic before watching this, you taught it extremely well.

  • @StreetArtist360
    @StreetArtist360 10 ปีที่แล้ว

    You made it look easy. :-) . Thank you. Keep it up.

  • @DolphinOrgy
    @DolphinOrgy ปีที่แล้ว

    Made simple and easy to understand. Right before my exam :D Thank you

  • @sulaijasterrogue
    @sulaijasterrogue 9 ปีที่แล้ว

    This video help me before mid test exam, thanks and nice explanation :) LIKED

  • @mayankjaiswal2752
    @mayankjaiswal2752 7 ปีที่แล้ว

    Dude you are great. I tried so much but got it only after seeing your video.

  • @angelgabriel9768
    @angelgabriel9768 6 ปีที่แล้ว

    I have loved this, sir. Thanks

  • @amitkulkarni1194
    @amitkulkarni1194 6 ปีที่แล้ว

    Great tutorial.
    Thanks a ton

  • @jordanstewart225
    @jordanstewart225 9 ปีที่แล้ว +5

    8:22 priority queue
    13:07 graph search

  • @myip05
    @myip05 7 ปีที่แล้ว

    awesome explanation! thank you very much!

  • @tarknural5963
    @tarknural5963 2 ปีที่แล้ว

    very clear and detailed explanation, thank you :)

  • @dhariniparvathinathan6314
    @dhariniparvathinathan6314 7 ปีที่แล้ว

    Very clear explanation :) Thank you sir

  • @kyleyeh8181
    @kyleyeh8181 2 ปีที่แล้ว

    Thanks for the video. It's really informing. I have a question about the consistency and optimality though. I was taught that if H is admissible but not consistent, we still get the optimal solution, and it's just we need to expand more nodes. Am I right?

  • @MattY3432
    @MattY3432 9 ปีที่แล้ว +1

    awesome tutorial!

  • @lampidea7517
    @lampidea7517 8 ปีที่แล้ว

    thank you so much i dont have any question for this video, its really helpful

  • @COKEDUDEUSF
    @COKEDUDEUSF 9 ปีที่แล้ว

    How do you know if you have a consistent heuristic or not? I didn't understand that part.

  • @brnjacobe
    @brnjacobe 10 ปีที่แล้ว

    This gave me a better understanding of A* search. Thanks!

  • @305alejandro1
    @305alejandro1 7 ปีที่แล้ว

    very well explained. thank you

  • @frangutierrez5395
    @frangutierrez5395 9 ปีที่แล้ว

    Thank you! Your video help me a lot for understand the algorithm. Like

  • @RevoltEnergy
    @RevoltEnergy 6 ปีที่แล้ว

    Is this algorithm good for finding optimal travel route from city A to city B with transfers by train and bus, which have static route and schedule? I think because of heuristic this algorithm is more suitable than Dijkstra

  • @chry470
    @chry470 8 ปีที่แล้ว +1

    Thank you so much!!

  • @anandsingh1711
    @anandsingh1711 8 ปีที่แล้ว +1

    good explanation!!!! Thanks

  • @jesuspreset
    @jesuspreset 8 ปีที่แล้ว +1

    If the graph is not directed, what happens? Will it just explore all the paths avoiding already visites vertices/nodes?

  • @JohnTehPainter
    @JohnTehPainter 8 ปีที่แล้ว

    Thanks Pieter. The lecture I was given on this was shit but this helped a lot.

  • @telugunewtons2304
    @telugunewtons2304 4 หลายเดือนก่อน

    Best and clear explanation

  • @annamas1959
    @annamas1959 7 ปีที่แล้ว +2

    Interesting video :) Thanks

  • @sharanharsoor
    @sharanharsoor 7 ปีที่แล้ว

    Clearly explained. Thanks :)

  • @lordmahakaal
    @lordmahakaal 2 ปีที่แล้ว

    Which heuristic function did you use?

  • @Itisnanful
    @Itisnanful 9 ปีที่แล้ว +2

    Very clear explanation! Thank you!

  • @tarekmohammedal-ktrani2189
    @tarekmohammedal-ktrani2189 3 ปีที่แล้ว

    Is there an equation to calculate the Historic value

  • @TUTTIfutre
    @TUTTIfutre 7 ปีที่แล้ว

    great explanation ! Thanks :)

  • @tz607
    @tz607 3 ปีที่แล้ว

    Thank you 😃, it help a lot .

  • @BBoyXy
    @BBoyXy 10 ปีที่แล้ว

    Very useful, thank you very much

  • @mirsahib596
    @mirsahib596 5 ปีที่แล้ว

    will it be wrong if i choose to expand s-b-c before s-a

  • @spacepod100
    @spacepod100 8 ปีที่แล้ว +1

    do you have any pseudo code for this algorithm?

  • @moygomez2743
    @moygomez2743 8 ปีที่แล้ว

    how you get the table values?

  • @styxknight
    @styxknight 6 ปีที่แล้ว

    I wanted to ask, if the next lowest node's f value to be expand happens to be the goal node, then it reached the solution?
    An awesome explanation of A* btw :D

  • @ber1004
    @ber1004 6 ปีที่แล้ว

    THANKS..it is very clear .

  • @simarpreetsingh6604
    @simarpreetsingh6604 8 ปีที่แล้ว +3

    That was an awesome explanation,, better than any MIT professor.

  • @2LZA3EEM
    @2LZA3EEM 6 ปีที่แล้ว

    when h become admissible ?
    and is there 2 way to solve A* algo ??

  • @aiswarya3461
    @aiswarya3461 6 ปีที่แล้ว +1

    Thank u so much...☺️

  • @anbaannbb
    @anbaannbb 8 ปีที่แล้ว

    Thank you very much sir...

  • @ojaroza
    @ojaroza 11 ปีที่แล้ว

    good video.
    would you like to introduce about branch and bound finding clique?
    tanks before.

  • @Veenaali786
    @Veenaali786 10 ปีที่แล้ว +8

    how did you did get the value of H in the table???????????

    • @PieterAbbeel
      @PieterAbbeel  10 ปีที่แล้ว +5

      In real-world application of A*, indeed, a big part of the challenge will be to come up with a good heuristic function. For this video, there is no real-world application behind it, it's just illustrating the execution of A* for a given search problem and heuristic function.

    • @Veenaali786
      @Veenaali786 10 ปีที่แล้ว +1

      thank you so much for illustrating

  • @MrBoooDie
    @MrBoooDie 8 ปีที่แล้ว

    Awesome :) Thanks So Much

  • @sanjay.choudhary
    @sanjay.choudhary 8 ปีที่แล้ว

    awesome sir very nice

  • @satsupercool
    @satsupercool 10 ปีที่แล้ว

    great video. thanks!

  • @hamoudaq7953
    @hamoudaq7953 10 ปีที่แล้ว

    great illustration

  • @sulemanahmad1907
    @sulemanahmad1907 8 ปีที่แล้ว +1

    Thanks a lot

  • @jansiranibdumtcs
    @jansiranibdumtcs 10 ปีที่แล้ว +3

    how do you get heuristic value?

    • @michaelkang2277
      @michaelkang2277 7 ปีที่แล้ว

      Yeah how did you get it?

    • @haydo8373
      @haydo8373 7 ปีที่แล้ว +2

      It's specific to each problem, you decide. For example, if the application was google maps suggesting routes, it may factor in the speed limits in each section, so whilst route a might be shorter, you may have to drive slow for a long period.

  • @yu8644
    @yu8644 8 ปีที่แล้ว

    thank you a lot!

  • @imalive404
    @imalive404 8 ปีที่แล้ว

    Professor could you please post a lecture on calculating heuristics? Thanks for an awesome explaination here

    • @RLLberkeley
      @RLLberkeley 8 ปีที่แล้ว +1

      +imalive Certainly! Our complete course is available here: ai.berkeley.edu. Under "Lectures" -> "Lecture 3: Informed Search" has several examples of how to come up with heuristics.

    • @imalive404
      @imalive404 8 ปีที่แล้ว

      +RLLberkeley Thank You :)

  • @insafyoucefachira6544
    @insafyoucefachira6544 7 ปีที่แล้ว

    what does it mean admissible

  • @UgoGbenimachor928
    @UgoGbenimachor928 8 ปีที่แล้ว +4

    please how did you estimate the S to be 7....i'm a bit confused

    • @dontusehername
      @dontusehername 6 ปีที่แล้ว +1

      That's the heuristic value. Assume that you have the entire map with you, then you can calculate an approximate distance between any 2 locations. It could be point-to-point for example.

    • @nirmalkc1234
      @nirmalkc1234 5 ปีที่แล้ว

      He didnt estimate that s is 7. The formula to calculate f(n) is g(n) + h(n) and since S's g(n) is 0 (i.e. distance away from starting node since it is the starting node itself) and h(n) is 7 so f(n) is 0 + 7 i.e. 7. Hope I am not too late.

  • @allomyself
    @allomyself 8 ปีที่แล้ว

    Thx friend

  • @masaash12
    @masaash12 8 ปีที่แล้ว

    thank you ..

  • @simka123
    @simka123 9 ปีที่แล้ว

    thank you

  • @pratoshkumarnanu
    @pratoshkumarnanu 8 ปีที่แล้ว

    sir, what if we are not given the heuristic values??

    • @RLLberkeley
      @RLLberkeley 8 ปีที่แล้ว

      +pratosh kumar Great question! The A* algorithm itself is very general, and applies to a wide range of problems without change. But for each specific domain an expert would have to come up with the heuristic function --- keeping in mind to choose a consistent heuristic to ensure optimality. For example, if finding routes on a road network, you could pick h = straight line distance to the destination.

    • @RLLberkeley
      @RLLberkeley 8 ปีที่แล้ว

      +pratosh kumar Great question! The A* algorithm itself is very general, and applies to a wide range of problems without change. But for each specific domain an expert would have to come up with the heuristic function --- keeping in mind to choose a consistent heuristic to ensure optimality. For example, if finding routes on a road network, you could pick h = straight line distance to the destination.

    • @pratoshkumarnanu
      @pratoshkumarnanu 8 ปีที่แล้ว

      Thank you sir.. appreciate ur work..

  • @harichavan1793
    @harichavan1793 6 ปีที่แล้ว +1

    Good

  • @samiulakib1125
    @samiulakib1125 8 ปีที่แล้ว

    thank you ^_^

  • @housseinalaeddine9002
    @housseinalaeddine9002 10 ปีที่แล้ว

    Thank you for this video. But there is two errors here : the first one is that you explore nodes in closed list and the second one is the inadmissible Heuristic function that you use. If you don't explore nodes in closed list then with this heuristic you will not find the shortest path

    • @PieterAbbeel
      @PieterAbbeel  10 ปีที่แล้ว

      Hi Rayhan, thanks for your clarifying comment! This video illustrates A* Tree Search and A* Graph Search---as algorithms, in the context of CS188 at Berkeley (for which you can find all materials online). Sounds like you are most familiar with A* Graph Search, which indeed has a closed list and doesn't expand nodes in the closed list. A* Tree Search on the other hand doesn't keep around a closed list, it's a slightly different algorithm. Regarding properties of the heuristic function: Indeed, an admissible heuristic is required for A* Tree Search to be guaranteed to be optimal, and a consistent heuristic is required for A* Graph Search to be guaranteed to be optimal. However, even when those properties don't hold both algorithms are still perfectly well defined, and part of the point of these video is exactly to illustrate what happens when those properties do not hold.

  • @yangzhangchannel
    @yangzhangchannel 2 หลายเดือนก่อน

    Hi, I think your H values are wrongly designed because H needs to satisfy that H(n)

  • @caizhengyu
    @caizhengyu 4 ปีที่แล้ว

    untrue, admissible implies optimal solution

  • @thannguyen1089
    @thannguyen1089 9 ปีที่แล้ว

    proof: if h(n) is admissible, A* using Tree-Search is
    optimal.
    help me!!

  • @rajanlad
    @rajanlad 9 ปีที่แล้ว

    2:58 you have written the value of s- a - b = 5 instead of 4

    • @PieterAbbeel
      @PieterAbbeel  9 ปีที่แล้ว

      5 was obtained as follows: backward cost s - a - b, which equals 1+2 = 3 PLUS forward cost estimate provided by the heuristic at b, which equals 2, together equalling 5

    • @rajanlad
      @rajanlad 9 ปีที่แล้ว +1

      yeah , got it , but in video you have written it as (1+2)+1

    • @PieterAbbeel
      @PieterAbbeel  9 ปีที่แล้ว +1

      rajan lad Ha, thanks, that handwriting could indeed have been clearer...

  • @user-ws2rp3hi1w
    @user-ws2rp3hi1w 5 ปีที่แล้ว

    what a mess man

  • @billykotsos4642
    @billykotsos4642 2 ปีที่แล้ว

    Who cares about A* when you have Deep RL?