Breadth first search algorithm Example | BFS | uninformed | AI | Lec-13 | Bhanu Priya

Поділитися
Вставка
  • Опубліковано 6 січ 2025

КОМЕНТАРІ • 63

  • @getachewmelkam
    @getachewmelkam 2 роки тому +46

    the path is "s a b c d g " in BFS you did by DFS algorithm. why cost is used in BFS it is brute/blind or uninformed algorithm? any ways thankyou.

  • @radhakrishna8003
    @radhakrishna8003 3 роки тому +2

    Thank You Ma'am.God Bless You 🙏🙏🙏

  • @hadjer168
    @hadjer168 3 роки тому +19

    We explore a node only once through an edge not many times, so you're wrong in step 3 and step 4 (there is no step 4 by the way, the algorithm stops at step 3). In step 3, G can be only discovered by node B and then the solution will be S-B-G and the tree will be like :
    at level 0 : S
    at level 1 : A B C (related to S)
    at level 2 : D related to A , G related to B
    Source : ua-cam.com/video/NrQGxfFMYzs/v-deo.html

    • @nahomaraya2377
      @nahomaraya2377 3 роки тому +6

      I cannot speak French so I'll take your word on it for this one

    • @hadjer168
      @hadjer168 3 роки тому

      ​@@nahomaraya2377 the presentation in that video is done by animation so you can only watch it and relate with my words. The animation of the algo starts from 2:00 to 6:53 ==> ua-cam.com/video/NrQGxfFMYzs/v-deo.html

    • @abhijitmanna4524
      @abhijitmanna4524 Рік тому

      yes she is wrong, though she taught correct in data structure playlist, but this is wrong

  • @nickbaib1839
    @nickbaib1839 5 років тому +5

    Thank you so much!
    You upload this video in the best time!

  • @AbinayaV-q1r
    @AbinayaV-q1r 11 місяців тому +1

    Excellent teaching Mam👏👏

    • @SuchahaiHero
      @SuchahaiHero Місяць тому

      Bhai Fail hogya tha ya bach gya tha

  • @aravindvalsarajan3284
    @aravindvalsarajan3284 3 місяці тому +1

    Can we use weights here?, I'm not sure about that.

  • @arpitsharma981
    @arpitsharma981 Рік тому +40

    The solution you gave was for the dfs here but it was asking for bfs so there is a mistake there

    • @kehi19
      @kehi19 Рік тому

      Can u explain pls?

    • @saurav2409
      @saurav2409 Рік тому +5

      No no ,she did it correctly ,that is only the bfs way

    • @krayeldix5827
      @krayeldix5827 8 місяців тому

      ​@@saurav2409ufc3

  • @NigatuAsfewu
    @NigatuAsfewu 7 місяців тому +1

    Exercise: Apply Uninformed Search Strategies to identify optimal path

  • @shashank6753
    @shashank6753 4 роки тому +11

    S,c,b,a,g path should be taken breth wise if we kar moving why we move s,b,g depth

  • @cherryrodriguez6620
    @cherryrodriguez6620 2 роки тому +3

    Thank you for this lecture! you made it easier for me to understand this topic!

  • @thushararavindu7
    @thushararavindu7 Рік тому

    Thank you very much ma'am 😍

  • @chandratheexplorer
    @chandratheexplorer Рік тому

    WOW SOLUTION EXPLAINED

  • @PLstoriesofficial
    @PLstoriesofficial Місяць тому

    While finding a path from a s to g there any need to consider minamal cost

  • @kranthisiriki539
    @kranthisiriki539 3 роки тому +1

    Why should we take weights and what are weights

  • @CDJunainah
    @CDJunainah 2 роки тому

    Hai,, may I know how to arrange the vertex in tree.. what is conditions to arrange them in tree

  • @asitgaming331
    @asitgaming331 2 роки тому +1

    how to elaborate this as answer for 4 marks question in exam.

  • @naelssam8147
    @naelssam8147 4 роки тому +6

    thank u for lecture . I have question . what is difference between tree and graph ?

    • @gokulboopathi901
      @gokulboopathi901 4 роки тому

      A tree is a graph but all graphs are not trees

    • @srinjoyghosh7273
      @srinjoyghosh7273 4 роки тому

      Graphs can be straight lines or a single curve also, but a Tree must have branches.

  • @farhathjahan2951
    @farhathjahan2951 Рік тому +1

    Can you please explain how you gave the "weights" in graph

  • @xpertstrategist2216
    @xpertstrategist2216 3 роки тому +1

    Very well explained thank you very much!

  • @manfredmbedzi8137
    @manfredmbedzi8137 4 роки тому +1

    Thank you. Just one question, since we have a node transverse D - G why don't we have G - D

    • @EveryDaymast
      @EveryDaymast 4 роки тому +2

      Because of breath first search ----->

    • @suneeth_kumar
      @suneeth_kumar 3 роки тому +2

      because our goal state is G so there is no need to visit its neighbouring nodes. that's y there is no G-D

  • @Mr.Bichitra
    @Mr.Bichitra 4 роки тому +3

    why the weights of the edges are not considered?

    • @AHMED-ly2ml
      @AHMED-ly2ml 4 роки тому +3

      This is uninformed search(brute force) it does not take into consideration costs/heuristics

  • @Good-points
    @Good-points 8 місяців тому

    thanks alot

  • @kitchenaryy
    @kitchenaryy Рік тому

    why u didnt take SADG or SBDG ?

  • @arunlohan302
    @arunlohan302 Рік тому +4

    This is DFS or BFS 😂😂😂😅😅😅😅😅😅 i think you confuse

  • @amonishkumar9761
    @amonishkumar9761 4 роки тому

    Thank you mam

  • @Somsom11
    @Somsom11 2 місяці тому

    THX

  • @Regular_guy12
    @Regular_guy12 2 роки тому +2

    I m confused at last, that's not how BFS work!! I mean how came she didn't go breadth wise???? According to rule

  • @sayanghosh6544
    @sayanghosh6544 Рік тому

    Sorry to say, but it's not BFS method what you're talking about.

  • @saishanmukh7831
    @saishanmukh7831 4 роки тому +1

    The path should be SABG ryt

    • @tharaka.karu96
      @tharaka.karu96 4 роки тому +4

      since this is bfs path should be S->A->B->C->D-> G. she didn't concern about the traverse through the levels.

  • @vrishbhansingh2597
    @vrishbhansingh2597 Рік тому

    Atleast tell the reason why we choose those 2 paths no reasons about why we choose that

  • @rishazara415
    @rishazara415 3 роки тому +4

    Ur answer is wrong

  • @gargimohanty955
    @gargimohanty955 2 місяці тому

    The procedure is wrong. This path is for DFS

  • @MrRop-yp3wt
    @MrRop-yp3wt 4 роки тому +10

    horrible explanation

    • @sadathhussain1619
      @sadathhussain1619 3 роки тому

      Mean good or bad?

    • @skh7056
      @skh7056 3 роки тому

      Horrible means bad nehhhh?????

    • @skh7056
      @skh7056 3 роки тому +1

      And even she get answers deapth wise, not breadth wise😕

  • @innercircletradertevision
    @innercircletradertevision 8 місяців тому

    Ok

  • @amals9122
    @amals9122 3 місяці тому

    chechi enike manasilayillaaaa

  • @riyadh5449
    @riyadh5449 Рік тому

    Damn to Hindi accent

  • @Abhishekkumar-wk5nb
    @Abhishekkumar-wk5nb 2 роки тому +6

    Wrong solution

  • @ujjwaljain2421
    @ujjwaljain2421 10 місяців тому

    Lgta h fail krayegi

  • @ahmedabood650
    @ahmedabood650 18 днів тому

    That's is so wrong
    This is not BFS
    this is DFS

  • @AbinayaV-q1r
    @AbinayaV-q1r 11 місяців тому

    Excellent teaching Mam 👏👏

  • @Divya-yv1gs
    @Divya-yv1gs 3 роки тому

    Thank you mam