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

Example on BFS algorithm (informed search) in artificial intelligence

Пікірлер: 116

  • @ai_anisha3118
    @ai_anisha31184 жыл бұрын

    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 Жыл бұрын

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

  • @deepakjangid3872
    @deepakjangid38722 жыл бұрын

    Nicely explained! Thanks alot.

  • @Ruthviq
    @Ruthviq3 ай бұрын

    By far the best lecture I have ever seen..

  • @tednones219
    @tednones219 Жыл бұрын

    How to calculate the heuristic value.

  • @kavink3495
    @kavink34952 ай бұрын

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

  • @dashengovender766
    @dashengovender7663 жыл бұрын

    Mam you explained this very well, thank you.

  • @kuswanthsiva
    @kuswanthsiva2 жыл бұрын

    mam how to remember the h(n) values

  • @regithamr1782
    @regithamr1782 Жыл бұрын

    Very good lecturing

  • @geekysantosh
    @geekysantosh Жыл бұрын

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

  • @deva_2022
    @deva_20222 жыл бұрын

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

  • @kritchaudhary4436

    @kritchaudhary4436

    4 ай бұрын

    Using backshots I mean backtracking

  • @deva_2022

    @deva_2022

    4 ай бұрын

    @@kritchaudhary4436 I completed my graduation 2yrs back

  • @lakshmikaviti9595
    @lakshmikaviti95952 жыл бұрын

    sister how to take that h(n) values

  • @kaviyasekar2578
    @kaviyasekar2578 Жыл бұрын

    So what is the total cost of the path taken

  • @3dgiftz
    @3dgiftz2 жыл бұрын

    Very much uselful thanks a lot 🙏

  • @PrakashGR7
    @PrakashGR72 жыл бұрын

    Is it same as like A* Algorithm ?

  • @psnaveen8941
    @psnaveen8941 Жыл бұрын

    Is there any way take h(n)

  • @haseebali47
    @haseebali474 жыл бұрын

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

  • @aquarius_gaurav

    @aquarius_gaurav

    2 жыл бұрын

    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

    8 ай бұрын

    But in greedy it won't accept backtrack kadha mam

  • @abdulbasidyau2077
    @abdulbasidyau2077 Жыл бұрын

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

  • @mahendrareddy1905
    @mahendrareddy1905 Жыл бұрын

    How to take heuristic values mam

  • @BhumireddySunilKumarReddy
    @BhumireddySunilKumarReddy Жыл бұрын

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

  • @lakshmanvinay4648
    @lakshmanvinay46484 жыл бұрын

    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 жыл бұрын

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

  • @olenshofiti3208

    @olenshofiti3208

    4 жыл бұрын

    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 жыл бұрын

    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.

  • @moraswiphineas6003
    @moraswiphineas60032 жыл бұрын

    Is best first seach the same as breadth first search

  • @danverd308
    @danverd3083 жыл бұрын

    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 жыл бұрын

    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

  • @srikanthchavala5430
    @srikanthchavala5430 Жыл бұрын

    How do we consider heuristic values?

  • @itsmesana1288

    @itsmesana1288

    Жыл бұрын

    Take it as own or else they will mention in question

  • @generationaltalent7767

    @generationaltalent7767

    Жыл бұрын

    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

    Жыл бұрын

    @@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

    Жыл бұрын

    @@itsmesana1288 Alright thanks a lot

  • @uroojrajpoot7632

    @uroojrajpoot7632

    Жыл бұрын

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

  • @konkipavankonkipavan5286
    @konkipavankonkipavan52862 жыл бұрын

    How to take node values

  • @moseskorrapati
    @moseskorrapati2 ай бұрын

    How to get our h(n) values

  • @varunreddy3282
    @varunreddy3282 Жыл бұрын

    what if two nodes have same heuristic value

  • @yamijalavenkatsairamkamal4756
    @yamijalavenkatsairamkamal4756 Жыл бұрын

    very nice explanation mam

  • @CreativeLife852
    @CreativeLife852 Жыл бұрын

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

  • @thekidscartoons1163
    @thekidscartoons1163 Жыл бұрын

    mam how you have taken h(x) values

  • @moseskorrapati

    @moseskorrapati

    2 ай бұрын

    Is there any legend to answers this ?

  • @jayasuriyaj3010
    @jayasuriyaj30106 ай бұрын

    Is it also called Greedy Best first search??

  • @iamurfacts
    @iamurfacts7 ай бұрын

    What happen if we not find solution

  • @AJ-vq9ym
    @AJ-vq9ym3 жыл бұрын

    well explain

  • @codewithharry11
    @codewithharry112 жыл бұрын

    Thanks alot dear

  • @Janush___
    @Janush___Ай бұрын

    Thankyou mam

  • @lakshyachaturvedi2712
    @lakshyachaturvedi2712 Жыл бұрын

    You have a very sweet voice ma'am 💓

  • @sushmashankar5179
    @sushmashankar51793 жыл бұрын

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

  • @tanushreemondal4539
    @tanushreemondal4539 Жыл бұрын

    How do u find heurastic value??

  • @sahildande515

    @sahildande515

    Жыл бұрын

    Already given in problem

  • @dinesh.m7341
    @dinesh.m73412 жыл бұрын

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

  • @saivijay9483
    @saivijay94837 ай бұрын

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

  • @abishekp1423

    @abishekp1423

    Ай бұрын

    Then you can't solve this problem 😅😂

  • @simple17226
    @simple172262 жыл бұрын

    how to conclude heuristic VALUE?

  • @sravanr2275

    @sravanr2275

    Жыл бұрын

    Same doubt

  • @kaviyaa9610
    @kaviyaa9610 Жыл бұрын

    How to find the H(n) value ?

  • @kavya-fe9un

    @kavya-fe9un

    Жыл бұрын

    Imaginary values

  • @khaledalsayed2557
    @khaledalsayed25572 жыл бұрын

    bravoo

  • @hibakhan9764
    @hibakhan9764 Жыл бұрын

    thank youu

  • @birukgetachew9084
    @birukgetachew90843 ай бұрын

    thanks

  • @gauriverma4331
    @gauriverma43314 жыл бұрын

    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 жыл бұрын

    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.

  • @surapusuma8922
    @surapusuma89223 жыл бұрын

    h (n) values ela tisukunnaru mam

  • @tarunroyvardhan2499

    @tarunroyvardhan2499

    3 жыл бұрын

    Same doubt..

  • @pujithagaddale7171

    @pujithagaddale7171

    2 жыл бұрын

    Exam loo valistaru lekpothe mere nerchukoni povali rayadniki

  • @suryadeeptamazumdar8800
    @suryadeeptamazumdar88002 жыл бұрын

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

  • @ansh3737
    @ansh37373 жыл бұрын

    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 жыл бұрын

    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

  • @devkrishnamk3905
    @devkrishnamk3905 Жыл бұрын

    💯💯💯💯

  • @a2zfunbegins273
    @a2zfunbegins2733 жыл бұрын

    What if the value of E is lesser than F

  • @hadjer168

    @hadjer168

    2 жыл бұрын

    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.

  • @devalorbengbamadozin3210
    @devalorbengbamadozin32102 ай бұрын

    🙏👍

  • @marouenkadri8771
    @marouenkadri87713 жыл бұрын

    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).

  • @HafsaBibi-be5tv
    @HafsaBibi-be5tvАй бұрын

  • @rahulpagidimarri7332
    @rahulpagidimarri73323 жыл бұрын

    Thankyou madam

  • @electrotech7
    @electrotech73 жыл бұрын

    How to find the heuristic values???

  • @pujithagaddale7171

    @pujithagaddale7171

    2 жыл бұрын

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

  • @electrotech7

    @electrotech7

    2 жыл бұрын

    @@pujithagaddale7171 Thanks

  • @Dbanj598
    @Dbanj5989 ай бұрын

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

  • @ayushihota1167
    @ayushihota11673 жыл бұрын

    She explained quite confusing

  • @alifarooq296
    @alifarooq2963 жыл бұрын

    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??

  • @user-sq9jb6ws2v
    @user-sq9jb6ws2v Жыл бұрын

    Always goal state heuristic value is 0 🙃

  • @RRCSafrozalam
    @RRCSafrozalam Жыл бұрын

    copy from java point learing site

  • @renliz216
    @renliz2163 ай бұрын

    funny

  • @URMILASINGHBCE
    @URMILASINGHBCE3 жыл бұрын

    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.

  • @Er.25

    @Er.25

    12 күн бұрын

    Does she explain the concept of GBFS concept?

  • @Er.25

    @Er.25

    12 күн бұрын

    @URMILASINGHBCE I don't know the difference between GBFS And BFS.So only I came here to watch videos.Can you explain the difference between them?

  • @Stussycola
    @Stussycola8 ай бұрын

    why are you always obsessed with S at root node 😂

  • @TechyRakshakold

    @TechyRakshakold

    22 күн бұрын

    And G as Goal Node Always 🙃

  • @subramanimuthu9834
    @subramanimuthu98344 жыл бұрын

    Nhi samja

  • @user-anuhya
    @user-anuhya2 жыл бұрын

    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.

  • @AliKhan-ri5fk
    @AliKhan-ri5fk7 ай бұрын

    Good explanation however work on your accent.

  • @m.s.panigrahi9515
    @m.s.panigrahi95158 ай бұрын

    Please dont use colour pens 🥲🥲

  • @kritchaudhary4436

    @kritchaudhary4436

    4 ай бұрын

    What is your problem 🖕

  • @karthikgururajan1131

    @karthikgururajan1131

    3 ай бұрын

    Equality to all colors, don't be racist

  • @Abinaya956

    @Abinaya956

    17 күн бұрын

    😂

  • @namansingh7721
    @namansingh77213 жыл бұрын

    Teach concepts not facts

  • @smritipandey1631
    @smritipandey1631 Жыл бұрын

    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

  • @ev.c6
    @ev.c63 жыл бұрын

    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 жыл бұрын

    😂😂