Breadth First Search - Part 2

Поділитися
Вставка
  • Опубліковано 5 лют 2018
  • How to make breadth-first search more efficient using a visited set.

КОМЕНТАРІ • 21

  • @azarku
    @azarku 4 роки тому +12

    Thank you so much for the effort you put in your videos, and hopefully, we will see new videos,, I think your videos have the best explanation on youtube

  • @magicadespell81
    @magicadespell81 2 місяці тому +1

    You are a gifted teacher! Thank you!

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

    Best teacher I've ever seen in my life ever

  • @kiavash2283
    @kiavash2283 4 місяці тому

    I am in my last semester of uni! Bless you for this help, 7 min summed up a 50 min lecture

  • @Ryan1NL
    @Ryan1NL 6 років тому +3

    Thank you for your well explained vids!

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

    I just stumbled across your channel while trying to learn about time and space complexity of bidirectional search using BFS for my AI class. It's very clear and well organized. Good job.
    I was curious if you were planning on doing any time and space complexity breakdowns for any of these search algorithms. I'm going to try to break this BFS algorithm down with my understanding of time/space complexity.
    Given a branching factor of b and a solution of depth d, this algorithm has a time efficiency of O(b^(d+1)). If the goal test was applied when the nodes were generated rather than when they were selected for expansion, then the time efficiency would instead be O(b^d). The space efficiency seems to be the same as the time complexity. Also, this version of the BFS technically has the same worst-case scenario as the previous video, but it will obviously be more efficient on average. It would be cool to see an average-case time complexity of the two different algorithms.
    If you are going to do a video on time complexities of BFS, it would be interesting to talk about the version of BFS where the goal state is checked during node generation rather than during node expansion and how this affects the overall performance of the algorithm.

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

    Mr Levine Sir you got the algorithm teaching game on lock!

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

    Your lecture helped me solve my AI assignment I had hitting my head for few days! thanks much..

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

    crystal clear explanation sir!!

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

    Very well explained. Great!
    Comments:
    There is no mention of the queue that supports the search and the size issue associated with it and how it works.
    Why use a new term "visited" and not just stay with "expanded"?

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

    Great video, thank you!

  • @charlesandhisworld
    @charlesandhisworld 5 років тому

    You are a hero

  • @ask4144
    @ask4144 3 роки тому +3

    thank you sir!
    why didn't you check each child node? for example if the goal is one of the childnodes so you stop the search. therefore the visited nodes are S-A Breadth-first search algorithm (Artificial Intelligence A Modern Approach (3rd Edition), p.82 ). thank you again for this video!

  • @tobiasnkhoma6202
    @tobiasnkhoma6202 5 років тому

    Great explainations

  • @user-dy1vm8jt5d
    @user-dy1vm8jt5d 4 роки тому +1

    thanks man, please post more video related to AI

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

    Thank you

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

    Thanks a lot sir.

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

    Thankyou sir

  • @codingskills8827
    @codingskills8827 6 років тому

    love you

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

    guarantee to be the shortest path, not the less cost path

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

    YOU ARE KİNG