BFS algorithm example | informed search | AI | Lec-19 | Bhanu Priya

แชร์
ฝัง
  • เผยแพร่เมื่อ 6 มิ.ย. 2024
  • Example on BFS algorithm (informed search) in artificial intelligence

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

  • @ai_anisha3118
    @ai_anisha3118 4 ปีที่แล้ว +22

    thank you so much, for this lec, I really understand all ur lec on AI ,CA,DS and CD. it is very useful

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

    Thank you very much. your videos helped me a lot specially in my AI and Compiler course🙏🙏

  • @Ruthviq
    @Ruthviq 2 หลายเดือนก่อน +1

    By far the best lecture I have ever seen..

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

    Nicely explained! Thanks alot.

  • @dashengovender766
    @dashengovender766 3 ปีที่แล้ว +6

    Mam you explained this very well, thank you.

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

    Very good lecturing

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

    Very much uselful thanks a lot 🙏

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

    very nice explanation mam

  • @AJ-vq9ym
    @AJ-vq9ym 2 ปีที่แล้ว +1

    well explain

  • @sushmashankar5179
    @sushmashankar5179 3 ปีที่แล้ว +2

    Really superb explaination mam,wonderfully mam ,do more videos mam,u made our life easy...tq u

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

    You have a very sweet voice ma'am 💓

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

    Thanks alot dear

  • @kavink3495
    @kavink3495 18 วันที่ผ่านมา

    how did you write heuristic values
    what happens if h=0 for node i and h= 9 for node G

  • @saivijay9483
    @saivijay9483 6 หลายเดือนก่อน

    Mam if G is having high value and i is having low value
    Then what will we do now

  • @NpnewsbNepal
    @NpnewsbNepal 10 หลายเดือนก่อน

    what if with same tree; Node A value is 4 and Node B heuristic value is 12 how to you reach to the goal?

  • @kuswanthsiva
    @kuswanthsiva 2 ปีที่แล้ว +1

    mam how to remember the h(n) values

  • @deva_2022
    @deva_2022 2 ปีที่แล้ว +19

    Mam what if A has less hurestic value than B ? How to go to goal node then ?

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

      Using backshots I mean backtracking

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

      @@kritchaudhary4436 I completed my graduation 2yrs back

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

    Is best first seach the same as breadth first search

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

    sorry U taught that the starting and ending/goal node are always zero. can you please elaborate?

  • @danverd308
    @danverd308 3 ปีที่แล้ว +11

    Hi, this video is very helpful and now I can understand it. But, can you explain on how to know when given state is finite ? I am still confused on this part...

    • @victoronofiok4551
      @victoronofiok4551 2 ปีที่แล้ว +1

      I guess it is finite when you're to consider a given set of nodes
      No matter how small the set is, this search will not carry out evaluation on every node because of the heuristic technique it uses
      That's why it is incomplete

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

    So what is the total cost of the path taken

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

    bravoo

  • @lakshmikaviti9595
    @lakshmikaviti9595 2 ปีที่แล้ว +1

    sister
    how to take that h(n) values

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

    Is it same as like A* Algorithm ?

  • @hibakhan9764
    @hibakhan9764 10 หลายเดือนก่อน

    thank youu

  • @haseebali47
    @haseebali47 4 ปีที่แล้ว +19

    what if C had less heuristic value then F
    for example
    c = 2 and f = 3

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

      Then, Also If we couldn't find the goal node from the least H(n) Path, We'll Backtrack and choose different Path from {Open}, Till we reach Goal (G).

    • @divyasri6469
      @divyasri6469 7 หลายเดือนก่อน

      But in greedy it won't accept backtrack kadha mam

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

    How to take heuristic values mam

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

    💯💯💯💯

  • @HafsaBibi-be5tv
    @HafsaBibi-be5tv 8 วันที่ผ่านมา

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

    thanks

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

    please tell me the fsearch strategies problem siolving methods in artificial intelligence

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

    Mam please explain bfs program using python language mam...?

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

    How to calculate the heuristic value.

  • @srikanthchavala5430
    @srikanthchavala5430 ปีที่แล้ว +50

    How do we consider heuristic values?

    • @itsmesana1288
      @itsmesana1288 11 หลายเดือนก่อน +17

      Take it as own or else they will mention in question

    • @generationaltalent7767
      @generationaltalent7767 11 หลายเดือนก่อน +6

      What if they don't give any values but instead give only the edge values, do we take those values as heuristic values?

    • @itsmesana1288
      @itsmesana1288 11 หลายเดือนก่อน +6

      @@generationaltalent7767 no ,edges values consider as weights or path cost
      If the give values upon the nodes then we can consider as heuristic values.
      If then won't give heuristic values then we have to take by our own

    • @generationaltalent7767
      @generationaltalent7767 11 หลายเดือนก่อน +1

      @@itsmesana1288 Alright thanks a lot

    • @uroojrajpoot7632
      @uroojrajpoot7632 10 หลายเดือนก่อน +3

      What should be the criteria for taking heuristic values by own? What factors should we consider?

  • @lakshmanvinay4648
    @lakshmanvinay4648 4 ปีที่แล้ว +5

    what would be the answer if the heuristic value of I=0 and G=9 and Is it compulsory that goal state must have least value

    • @rickroll4578
      @rickroll4578 4 ปีที่แล้ว +2

      I guess then we have to backtrack...not sure though

    • @olenshofiti3208
      @olenshofiti3208 4 ปีที่แล้ว +1

      The greedy best-first algorithm is incomplete which means that it might NOT find the solution. It does not backtrack. If G was 9 and I was 0 the algorithm would go in an infinite loop. It would go back and forth to F and I.

    • @meghasharma4267
      @meghasharma4267 3 ปีที่แล้ว +4

      Goal ki heuristic value is always 0. Because heuristic value denotes cost to reach goal state.

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

      I guess It would still be the same
      Because the open priority queue sorts the nodes in ascending order
      So the open queue on visiting the successors of node f will be
      [I 0, G 9] (in you case where I=0, G=9)
      Final path will be
      S, B, F, I
      Considering the Least value, because she is trying to find the shortest path to the goal node and the heuristic value of each node states the distance from a node to the goal node.
      This is what i think it is

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

      @@rickroll4578 You are right. That is the reason we have {Open} in the first place.

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

    Is it also called Greedy Best first search??

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

    Is there any way take h(n)

  • @devalorbengbamadozin3210
    @devalorbengbamadozin3210 20 วันที่ผ่านมา

    🙏👍

  • @moseskorrapati
    @moseskorrapati 19 วันที่ผ่านมา

    How to get our h(n) values

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

    what if two nodes have same heuristic value

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

    How to take node values

  • @gauriverma4331
    @gauriverma4331 4 ปีที่แล้ว +1

    Why A is going in Open, B should go cause it has less heuristic value. A should go in close as it's discarded

    • @ai_anisha3118
      @ai_anisha3118 4 ปีที่แล้ว +1

      it is not about A going in open or B is, as we are tracking the path using the heuristic value. obvi the lesser value will be locked /closed. that here the comparing is done. after the node S the open nodes are A or B that A remains open as its heuristic value is greater.

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

    How do u find heurastic value??

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

    How did u decide the heuristic value for each of the node?
    Like y u took h (n) for node S =13 only?
    Y not 5 or any random value?

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

      Think of h() as a function and n is your input. h() could be any function you can think of with certain rules or conditions. When you input n in h() or h(n) you generate a heuristic value. n would probably be a value directly related to the node you're computing the heuristic value for. You use said heuristic value to make comparisons for best-first search. Does that explain it?

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

      @@Dubspez thanks

  • @iamurfacts
    @iamurfacts 6 หลายเดือนก่อน

    What happen if we not find solution

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

    In last video you told that best first search is optimal now you have said that it is not optimal

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

    mam how you have taken h(x) values

    • @moseskorrapati
      @moseskorrapati 19 วันที่ผ่านมา

      Is there any legend to answers this ?

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

    Thankyou madam

  • @dinesh.m7341
    @dinesh.m7341 2 ปีที่แล้ว

    if A had h(4) and B had h(12) then ?

  • @alifarooq296
    @alifarooq296 3 ปีที่แล้ว +5

    Considering heuristically informed search (Best first search). You are required to find straight line distance.
    • Based on the cost we devise paths in the graph for traversing towards the goal node.
    • Priority Queue
    • Initial State
    • If the node is a goal
    Then return the path from initial to node else generate all successor of nodes and put the newly generated node into open according to their f values. Cost is given on the edge of each node path.
    will this question be solved the same as described above??

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

    How to find the H(n) value ?

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

    how to conclude heuristic VALUE?

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

    h (n) values ela tisukunnaru mam

  • @user-sq9jb6ws2v
    @user-sq9jb6ws2v 11 หลายเดือนก่อน

    Always goal state heuristic value is 0 🙃

  • @Dbanj598
    @Dbanj598 8 หลายเดือนก่อน

    Wrong! It is indeed complete because search info is maintained in the open list.

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

    She explained quite confusing

  • @a2zfunbegins273
    @a2zfunbegins273 3 ปีที่แล้ว +2

    What if the value of E is lesser than F

    • @hadjer168
      @hadjer168 2 ปีที่แล้ว +1

      The greedy best-first algorithm is incomplete which means that it might NOT find the solution. What is the case if the value of E is lesser than F.

  • @renliz216
    @renliz216 หลายเดือนก่อน +1

    funny

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

    copy from java point learing site

  • @marouenkadri8771
    @marouenkadri8771 3 ปีที่แล้ว +5

    if we have two nodes having the same H(n) who will be in the closet and who will be continued the process

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

      Probably the reason why the search is incomplete, and may end up in a loop

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

      @@semivainitoba4696 No. In that case also If we couldn't find the goal node from the either one of H(n) Path, We'll Backtrack and choose different Path from {Open}, Till we reach Goal (G).

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

    Mam, kindly get your concepts clear. IN BFS, we use f(n) and in GBFS we use h(n). You showed h(n) in BFS and used it and got me confused and wrong. Kindly correct it.

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

    How to find the heuristic values???

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

      They will. Give in question else u have to learn those values

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

      @@pujithagaddale7171 Thanks

  • @AliKhan-ri5fk
    @AliKhan-ri5fk 6 หลายเดือนก่อน

    Good explanation however work on your accent.

  • @Stussycola
    @Stussycola 6 หลายเดือนก่อน

    why are you always obsessed with S at root node 😂

  • @namansingh7721
    @namansingh7721 3 ปีที่แล้ว +1

    Teach concepts not facts

  • @m.s.panigrahi9515
    @m.s.panigrahi9515 6 หลายเดือนก่อน +8

    Please dont use colour pens 🥲🥲

  • @smritipandey1631
    @smritipandey1631 11 หลายเดือนก่อน +1

    She is not elaborating all main characteristics of every topic… like how to evaluate heuristic value here
    smartly leaving those things
    Also her pronunciation is very poor

  • @subramanimuthu9834
    @subramanimuthu9834 4 ปีที่แล้ว +3

    Nhi samja

  • @user-anuhya
    @user-anuhya 2 ปีที่แล้ว +1

    she keeps copying all this theory from javapoint and explain it. actually, what she explains doesn't seem like explanation but reading. coming to the explanation of problems or examples it's too confusing.

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

      its not copying. She works for javapoint

    • @user-anuhya
      @user-anuhya 2 ปีที่แล้ว

      @@soham4741 ohh , seems like i misunderstood. sorry.

  • @ev.c6
    @ev.c6 3 ปีที่แล้ว

    BRO, everything regarding computers has some indian video. Hahaha

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

      Come and teach and I will be the first person commenting bro everything regarding computers has Indian videos haha 😂

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

      😂😂